CVE-2021-3632 Keycloak allows anyone to register new security device or key for any user by using WebAuthn password-less login flow
Attackers can register unauthorized security devices via WebAuthn when no device exists, potentially leading to account takeover in Keycloak.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-3632?
CVE-2021-3632 is a high-severity authentication bypass vulnerability in Redhat Keycloak, published on 26 Aug 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A flaw was found in Keycloak. This vulnerability allows anyone to register a new security device or key when there is not a device already registered for any user by using the WebAuthn password-less login flow.
Weakness: CWE-287
Which versions are affected by CVE-2021-3632?
2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-core Maven | All versions | 15.1.0 |
org.keycloak:keycloak-core Maven | All versions | 15.1.0 |
Products include Redhat Keycloak, Redhat Single Sign-On.
How do I fix CVE-2021-3632?
Upgrade org.keycloak:keycloak-core to 15.1.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-3632 being exploited?
There is no known exploitation of CVE-2021-3632 in the wild and no public exploit code.
Other vulnerabilities in Redhat Keycloak
- CVE-2022-4361 Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC
- CVE-2022-1245 Keycloak vulnerable to privilege escalation on Token Exchange feature
- CVE-2021-20195 keycloak Self Stored Cross-site Scripting vulnerability
- CVE-2019-14910 Keycloak Authentication Error
- CVE-2019-14909 Keycloak Authentication Error
Sources
Also known as GHSA-qpq9-jpv4-6gwr.