CVE-2024-5967
LOW 2.7CVSS 3.1Keycloak leaks configured LDAP bind credentials through the Keycloak admin console
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.
- Published
- 18 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-276
- Also known as
- GHSA-c25h-c27q-5qpv
- Sources
- NVDJSONOSV GHSA-c25h-c27q-5qpvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | LOW 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.keycloak:keycloak-ldap-federation | >= 25.0.0, < 25.0.1 | 25.0.1 |
| OSV | Maven | org.keycloak:keycloak-ldap-federation | < 22.0.12 | 22.0.12 |
| OSV | Maven | org.keycloak:keycloak-ldap-federation | >= 23.0.0, < 24.0.6 | 24.0.6 |
References
- https://access.redhat.com/errata/RHSA-2024:6493
- https://access.redhat.com/errata/RHSA-2024:6494
- https://access.redhat.com/errata/RHSA-2024:6495
- https://access.redhat.com/errata/RHSA-2024:6497
- https://access.redhat.com/errata/RHSA-2024:6499
- https://access.redhat.com/errata/RHSA-2024:6500
- https://access.redhat.com/errata/RHSA-2024:6501
- https://access.redhat.com/security/cve/CVE-2024-5967 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2292200 · WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-c25h-c27q-5qpv · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-5967 · ADVISORY
- https://github.com/keycloak/keycloak/issues/30434 · WEB
- https://github.com/keycloak/keycloak/commit/0d0530046b9cb4b0d74d2fdefc9bd04f1d20cac0 · WEB
- https://github.com/keycloak/keycloak/commit/1f56a9e48bf96c3bcb18dfc6cd93e3dd16f281f1 · WEB
- https://github.com/keycloak/keycloak/commit/bde8568d4174a7072f7c7bb507d2c7d05824b1a6 · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 18 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jun 2024)