Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in the Keycloak keycloak-services component. The UMA permission grant implementation using the urn:ietf:params:oauth:grant-type:uma-ticket grant type accepts an OIDC ID token as a claim token but fails to correctly validate the subject account status and session state. Specifically, the implementation contains an inverted session-validity check, fails to verify if the user account is enabled, and incorrectly accepts offline sessions in place of online ones. An attacker who possesses valid confidential client credentials and a previously obtained, unexpired ID token can exploit this to mint fresh Requesting Party Tokens RPTs. This allows the attacker to maintain access to protected resources after an administrator has disabled the user account or after the user SSO session has reached its maximum lifespan or idle timeout.