CVE-2018-10894 Keycloak Authentication Error

Medium 5.4 Published Updated

Attackers can bypass SAML authentication using expired certificates to access unauthorized data in Keycloak.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-10894?

CVE-2018-10894 is a medium-severity authentication bypass vulnerability in Redhat Keycloak, published on 1 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

It was found that SAML authentication in Keycloak 3.4.3.Final incorrectly authenticated expired certificates. A malicious user could use this to access unauthorized data or possibly conduct further attacks.

Weakness: CWE-295, CWE-345

Which versions are affected by CVE-2018-10894?

4 open source packages ship an affected version, including org.keycloak:keycloak-saml-adapter-core and org.keycloak:keycloak-services. It affects 2 products.

PackageAffectedFixed in
org.keycloak:keycloak-saml-adapter-core MavenAll versions4.4.0.Final
org.keycloak:keycloak-saml-adapter-core MavenAll versions4.4.0.Final
org.keycloak:keycloak-services MavenAll versions4.4.0.Final
org.keycloak:keycloak-services MavenAll versions4.4.0.Final

Products include Redhat Keycloak, Redhat Single Sign-On.

How do I fix CVE-2018-10894?

Upgrade org.keycloak:keycloak-saml-adapter-core to 4.4.0.Final or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2018-10894 being exploited?

There is no known exploitation of CVE-2018-10894 in the wild and no public exploit code.

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-xvv8-8wh9-9fh2.

Is CVE-2018-10894 in your software?

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

Check your SBOMs for free