CVE-2024-5967 - CVE House
Back to Database
Status published Low CVE-2024-5967

Keycloak: leak of configured ldap bind credentials through the keycloak admin console

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-5967

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Upstream acknowledges Simon Wessling as the original reporter.

Affected Vendor

Affected Software

Red Hat Build of Keycloak, Red Hat build of Keycloak 22, Red Hat Single Sign-On 7, Red Hat Single Sign-On 7.6 for RHEL 7, Red Hat Single Sign-On 7.6 for RHEL 8, Red Hat Single Sign-On 7.6 for RHEL 9, RHEL-8 based Middleware Containers
Vulnerable Versions:
0, 23.0.0, 25.0.0, 22.0.12-1, 22-17, 22-20, 0:18.0.16-1.redhat_00001.1.el7sso, 0:18.0.16-1.redhat_00001.1.el8sso, 0:18.0.16-1.redhat_00001.1.el9sso, 7.6-52

Timeline

Official Publish: June 18th, 2024
Last Modified: March 26th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

Weaknesses (CWE)