Unprotected storage of credentials in Keycloak - CVE-2023-4918

 

Unprotected storage of credentials in Keycloak - CVE-2023-4918

Published: September 12, 2023


Vulnerability identifier: #VU80649
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-4918
CWE-ID: CWE-256
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Keycloak
Affected software:
Keycloak

Detailed vulnerability description

The vulnerability allows a remote user to gain access to other users' credentials.

The vulnerability exists due to application stored credentials in plain text 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. A remote user with ability to view attributes can gain access to sensitive information.


How to mitigate CVE-2023-4918

Install updates from vendor's website.

Sources