CVE-2020-1744 Exposure of Sensitive Information in keycloak
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.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-core Maven | All versions | 9.0.1 |
org.keycloak:keycloak-core Maven | All versions | 9.0.1 |
Linux distribution packages (6)
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el6 | All versions | 0:4.8.18-1.Final_redhat_00001.1.el6sso |
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el6 | All versions | 0:4.8.18-1.Final_redhat_00001.1.el6sso |
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el7 | All versions | 0:4.8.18-1.Final_redhat_00001.1.el7sso |
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el7 | All versions | 0:4.8.18-1.Final_redhat_00001.1.el7sso |
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el8 | All versions | 0:4.8.18-1.Final_redhat_00001.1.el8sso |
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el8 | All versions | 0: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.
Other vulnerabilities in Redhat Keycloak
- CVE-2022-4361 Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC
- CVE-2022-1245 Keycloak vulnerable to privilege escalation on Token Exchange feature
- CVE-2021-20195 keycloak Self Stored Cross-site Scripting vulnerability
- CVE-2019-14910 Keycloak Authentication Error
- CVE-2019-14909 Keycloak Authentication Error
Sources
Also known as GHSA-4gf2-xv97-63m2, RHSA-2020:0945, RHSA-2020:0946, RHSA-2020:0947.