CyberRota Analysis
AI-GeneratedA vulnerability exists in Keycloak's Dynamic Client Registration (DCR) that allows an attacker with client registration privileges to exploit the "Allowed Protocol Mapper Types" policy. By initially registering a permitted mapper type and later substituting it with a high-privilege mapper type, the attacker can gain full administrative access to the Keycloak realm. Organizations utilizing Keycloak for identity and access management should prioritize addressing this flaw to prevent unauthorized access and potential compromise of their systems.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
A flaw was found in Keycloak's Dynamic Client Registration (DCR) security policy management. The "Allowed Protocol Mapper Types" policy, which restricts which types of data mappers a client can use, fails to re-validate the mapper type during a client update if the mapper's configuration remains unchanged. An attacker with client registration privileges can exploit this by first registering an allowed mapper type with a malicious configuration and then swapping it for a restricted, high-privilege mapper type (such as one that hardcodes administrative roles). This allows the attacker to gain full administrative access to the Keycloak realm.
Related CVEs
Other vulnerabilities affecting the same vendor(s)