CVE-2019-3875 Improper Certificate Validation and Insufficient Verification of Data Authenticity in Keycloak
Attackers can bypass certificate revocation checks in Keycloak by exploiting missing CRL signature validation, potentially allowing revoked certificates to be accepted.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-3875?
CVE-2019-3875 is a medium-severity vulnerability in Redhat Keycloak, published on 12 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in keycloak before 6.0.2. The X.509 authenticator supports the verification of client certificates through the CRL, where the CRL list can be obtained from the URL provided in the certificate itself (CDP) or through the separately configured path. The CRL are often available over the network through unsecured protocols ('http' or 'ldap') and hence the caller should verify the signature and possibly the certification path. Keycloak currently doesn't validate signatures on CRL, which can result in a possibility of various attacks like man-in-the-middle.
Which versions are affected by CVE-2019-3875?
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 to 6.0.1 | None |
org.keycloak:keycloak-core Maven | All versions to 6.0.1 | None |
Products include Redhat Keycloak, Redhat Single Sign-On.
How do I fix CVE-2019-3875?
No fix has been published for CVE-2019-3875 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-3875 being exploited?
There is no known exploitation of CVE-2019-3875 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-38cg-gg9j-q9j9.