CVE-2023-0105 Keycloak: Impersonation and lockout possible through incorrect handling of email trust
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.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-core Maven | All versions | 22.0.1 |
org.keycloak:keycloak-core Maven | All versions | 22.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.
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-c7xw-p58w-h6fj.