{"schemaVersion":3,"id":"CVE-2024-5967","aliases":["CGA-ggj4-23h2-2fvr","CGA-xw33-8wxw-924p","GHSA-c25h-c27q-5qpv"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-06-18T12:05:39.289Z","modified":"2026-03-26T23:13:52.275Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.7,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":3.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":3.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":3.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00649,"percentile":0.50161,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00649},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00649,"percentile":0.50161}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00649,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00649,"percentile":0.50161}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-276","name":"Incorrect Default Permissions","description":"During installation, installed file permissions are set to allow anyone to modify those files.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/276.html"}],"affected":[{"vendor":"chainguard","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak","purlType":"apk","versions":[{"text":"< 25.0.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.0.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak","purlType":"apk","versions":[{"text":"< 25.0.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.0.1-r0","eol":null,"hubHref":null},{"vendor":"org.keycloak","product":"keycloak-ldap-federation","name":"org.keycloak:keycloak-ldap-federation","label":"keycloak-ldap-federation","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.keycloak/keycloak-ldap-federation","purlType":"maven","versions":[{"text":"≥ 25.0.0, < 25.0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 22.0.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 23.0.0, < 24.0.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 25.0.0, < 25.0.1 | < 22.0.12 | ≥ 23.0.0, < 24.0.6","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6493","label":"access.redhat.com/errata/RHSA-2024:6493","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6494","label":"access.redhat.com/errata/RHSA-2024:6494","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6495","label":"access.redhat.com/errata/RHSA-2024:6495","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6497","label":"access.redhat.com/errata/RHSA-2024:6497","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6499","label":"access.redhat.com/errata/RHSA-2024:6499","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6500","label":"access.redhat.com/errata/RHSA-2024:6500","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6501","label":"access.redhat.com/errata/RHSA-2024:6501","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-5967","label":"access.redhat.com/security/cve/CVE-2024-5967","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2292200","label":"bugzilla.redhat.com/show_bug.cgi?id=2292200","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT","WEB"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","label":"access.redhat.com/downloads/content/package-browser/","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://catalog.redhat.com/software/containers/","label":"catalog.redhat.com/software/containers/","hostname":"catalog.redhat.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5967.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5967.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5967","label":"nvd.nist.gov/vuln/detail/CVE-2024-5967","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/keycloak/keycloak","label":"github.com/keycloak/keycloak","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-c25h-c27q-5qpv","label":"github.com/keycloak/keycloak/security/advisories/GHSA-c25h-c27q-5qpv","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/issues/30434","label":"github.com/keycloak/keycloak/issues/30434","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/commit/0d0530046b9cb4b0d74d2fdefc9bd04f1d20cac0","label":"github.com/keycloak/keycloak/commit/0d0530046b9cb4b0d74d2fdefc9bd04f1d20cac0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/commit/1f56a9e48bf96c3bcb18dfc6cd93e3dd16f281f1","label":"github.com/keycloak/keycloak/commit/1f56a9e48bf96c3bcb18dfc6cd93e3dd16f281f1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak/commit/bde8568d4174a7072f7c7bb507d2c7d05824b1a6","label":"github.com/keycloak/keycloak/commit/bde8568d4174a7072f7c7bb507d2c7d05824b1a6","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["RHSA-2024:6493","RHSA-2024:6494","RHSA-2024:6495"],"duplicates":[],"related":["CGA-25XR-Q758-V6Q8","CGA-5H5W-WG2C-PVJ5","CGA-6V3V-49WC-48MR","CGA-XH72-4X6M-JPFW"]},"timeline":[{"kind":"published","date":"2024-06-18T12:05:39.289Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-26T23:13:52.275Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":11,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:16:58.826Z","stale":false,"partial":false}}