cve.bz

CVE-2024-5967

2.7 lowEPSS 0.6%

Low (2.7). EPSS 0.6% chance of exploitation in the next 30 days. Fixed in org.keycloak:keycloak-ldap-federation 22.0.12, 24.0.6, 25.0.1.

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.

Severity

CVSS 3.1

2.7 low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
EPSS
0.6% chance of exploitation in the next 30 days; higher than 51% of CVEs (scores of 2026-10-31)
CWE
CWE-276
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c25h-c27q-5qpvMavenorg.keycloak:keycloak-ldap-federation>=25.0.0 <25.0.125.0.1
GHSA-c25h-c27q-5qpvMavenorg.keycloak:keycloak-ldap-federation<22.0.1222.0.12
GHSA-c25h-c27q-5qpvMavenorg.keycloak:keycloak-ldap-federation>=23.0.0 <24.0.624.0.6

References

Check your stackJSON