CVE-2020-1698 Keycloak leaks sensitive information in logged exceptions
A logged exception in Keycloak may leak user passwords, compromising data confidentiality for administrators and users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-1698?
CVE-2020-1698 is a medium-severity vulnerability in Redhat Keycloak, published on 11 May 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A flaw was found in keycloak in versions before 9.0.0. A logged exception in the HttpMethod class may leak the password given as parameter. The highest threat from this vulnerability is to data confidentiality.
Which versions are affected by CVE-2020-1698?
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.0 |
org.keycloak:keycloak-core Maven | All versions | 9.0.0 |
Products include Redhat Keycloak.
How do I fix CVE-2020-1698?
Upgrade org.keycloak:keycloak-core to 9.0.0 or later.
Is CVE-2020-1698 being exploited?
There is no known exploitation of CVE-2020-1698 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-qgmm-f2qw-r95f.