CVE-2021-3632 Keycloak allows anyone to register new security device or key for any user by using WebAuthn password-less login flow

High 7.5 Published Updated

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.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions15.1.0
org.keycloak:keycloak-core MavenAll versions15.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.

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-qpq9-jpv4-6gwr.

Is CVE-2021-3632 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free