CVE-2018-14637 Improper Authentication in Keycloak

Medium 6.1 Published Updated

Attackers can bypass authentication by replaying expired SAML assertions in Keycloak, allowing unauthorized access to protected resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-14637?

CVE-2018-14637 is a medium-severity authentication bypass vulnerability in Redhat Keycloak, published on 30 Nov 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The SAML broker consumer endpoint in Keycloak before version 4.6.0.Final ignores expiration conditions on SAML assertions. An attacker can exploit this vulnerability to perform a replay attack.

Weakness: CWE-287, CWE-285

Which versions are affected by CVE-2018-14637?

2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 1 product.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions4.6.0
org.keycloak:keycloak-core MavenAll versions4.6.0

Products include Redhat Keycloak.

How do I fix CVE-2018-14637?

Upgrade org.keycloak:keycloak-core to 4.6.0 or later.

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

Is CVE-2018-14637 being exploited?

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

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-gf2j-7qwg-4f5x.

Is CVE-2018-14637 in your software?

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

Check your SBOMs for free