CVE-2020-10686 Keycloak users may be able to remove MFA from other users' devices
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.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-core Maven | All versions | 9.0.2 |
org.keycloak:keycloak-core Maven | All versions | 9.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.
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-9695-w6h2-jpv9.