GHSA-5q66-v53q-pm35
Keycloak vulnerable to Plaintext Storage of User Password
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2023-4918
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Maven · org.keycloak:keycloak-core | introduced 22.0.2, fixed 22.0.3 |
Références
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35 WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-4918 ADVISORY
- https://access.redhat.com/security/cve/CVE-2023-4918 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2238588 WEB
- https://github.com/keycloak/keycloak PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |