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.

Github Repository Vendor Advisory Vendor Advisory Vendor Advisory Vendor Advisory Vendor Advisory Vendor Advisory Vendor Advisory Vendor Advisory Vendor Advisory NVD

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.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
REQUIRED
Scope:
CHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

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
0.18%
Percentile
38.92%

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.