CVE-2020-10686 Keycloak users may be able to remove MFA from other users' devices

Medium 4.1 Published Updated

Attackers can remove MFA devices for other users by manipulating credential IDs in the device removal form, bypassing authentication requirements.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-10686?

CVE-2020-10686 is a medium-severity missing authorization vulnerability in Redhat Keycloak, published on 4 May 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A flaw was found in Keycloak version 8.0.2 and 9.0.0, and was fixed in Keycloak version 9.0.1, where a malicious user registers as oneself. The attacker could then use the remove devices form to post different credential IDs and possibly remove MFA devices for other users.

Weakness: CWE-285

Which versions are affected by CVE-2020-10686?

2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 1 product.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions9.0.2
org.keycloak:keycloak-core MavenAll versions9.0.2

Products include Redhat Keycloak.

How do I fix CVE-2020-10686?

Upgrade org.keycloak:keycloak-core to 9.0.2 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2020-10686 being exploited?

There is no known exploitation of CVE-2020-10686 in the wild and no public exploit code.

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-9695-w6h2-jpv9.

Is CVE-2020-10686 in your software?

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

Check your SBOMs for free