CVE-2019-3875 Improper Certificate Validation and Insufficient Verification of Data Authenticity in Keycloak

Medium 6.5 Published Updated

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.

Weakness: CWE-345, CWE-295

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.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions to 6.0.1None
org.keycloak:keycloak-core MavenAll versions to 6.0.1None

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.

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-38cg-gg9j-q9j9.

Is CVE-2019-3875 in your software?

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

Check your SBOMs for free