GHSA-5q66-v53q-pm35
Dashboard / Vulnerabilities / GHSA-5q66-v53q-pm35
Summary: Keycloak vulnerable to Plaintext Storage of User Password
Details: A flaw was discovered in Keycloak Core package. When a user registers itself through registration flow, the "password" and "password-confirm" field from the form will occur as regular attributes in the users attributes. The password is also created, but the user attributes must not be there. This way, any entities (all users and clients with proper rights/roles) are able to retrieve the users passwords in clear-text. ### Impact Passwords for self-registered users are stored as cleartext attributes associated with the user. ### Mitigation Disable self-registration for users in all realms until patched.
References: https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35, https://nvd.nist.gov/vuln/detail/CVE-2023-4918, https://access.redhat.com/security/cve/CVE-2023-4918, https://bugzilla.redhat.com/show_bug.cgi?id=2238588, https://github.com/keycloak/keycloak
Affected packages
Package
Name: org.keycloak:keycloak-core
Purl: pkg:maven/org.keycloak/keycloak-core
Affected ranges
Type: ECOSYSTEM
Events:
