{"id":"CVE-2024-5967","summary":"Keycloak: leak of configured ldap bind credentials through the keycloak admin console","details":"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.","aliases":["GHSA-c25h-c27q-5qpv"],"modified":"2026-05-27T03:55:06.995467817Z","published":"2024-06-18T12:05:39.289Z","related":["CGA-6v3v-49wc-48mr"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5967.json","cna_assigner":"redhat","cwe_ids":["CWE-276"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6493"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6494"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6495"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6497"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6499"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6500"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6501"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-5967"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5967.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5967"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2292200"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"0"},{"fixed":"8dccc90db0b1ed6c885973f2baa86ad8507671f9"},{"introduced":"1d4ce3d8e9dbc9af996f9248996c78e145902a35"},{"fixed":"5a6e01a5b1b6074081628658186812978fcdfadc"},{"introduced":"5279b7f4530afc3c05699a2d8bbcdd18f557b6a9"},{"fixed":"6a22f31b812ce68735373b1a0b047b75958f0b64"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"22.0.12"},{"introduced":"23.0.0"},{"fixed":"24.0.6"},{"introduced":"25.0.0"},{"fixed":"25.0.1"}],"source":"AFFECTED_FIELD"}}],"versions":["2.4.0.Test","1.3.0.Final","1.1.0.Beta2","1.0.0.Final","1.0-final","1.0-rc-1","1.0-beta-4","1.0-beta-2","1.0-beta-1","1.0-alpha-3","1.0-alpha-2","1.0-alpha-1","1.0-alpha-1-12062013"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-5967.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"}]}