REDHAT-BUG-2418330: Low severity Keycloak Keycloak Admin API vulnerability
The Keycloak Admin API (/unmanagedAttributes) endpoint fails to respect the visibility configuration defined in the User Profile settings. This allows an administrator with limited privileges (specifically the view-users role) to retrieve sensitive custom attributes—such as phone numbers or personal addresses—that are explicitly configured to be hidden from both users and administrators in the GUI.
Requirements to exploit
The attacker must have a valid account on the realm. The attacker must have the view-users role (considered an admin privilege). The target realm must use the User Profile feature with custom attributes set to restricted visibility. Component affected: org.keycloak.services.resources.admin
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2418330?
The severity of REDHAT-BUG-2418330 is considered high due to the potential exposure of sensitive user attributes.
How does REDHAT-BUG-2418330 affect Keycloak Admin API users?
REDHAT-BUG-2418330 allows a limited-privilege administrator to access sensitive user information that should be restricted.
What are the potential risks associated with REDHAT-BUG-2418330?
The potential risks include unauthorized access to personal user information, leading to privacy violations and trust issues.
How do I mitigate the risks of REDHAT-BUG-2418330?
To mitigate the risks of REDHAT-BUG-2418330, it is recommended to restrict access permissions and apply any available patches from Keycloak.
What version of Keycloak does REDHAT-BUG-2418330 affect?
REDHAT-BUG-2418330 affects the Keycloak Admin API and does not specify a particular version in the description.