CVE-2018-14657 Keycloak Improper Bruteforce Detection

Medium 5.4 Published Updated

Attackers can bypass brute force protection in Keycloak when TOTP is enabled, allowing unlimited login attempts.

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-14657?

CVE-2018-14657 is a medium-severity vulnerability in Redhat Keycloak, published on 13 Nov 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in Keycloak 4.2.1.Final, 4.3.0.Final. When TOPT enabled, an improper implementation of the Brute Force detection algorithm will not enforce its protection measures.

Weakness: CWE-307

Which versions are affected by CVE-2018-14657?

2 open source packages ship an affected version, including org.keycloak:keycloak-parent. It affects 2 products.

PackageAffectedFixed in
org.keycloak:keycloak-parent MavenAll versions4.6.0.Final
org.keycloak:keycloak-parent MavenAll versions4.6.0.Final

Products include Redhat Keycloak, Redhat Single Sign-On.

How do I fix CVE-2018-14657?

Upgrade org.keycloak:keycloak-parent to 4.6.0.Final or later.

Is CVE-2018-14657 being exploited?

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

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-85v8-vx4w-q684.

Is CVE-2018-14657 in your software?

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

Check your SBOMs for free