REDHAT-BUG-2455329: Medium severity Red Hat Keycloak vulnerability
Authentication / credential-enrollment vulnerability in Keycloak’s handling of ExecuteActionsActionToken for WebAuthn flows. The flaw is caused by canUseTokenRepeatedly() treating tokens as reusable when required actions do not mark themselves as one-time, so tokens containing WEBAUTHNREGISTER or WEBAUTHNPASSWORDLESSREGISTER can be replayed within their validity window. When an attacker gains access to an execute-actions email link, they can complete WebAuthn registration with their own authenticator on the victim’s account before the victim uses it. This can be exploited remotely when WebAuthn required actions are enabled and the link is obtained via email interception, log leakage, or mailbox compromise. Successful exploitation results in unauthorized enrollment of a hardware-backed credential, enabling stealthy and persistent account takeover.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2455329?
The severity of REDHAT-BUG-2455329 is medium with a score of 4.
What is the description of REDHAT-BUG-2455329?
REDHAT-BUG-2455329 refers to an authentication and credential-enrollment vulnerability in Keycloak's handling of ExecuteActionsActionToken for WebAuthn flows.
How do I fix REDHAT-BUG-2455329?
To fix REDHAT-BUG-2455329, ensure that required actions are correctly marked as one-time to prevent tokens from being reused.
What software is affected by REDHAT-BUG-2455329?
The vulnerability REDHAT-BUG-2455329 affects Red Hat Keycloak.
What causes the vulnerability in REDHAT-BUG-2455329?
The vulnerability in REDHAT-BUG-2455329 is caused by the canUseTokenRepeatedly() function incorrectly treating tokens as reusable when the required actions do not specify they are one-time.