CVE-2021-3424 Keycloak is vulnerable to IDN homograph attack
Attackers can use IDN homograph attacks to impersonate users and trick admins into granting extra privileges in Keycloak.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3424?
CVE-2021-3424 is a medium-severity authentication bypass vulnerability in Redhat Single Sign-On, published on 1 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw was found in keycloak as shipped in Red Hat Single Sign-On 7.4 where IDN homograph attacks are possible. A malicious user can register himself with a name already registered and trick admin to grant him extra privileges.
Weakness: CWE-287
Which versions are affected by CVE-2021-3424?
2 open source packages ship an affected version, including org.keycloak:keycloak-services. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-services Maven | All versions | 18.0.0 |
org.keycloak:keycloak-services Maven | All versions | 18.0.0 |
Products include Redhat Single Sign-On.
How do I fix CVE-2021-3424?
Upgrade org.keycloak:keycloak-services to 18.0.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-3424 being exploited?
There is no known exploitation of CVE-2021-3424 in the wild and no public exploit code.
Other vulnerabilities in Redhat Single Sign-On
Sources
Also known as GHSA-pf38-cw3p-22q9.