CVE-2025-0604
Keycloak-ldap-federation: authentication bypass due to missing ldap bind after password reset in keycloak
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.keycloak:keycloak-ldap-federation | >= 26.1.0, < 26.1.3 | 26.1.3 |
Betroffene Produkte · Red Hat
| Produkt | Betroffene Versionen |
|---|---|
| Red Hat Build of Keycloak | Alle Versionen |
| Red Hat build of Keycloak 26.0 | Versionen patch: 26.0-12, patch: 26.0.10-3, patch: 26.0-11 |
| Red Hat Single Sign-On 7 | Alle Versionen |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://access.redhat.com/errata/RHSA-2025:2544
- https://access.redhat.com/errata/RHSA-2025:2545
- https://access.redhat.com/security/cve/CVE-2025-0604
- https://bugzilla.redhat.com/show_bug.cgi?id=2338993
- https://github.com/advisories/GHSA-2p82-5wwr-43cw
- https://github.com/keycloak/keycloak/security/advisories/GHSA-2p82-5wwr-43cw
- https://nvd.nist.gov/vuln/detail/CVE-2025-0604