CVE-2019-14837 keycloak vulnerable to unauthorized login via mail server setup
An attacker controlling a specific domain can reset passwords for Keycloak service accounts by exploiting hardcoded email generation logic, leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-14837?
CVE-2019-14837 is a critical vulnerability in Redhat Keycloak, published on 7 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw was found in keycloack before version 8.0.0. The owner of 'placeholder.org' domain can setup mail server on this domain and knowing only name of a client can reset password and then log in. For example, for client name 'test' the email address will be '[email protected]'.
Which versions are affected by CVE-2019-14837?
2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-core Maven | All versions | 8.0.0 |
org.keycloak:keycloak-core Maven | All versions | 8.0.0 |
Products include Redhat Keycloak, Redhat Single Sign-On.
How do I fix CVE-2019-14837?
Upgrade org.keycloak:keycloak-core to 8.0.0 or later.
Is CVE-2019-14837 being exploited?
There is no known exploitation of CVE-2019-14837 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-cf8f-w2c5-p5jr.