CVE-2025-0604
Java vulnerability analysis and mitigation

Overview

A flaw was discovered in Keycloak (CVE-2025-0604) related to Active Directory password reset functionality. 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 was reported on January 22, 2025, and received a CVSS v3 score of 5.4 (Moderate) (Red Hat CVE).

Technical details

The vulnerability stems from an improper authentication implementation (CWE-287) in Keycloak's LDAP federation component. The core issue is that the system fails to perform an LDAP bind operation to validate new credentials against Active Directory after a password reset. The vulnerability has a CVSS v3 Base Score of 5.4 with the following characteristics: Network attack vector, Low attack complexity, Low privileges required, No user interaction needed, Unchanged scope, and Low impact on both confidentiality and integrity with no impact on availability (Red Hat CVE).

Impact

This vulnerability enables authentication bypass and could allow unauthorized access under specific conditions. Users whose Active Directory accounts are expired or disabled can potentially regain access to Keycloak, effectively bypassing AD restrictions. This creates a security gap where users who should be blocked from accessing the system can circumvent the intended access controls (Red Hat CVE, Bugzilla).

Mitigation and workarounds

The issue has been reported and is currently under investigation. Organizations using Keycloak with Active Directory integration should monitor for updates and patches. As this is a recently disclosed vulnerability, specific mitigation details are pending from the vendor (Red Hat CVE).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management