CVE-2024-5967Red Hat Build of Keycloak
Low 2.7
Follow: this CVE · Red Hat · Red Hat Build of Keycloak We alert you by email or Slack (account required).
- Priority
- 16
- CVSS 3.1
- 2.7
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 60
- Auth required
- Yes
- Published
- Jun 18, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-276
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Red Hat Build of Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-ldap-federation |
≥ 25.0.0 < 25.0.1 |
25.0.1 |
— |
| Maven | org.keycloak:keycloak-ldap-federation |
< 22.0.12 |
22.0.12 |
— |
| Maven | org.keycloak:keycloak-ldap-federation |
≥ 23.0.0 < 24.0.6 |
24.0.6 |
— |
Per OSV / GitHub Advisories (GHSA-c25h-c27q-5qpv). Check the version in your lockfile before upgrading.
Affected products
- Red Hat · Red Hat Build of Keycloak
- Red Hat · Red Hat build of Keycloak 22
- Red Hat · Red Hat Single Sign-On 7
- Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- Red Hat · RHEL-8 based Middleware Containers
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.