Vulnerability · Published Apr 17, 2024 · Assigned by redhat

CVE-2024-1249Keycloak: org.keycloak.protocol.oidc: unvalidated cross-origin messages in checkloginiframe leads to ddos

High 7.4

In plain English

A high-severity security flaw in keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.4%top 60.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.keycloak:keycloak-services22.0.10GHSA-m6q9-p373-g5q8
Mavenorg.keycloak:keycloak-services24.0.3GHSA-m6q9-p373-g5q8

Affected products (as reported)

VendorProductVersions
keycloak 21.1.0 – before 22.0.1023.0.0 – before 24.0.3
Red Hat Red Hat AMQ Broker 7 see references
Red Hat Red Hat build of Keycloak 22 see references
Red Hat Red Hat build of Keycloak 22 see references
Red Hat Red Hat build of Keycloak 22 see references
Red Hat Red Hat build of Keycloak 22.0.10 see references
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 see references
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 see references
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 see references
Red Hat RHEL-8 based Middleware Containers see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHSSO 7.6.8 see references
Red Hat Migration Toolkit for Applications 6 see references
Red Hat Migration Toolkit for Applications 7 see references
Red Hat Red Hat build of Apicurio Registry 2 see references
Red Hat Red Hat Data Grid 8 see references
Red Hat Red Hat Decision Manager 7 see references
Red Hat Red Hat Developer Hub 1 see references
Red Hat Red Hat Fuse 7 see references
Red Hat Red Hat JBoss Data Grid 7 see references
Red Hat Red Hat JBoss Enterprise Application Platform 6 see references
Red Hat Red Hat JBoss Enterprise Application Platform 6 see references

Weakness: CWE-346 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H

References