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.
Remediation
References
https://access.redhat.com/security/cve/CVE-2023-4918
https://bugzilla.redhat.com/show_bug.cgi?id=2238588
https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35
Related Vulnerabilities
CVE-2019-1003071 Vulnerability in maven package hudson.plugins.octopusdeploy:octopusdeploy
CVE-2023-32688 Vulnerability in npm package @parse/push-adapter
CVE-2020-1942 Vulnerability in maven package org.apache.nifi:nifi-security-utils
CVE-2020-25633 Vulnerability in maven package org.jboss.resteasy:resteasy-client-microprofile
CVE-2021-27644 Vulnerability in maven package org.apache.dolphinscheduler:dolphinscheduler-server