Keycloak OIDC checkLoginIframe DoS via unvalidated cross-origin messages
CVE-2024-1249 Published on April 17, 2024
Keycloak: org.keycloak.protocol.oidc: unvalidated cross-origin messages in checkloginiframe leads to ddos
A flaw was found in Keycloak's OIDC component in the "checkLoginIframe," which allows unvalidated cross-origin messages. This flaw allows attackers to coordinate and send millions of requests in seconds using simple code, significantly impacting the application's availability without proper origin validation for incoming messages.
Vulnerability Analysis
CVE-2024-1249 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Timeline
Reported to Red Hat.
Made public. 70 days later.
Weakness Type
Origin Validation Error
The software does not properly verify that the source of data or communication is valid.
Products Associated with CVE-2024-1249
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-1249 are published in these products:
Vulnerable Packages
The following package name and versions may be associated with CVE-2024-1249
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | >= 23.0.0, < 24.0.3 | 24.0.3 |
| maven | org.keycloak:keycloak-services | < 22.0.10 | 22.0.10 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.