Description
A flaw was found in the Keycloak package, more specifically org.keycloak.userprofile. When a user registers itself through registration flow, the "password" and "password-confirm" field from the form will occur as regular user attributes. All users and clients with proper rights and roles are able to read users attributes, allowing a malicious user with minimal access to retrieve the users passwords in clear text, jeopardizing their environment.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | keycloak | — |
| Red Hat | Red Hat Single Sign-On 7 | — |
References
- https://access.redhat.com/security/cve/CVE-2023-4918Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2238588Issue Tracking, Vendor Advisory
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-4918Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2238588Issue Tracking, Vendor Advisory
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35Vendor Advisory
Timeline
- Published
- Sep 12, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified