Improper Authorizationorg.keycloak:keycloak-authz-policy-common is a KeyCloak AuthZ: Common Policy Providers
Affected versions of this package are vulnerable to Improper Authorization via the group policy provider in GroupPolicyProvider.java. An attacker can gain unauthorized access to protected resources by using a token or identity that carries only a group name, then matching a same-named group on a different path that the policy should not allow. The vulnerable evaluation logic accepts exact name matches when a claim does not encode the full group path, so a user in an unrelated homonymous group can satisfy a group-based policy intended for another group. This breaks fine-grained access control for resources protected by group policies in realms that contain duplicate group names under different branches.
How to fix Improper Authorization? A fix was pushed into the master branch but not yet published.
| |
Incorrect Authorizationorg.keycloak:keycloak-authz-policy-common is a KeyCloak AuthZ: Common Policy Providers
Affected versions of this package are vulnerable to Incorrect Authorization in GroupPolicyProvider in the authorization policy provider. An attacker can bypass extendChildren group-based access checks by joining a different group whose path shares the same text prefix as the protected group, causing unauthorized access to administrative functions or protected resources. The flaw affects authorization decisions for group policies that extend permissions to child groups, where a raw prefix match can treat a sibling group as a valid member of the protected subtree. This lets a user satisfy a policy without belonging to the intended group hierarchy, breaking access control for affected realms and resources.
How to fix Incorrect Authorization? A fix was pushed into the master branch but not yet published.
| |