REDHAT-BUG-2509759: Medium severity Keycloak Keycloak Fine-Grained Admin Permissions V2 (FGAP V2) vulnerability
A Broken Access Control vulnerability was identified in Keycloaks Fine-Grained Admin Permissions V2 (FGAP V2) implementation. The flaw exists in the POST /admin/realms/{realm}/users endpoint, where the server fails to validate group membership permissions within the user creation payload. While Keycloak correctly enforces manage-membership scopes for existing users, it misses this check during the initial user creation process. A sub-administrator with user create scope but restricted group manage-membership scope can successfully assign a new user to unauthorized groups by including them in the creation request. Concrete impact: An attacker with sub-admin privileges can elevate the permissions of new users, grant them access to restricted data by placing them in sensitive groups, and bypass the security boundaries established by FGAP V2.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2509759?
The severity of REDHAT-BUG-2509759 is medium, rated at 4.
What type of vulnerability is REDHAT-BUG-2509759?
REDHAT-BUG-2509759 is classified as a Broken Access Control vulnerability.
How does REDHAT-BUG-2509759 affect Keycloak?
REDHAT-BUG-2509759 affects Keycloak by allowing improper permission validation in the user creation process.
How do I fix REDHAT-BUG-2509759?
To fix REDHAT-BUG-2509759, ensure proper validation of group membership permissions in the user creation payload.
What endpoints are affected by REDHAT-BUG-2509759?
The POST /admin/realms/{realm}/users endpoint is affected by REDHAT-BUG-2509759.