Vulnerability · Published Jan 22, 2025 · Assigned by redhat

CVE-2025-0604Keycloak-ldap-federation: authentication bypass due to missing ldap bind after password reset in keycloak

Medium 5.4

In plain English

A medium-severity improper authentication in keycloak-ldap-federation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.7%top 46.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in Keycloak. When an Active Directory user resets their password, the system updates it without performing an LDAP bind to validate the new credentials against AD. This vulnerability allows users whose AD accounts are expired or disabled to regain access in Keycloak, bypassing AD restrictions. The issue enables authentication bypass and could allow unauthorized access under certain conditions.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.keycloak:keycloak-ldap-federation26.1.3GHSA-2p82-5wwr-43cw
Mavenorg.keycloak:keycloak-ldap-federation26.0.10GHSA-2p82-5wwr-43cw

Affected products (as reported)

VendorProductVersions
keycloak-ldap-federation 0 – before 26.0.100 – before 26.1.3
Red Hat Red Hat Build of Keycloak see references
Red Hat Red Hat build of Keycloak 26.0 see references
Red Hat Red Hat build of Keycloak 26.0 see references
Red Hat Red Hat build of Keycloak 26.0 see references
Red Hat Red Hat Single Sign-On 7 see references

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

References