Keycloak-services: keycloak-services: conditional otp skip-header policy evaluated against untrusted proxy headers
Red Hat build of Keycloak 26.6.8 · Red Hat Single Sign-On 7
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat build of Keycloak 26.6.8 | — | No fix yet |
| Red Hat Red Hat build of Keycloak 26.6.8 | — | No fix yet |
| Red Hat Red Hat Single Sign-On 7 | — | No fix yet |
Original description
A flaw was found in the Conditional OTP authenticator of Keycloak, an identity and access management solution. The issue occurs when the system evaluates specific HTTP headers to determine if a one-time password (OTP) should be skipped, but fails to verify if those headers came from a trusted source. This could allow an attacker who already has a user's password to bypass the second-factor authentication by providing a specially crafted header in their request.
From the CVE record · redhat