CVE-2023-0105 Keycloak: Impersonation and lockout possible through incorrect handling of email trust

Medium 6.5 Published Updated

Attackers can impersonate or lock out users by exploiting incorrect email trust handling in Keycloak, leading to account takeover or denial of service.

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

What is CVE-2023-0105?

CVE-2023-0105 is a medium-severity authentication bypass vulnerability in Redhat Keycloak, published on 11 Jan 2023. 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. This flaw allows impersonation and lockout due to the email trust not being handled correctly in Keycloak. An attacker can shadow other users with the same email and lockout or impersonate them.

Weakness: CWE-287

Which versions are affected by CVE-2023-0105?

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

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions22.0.1
org.keycloak:keycloak-core MavenAll versions22.0.1

Products include Redhat Keycloak.

How do I fix CVE-2023-0105?

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

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2023-0105 being exploited?

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

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-c7xw-p58w-h6fj.

Is CVE-2023-0105 in your software?

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

Check your SBOMs for free