CVE-2024-5967
lowpriority · track · 0OT risk · elevatedEPSS 0.006 · 51 %ileDEEUUSEPSS · scored 2026-10-27
A vulnerability was found in Keycloak. The LDAP testing endpoint allows changing the Connection URL independently without re-entering the currently configured LDAP bind credentials. This flaw allows an attacker with admin access (permission manage-realm) to change the LDAP host URL ("Connection URL") to a machine they control. The Keycloak server will connect to the attacker's host and try to authenticate with the configured credentials, thus leaking them to the attacker. As a consequence, an attacker who has compromised the admin console or compromised a user with sufficient privileges can leak domain credentials and attack the domain.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (13)
Products and version ranges known to be affected.
- Maven org.keycloak:keycloak-ldap-federation< 22.0.12osvUSpkg:maven/org.keycloak/keycloak-ldap-federation
- Maven org.keycloak:keycloak-ldap-federation23.0.0 → 24.0.6osvUSpkg:maven/org.keycloak/keycloak-ldap-federation
- Maven org.keycloak:keycloak-ldap-federation25.0.0 → 25.0.1osvUSpkg:maven/org.keycloak/keycloak-ldap-federation
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1403Keycloak: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2024-06-18csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Keycloak ausnutzen, um Informationen offenzulegen.
- GHSA-c25h-c27q-5qpvKeycloak leaks configured LDAP bind credentials through the Keycloak admin console2024-06-21ghsa · osvUS
### Impact The LDAP testing endpoint allows to change the Connection URL independently of and without having to re-enter the currently configured LDAP bind credentials. An attacker with admin access (permission manage-realm) can change the LDAP host URL ("Connection URL") to a machine they control. The Keycloak server will connect to the attacker's host and try to authenticate with the configured credentials, thus leaking them to the attacker. As a consequence, an attacker who has compromised the admin console/compromised a user with sufficient privileges can leak domain credentials and can now attack the domain. ### Acknowledgements Special thanks to Simon Wessling for reporting this issue and helping us improve our project
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2024-5967cnnvd
- https://access.redhat.com/security/cve/cve-2024-5967cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2292200cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-5967/cnnvd
- https://vigilance.fr/vulnerability/Keycloak-information-disclosure-via-Admin-Console-44540cnnvd
- https://access.redhat.com/errata/RHSA-2024:6493enisa_euvd
- https://access.redhat.com/errata/RHSA-2024:6494enisa_euvd
- https://access.redhat.com/errata/RHSA-2024:6495enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan