CVE-2024-5967Keycloak: leak of configured ldap bind credentials through the keycloak admin console
- 2.7LowCVSS base score
- 0.65%Exploitation in 30 daysEPSS · top 48% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By redhat
- 5 days later
· 5 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Low2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Low2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.65% · top 48% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.7.
Affected products
keycloak
- affected < 22.0.12
- affected 23.0.0 – < 24.0.6
- affected 25.0.0 – < 25.0.1
Red Hat · Red Hat Build of Keycloak
All versions: unaffected
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.12-1 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-17 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-20 – < *
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.16-1.redhat_00001.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.16-1.redhat_00001.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.16-1.redhat_00001.1.el9sso – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-52 – < *
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-ldap-federationGHSA-c25h-c27q-5qpv (opens in a new tab)
What to do
Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References
References9
- RHSA-2024:6493 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6494 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6495 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6497 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6499 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6500 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6501 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-5967 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2292200 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-2011 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-c25h-c27q-5qpv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-5967)Record last updated .