{"id":"CVE-2024-5967","published":"2024-06-18T12:05:39Z","modified":"2026-03-26T23:13:52Z","title":"Keycloak: leak of configured ldap bind credentials through the keycloak admin console","vendor":"Red Hat","product":"Red Hat Build of Keycloak","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00649,"percentile":0.52068,"provenance":"source"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6493","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6494","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6495","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6497","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6499","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6500","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6501","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-5967","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2292200","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":10.41},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 22.0.12",">= 23.0.0, < 24.0.6",">= 25.0.0, < 25.0.1"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-18T15:10:07.326821Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-ldap-federation","vulnerableRanges":[">=25.0.0, <25.0.1","<22.0.12",">=23.0.0, <24.0.6"],"patched":["25.0.1","22.0.12","24.0.6"],"from":["GHSA-c25h-c27q-5qpv"],"provenance":"source"}],"summary":{"text":"The Keycloak admin console's LDAP connection test endpoint in Red Hat Build of Keycloak lets the Connection URL be changed without re-entering the saved LDAP bind credentials. An attacker who has network access to the admin console and holds a high-privilege account (manage-realm permission) can point the URL at a host they control, causing the server to send the stored bind credentials to that host, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:39Z"},"euvd":{"id":"EUVD-2024-2011","exploited":false,"provenance":"source"}}