Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-core
  4. ›
  5. CVE-2024-5967

CVE-2024-5967: Keycloak: Leak of configured LDAP bind credentials

June 18, 2024

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.

References

  • access.redhat.com/security/cve/CVE-2024-5967
  • bugzilla.redhat.com/show_bug.cgi?id=2292200
  • github.com/advisories/GHSA-gmrm-8fx4-66x7
  • github.com/keycloak/keycloak
  • nvd.nist.gov/vuln/detail/CVE-2024-5967

Code Behaviors & Features

Detect and mitigate CVE-2024-5967 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 24.0.5

Solution

Unfortunately, there is no solution available yet.

Impact 2.7 LOW

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

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions

Source file

maven/org.keycloak/keycloak-core/CVE-2024-5967.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:56 +0000.