REDHAT-BUG-2506743: Medium severity Keycloak Keycloak Admin REST API vulnerability
A sensitive information disclosure flaw was found in the Keycloak Admin REST API. The vulnerability exists in the GET /admin/realms/{realm}/clients/{clientUuid}/client-secret/rotated endpoint. When a confidential client is configured to use a vault-backed rotated secret (e.g., using a placeholder like ${vault.rotated-secret}), the endpoint returns the resolved plaintext value from the vault instead of the placeholder string. This issue specifically affects the rotated secret and not the primary client secret. Exploitation requires the attacker to have high privileges, specifically the realm-management:view-clients role. A successful attack allows a delegated administrator to bypass vault security boundaries and obtain usable client credentials, which could be used to impersonate the affected client.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2506743?
The severity of REDHAT-BUG-2506743 is categorized as medium with a risk rating of 4.
How do I fix REDHAT-BUG-2506743?
To fix REDHAT-BUG-2506743, ensure that sensitive client secrets are not exposed through the Keycloak Admin REST API by reviewing your API access configurations.
What type of flaw is REDHAT-BUG-2506743?
REDHAT-BUG-2506743 is a sensitive information disclosure flaw affecting the Keycloak Admin REST API.
Which endpoint is vulnerable in REDHAT-BUG-2506743?
The vulnerable endpoint in REDHAT-BUG-2506743 is GET /admin/realms/{realm}/clients/{clientUuid}/client-secret/rotated.
What software is affected by REDHAT-BUG-2506743?
REDHAT-BUG-2506743 affects the Keycloak Admin REST API.