CVE-2024-5967
published low CVSS 3.1 · 2.7Keycloak: leak of configured ldap bind credentials through the keycloak admin console
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | keycloak0 to < 22.0.12 · 23.0.0 to < 24.0.6 · 25.0.0 to < 25.0.1 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat | — | keycloak-coreRed Hat Build of Keycloak | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 22 · 22.0.12-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 22 · 22-17 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 22 · 22-20 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 7 · 0:18.0.16-1.redhat_00001.1.el7sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 8 · 0:18.0.16-1.redhat_00001.1.el8sso and later · Other versions: affected | Unaffected | Not stated | redhat |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 9 · 0:18.0.16-1.redhat_00001.1.el9sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso-7/sso76-openshift-rhel8RHEL-8 based Middleware Containers · 7.6-52 and later · Other versions: affected | Unaffected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.7 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| keycloak | 0 to < 22.0.12 (affected · semver)23.0.0 to < 24.0.6 (affected · semver)25.0.0 to < 25.0.1 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat Build of Keycloak | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 22 | 22.0.12-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 22 | 22-17 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 22 | 22-20 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | 0:18.0.16-1.redhat_00001.1.el7sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | 0:18.0.16-1.redhat_00001.1.el8sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.16-1.redhat_00001.1.el9sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | RHEL-8 based Middleware Containers | 7.6-52 and later (unaffected · rpm)Default: affected | redhat · cna |
Weaknesses
1- CWE-276 Incorrect Default Permissions
References
9- RHSA-2024:6493 https://access.redhat.com/errata/RHSA-2024:6493
- RHSA-2024:6494 https://access.redhat.com/errata/RHSA-2024:6494
- RHSA-2024:6495 https://access.redhat.com/errata/RHSA-2024:6495
- RHSA-2024:6497 https://access.redhat.com/errata/RHSA-2024:6497
- RHSA-2024:6499 https://access.redhat.com/errata/RHSA-2024:6499
- RHSA-2024:6500 https://access.redhat.com/errata/RHSA-2024:6500
- RHSA-2024:6501 https://access.redhat.com/errata/RHSA-2024:6501
- https://access.redhat.com/security/cve/CVE-2024-5967
- RHBZ#2292200 https://bugzilla.redhat.com/show_bug.cgi?id=2292200
Provider assertions
3redhat · cna
Keycloak: leak of configured ldap bind credentials through the keycloak admin console
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d23edbb59a56aff54dd5ee99723e222c3cec08b673883dd50e2fe9f6722efb3b
- Ingested
- 23 Sep 2026, 08:33:03 UTC
- Source record
- Official CVE record