Low severity · published Jun 18, 2024
CVE-2024-5967
Keycloak: leak of configured ldap bind credentials through the keycloak admin console
2.7
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RB
RHEL-8 based Middleware Containers · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Single Sign-On 7.6 for RHEL 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Single Sign-On 7.6 for RHEL 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Single Sign-On 7.6 for RHEL 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 22 · Red Hat
All versions, or not specified · source: vendor
Affected product
RH
Red Hat build of Keycloak 22
Red Hat
More from Red Hat build of Keycloak 22
8.8
CVE-2023-6787
Keycloak: session hijacking via re-authentication
8.1
CVE-2024-1132
Keycloak: path transversal in redirection validation
7.7
CVE-2024-8698
Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak
7.5
CVE-2024-4540
Keycloak: exposure of sensitive information in pushed authorization requests (par) kc_restart cookie
7.4
CVE-2024-1249
Keycloak: org.keycloak.protocol.oidc: unvalidated cross-origin messages in checkloginiframe leads to ddos