{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-5967","id":"CVE-2024-5967","title":"Keycloak: leak of configured ldap bind credentials through the keycloak admin console","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 aut","descriptionLong":"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.","published":"2024-06-18T12:05:39.289Z","updated":"2026-11-17T07:01:47.820309508Z","reserved":"2024-06-13T12:33:44.661Z","status":"Deferred","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"redhat"},"metrics":[{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"redhat"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"redhat.com"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["keycloak","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","Red Hat RHEL-8 based Middleware Containers"],"affectedProducts":[{"vendor":"","product":"keycloak","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"22.0.12","versionType":"semver"},{"status":"affected","version":"23.0.0","lessThan":"24.0.6","versionType":"semver"},{"status":"affected","version":"25.0.0","lessThan":"25.0.1","versionType":"semver"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","defaultStatus":"affected","versions":[{"version":"22.0.12-1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","defaultStatus":"affected","versions":[{"version":"22-17","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","defaultStatus":"affected","versions":[{"version":"22-20","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","defaultStatus":"affected","versions":[{"version":"0:18.0.16-1.redhat_00001.1.el7sso","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","defaultStatus":"affected","versions":[{"version":"0:18.0.16-1.redhat_00001.1.el8sso","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","defaultStatus":"affected","versions":[{"version":"0:18.0.16-1.redhat_00001.1.el9sso","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","defaultStatus":"affected","versions":[{"version":"7.6-52","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-ldap-federation","purl":"pkg:maven/org.keycloak/keycloak-ldap-federation","ranges":[">=25.0.0 <25.0.1","<22.0.12",">=23.0.0 <24.0.6"],"fixed":["25.0.1","22.0.12","24.0.6"],"advisory":"GHSA-c25h-c27q-5qpv"}],"cwes":["CWE-276"],"aliases":["GHSA-c25h-c27q-5qpv"],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6493","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6494","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6495","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6497","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6499","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6500","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6501","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-5967","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2292200","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","report","web"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://catalog.redhat.com/software/containers/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5967.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5967","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-c25h-c27q-5qpv","tags":["web"]},{"url":"https://github.com/keycloak/keycloak/issues/30434","tags":["web"]},{"url":"https://github.com/keycloak/keycloak/commit/0d0530046b9cb4b0d74d2fdefc9bd04f1d20cac0","tags":["web"]},{"url":"https://github.com/keycloak/keycloak/commit/1f56a9e48bf96c3bcb18dfc6cd93e3dd16f281f1","tags":["web"]},{"url":"https://github.com/keycloak/keycloak/commit/bde8568d4174a7072f7c7bb507d2c7d05824b1a6","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00649,"epssPercentile":0.51927,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-5967","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5967","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-5967","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c25h-c27q-5qpv","ok":true,"note":"GHSA-c25h-c27q-5qpv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-5967","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}