CVE-2020-1744 Exposure of Sensitive Information in keycloak

Medium 5.6 Published Updated

Attackers can bypass brute force protection in Keycloak when using Conditional OTP in IDP post-login flows, allowing unlimited login attempts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-1744?

CVE-2020-1744 is a medium-severity vulnerability in Redhat Keycloak, published on 24 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in keycloak before version 9.0.1. When configuring an Conditional OTP Authentication Flow as a post login flow of an IDP, the failure login events for OTP are not being sent to the brute force protection event queue. So BruteForceProtector does not handle this events.

Weakness: CWE-755

Which versions are affected by CVE-2020-1744?

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

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions9.0.1
org.keycloak:keycloak-core MavenAll versions9.0.1
Linux distribution packages (6)
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el6All versions0:4.8.18-1.Final_redhat_00001.1.el6sso
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el6All versions0:4.8.18-1.Final_redhat_00001.1.el6sso
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el7All versions0:4.8.18-1.Final_redhat_00001.1.el7sso
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el7All versions0:4.8.18-1.Final_redhat_00001.1.el7sso
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el8All versions0:4.8.18-1.Final_redhat_00001.1.el8sso
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el8All versions0:4.8.18-1.Final_redhat_00001.1.el8sso

Products include Redhat Keycloak.

How do I fix CVE-2020-1744?

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

Is CVE-2020-1744 being exploited?

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

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-4gf2-xv97-63m2, RHSA-2020:0945, RHSA-2020:0946, RHSA-2020:0947.

Is CVE-2020-1744 in your software?

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

Check your SBOMs for free