Keycloak: org.keycloak.protocol.oidc: unvalidated cross-origin messages in checkloginiframe leads to ddos
Summary
| CVE | CVE-2024-1249 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-04-17 14:15:08 UTC |
| Updated | 2026-10-27 03:16:26 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.4 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
EPSS: 0.004480000 probability, percentile 0.375550000 (date 2026-09-08)
Problem Types: CWE-346 | CWE-346 Origin Validation Error
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.4 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 7.4 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat AMQ Broker 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22.0.10-1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22-13 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22 | unaffected 22-16 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 22.0.10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7.6 For RHEL 7 | unaffected 0:18.0.13-1.redhat_00001.1.el7sso * rpm | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7.6 For RHEL 8 | unaffected 0:18.0.13-1.redhat_00001.1.el8sso * rpm | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7.6 For RHEL 9 | unaffected 0:18.0.13-1.redhat_00001.1.el9sso * rpm | Not specified |
| CNA | Red Hat | RHEL-8 Based Middleware Containers | unaffected 7.6-46 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-3 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHOSS-1.33-RHEL-8 | unaffected 1.33.0-5 * rpm | Not specified |
| CNA | Red Hat | RHSSO 7.6.8 | Not specified | Not specified |
| CNA | Red Hat | Migration Toolkit For Applications 6 | Not specified | Not specified |
| CNA | Red Hat | Migration Toolkit For Applications 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Apicurio Registry 2 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Data Grid 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Decision Manager 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Developer Hub 1 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Fuse 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Data Grid 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Not specified | Not specified |
| CNA | Red Hat | Red Hat Process Automation 7 | Not specified | Not specified |
| CNA | Red Hat | Streams For Apache Kafka | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2024:1864 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:1866 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:1860 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:1862 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:1868 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:4057 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2024:1861 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:1867 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2024-1249 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:2945 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Adriano Márcio Monteiro for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-02-06T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2024-04-16T00:00:00.000Z | Made public. |
Workarounds
CNA: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
There are currently no legacy QID mappings associated with this CVE.