Brute-force protection bypass via missed OTP events
Published Mar 24, 2020 · Updated Aug 4, 2024
Improper handling of failed OTP events in Red Hat build of Keycloak before 9.0.1 allows remote attackers to bypass brute-force protections. The Conditional OTP post-login flow fails to enqueue unsuccessful OTP login events for BruteForceProtector, so its failure counters and lockout logic are not applied. The attack requires an identity provider configured with that post-login flow; repeated invalid OTP attempts can continue without the intended brute-force throttling or lockout.
Summary
What happened
Improper handling of failed OTP events in Red Hat build of Keycloak before 9.0.1 allows remote attackers to bypass brute-force protections. The Conditional OTP post-login flow fails to enqueue unsuccessful OTP login events for BruteForceProtector, so its failure counters and lockout logic are not applied. The attack requires an identity provider configured with that post-login flow; repeated invalid OTP attempts can continue without the intended brute-force throttling or lockout.
The record
- CVE
- CVE-2020-1744
- Published
- Mar 24, 2020
- Updated
- Aug 4, 2024
- Vendor
- Red Hat
- Product
- Red Hat build of Keycloak
- Classifications
- CWE-755, T1110
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 24, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=all keycloak versions prior to 9.0.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo