Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-5967 — keycloak-ldap-federation

🟢 CVSS 2.7 — Low ✅ No Known Exploit CWE-276 NVD
2.7
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Keycloak leaks configured LDAP bind credentials through the Keycloak admin console

Impact

The LDAP testing endpoint allows to change the Connection URL independently of and without having to re-enter the currently configured LDAP bind credentials. An attacker with admin access (permission manage-realm) can 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/compromised a user with sufficient privileges can leak domain credentials and can now attack the domain.

Acknowledgements

Special thanks to Simon Wessling for reporting this issue and helping us improve our project

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs administrative privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: High — administrative rights are needed first.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: None.
  • Availability impact: None.

Weakness class

CVE-2024-5967 is classified as CWE-276: Incorrect Default Permissions. Files or resources are created with permissions that are broader than they need to be.

Affected software

CVE-2024-5967 is recorded against 2 packages.

  • org.keycloak:keycloak-ldap-federation (from 23.0.0 up to 24.0.6)
  • unknown

Timeline and source

Published on 21 June 2024 and last revised on 4 February 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
access.redhat.com (Web)
bugzilla.redhat.com (Web)
github.com (Package)

Other advisories for this package

org.keycloak:keycloak-ldap-federation has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-276: Incorrect Default Permissions) in other software:

Details

Severity LOW
CVSS Score 2.7
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
CWE CWE-276
Public Exploit ✅ No
Source NVD
Published 2024-06-21
Updated 2026-08-20
Modified 2026-02-04
Fix URL N/A

Affected Packages

Software From version Fixed in
org.keycloak:keycloak-ldap-federation 23.0.0 24.0.6
unknown — —

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2024-5967?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2024-5967 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓