A flaw was found in the Dynamic Client Registration (DCR) component of Keycloak, an identity and access management solution. The default DCR policy fails to properly validate the claim path for User Property mappers, allowing them to write values to sensitive internal claim locations. An attacker with a standard user account and a limited Initial Access Token can exploit this to forge administrative roles in their access token. This allows the attacker to take over other clients, steal confidential secrets, and potentially gain full administrative control over the realm.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NRed Hat Build Of Keycloak
APPRedhat26.4 – 26.4.14 (excl.)26.6 – 26.6.5 (excl.)Red Hat Data Grid
APPRedhat8.0Red Hat Jboss Enterprise Application Platform Expansion Pack
APPRedhatall versionsRed Hat Single Sign On
APPRedhat7.0
Related vulnerabilities
Brak walidacji nagłówka Host w serwerze Undertow HTTP
XSS w Keycloak — podatność w obsłudze SAML/OIDC umożliwia wykonanie złośliwych skryptów
Pominięcie uwierzytelnienia REST w Red Hat DataGrid i Infinispan
Wildfly: ignorowanie 'enabled-protocols' umożliwia TLS downgrade
Keycloak: przejęcie konta przez domenę placeholder.org przed wersją 8.0.0