Keycloak: org.keycloak.protocol.oidc: unvalidated cross-origin messages in checkloginiframe leads to ddos
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 9 fixed, 6 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-346.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | 21.1.0 to before 22.0.10; 23.0.0 to before 24.0.3 | 22.0.10, 24.0.3 | Patch available | CNA |
| Red Hat | Red Hat AMQ Broker 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 22 | — | 22.0.10-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 22 | — | 22-13 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 22 | — | 22-16 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 22.0.10 | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | — | 18.0.13-1.redhat_00001.1.el7sso | Patch available | CNA |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | — | 18.0.13-1.redhat_00001.1.el8sso | Patch available | CNA |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | — | 18.0.13-1.redhat_00001.1.el9sso | Patch available | CNA |
| Red Hat | RHEL-8 based Middleware Containers | — | 7.6-46 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-3 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHSSO 7.6.8 | — | — | Not affected | CNA |
| Red Hat | Migration Toolkit for Applications 6 | — | — | No fix listed | CNA |
| Red Hat | Migration Toolkit for Applications 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Apicurio Registry 2 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Data Grid 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat Decision Manager 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Developer Hub 1 | — | — | Not affected | CNA |
| Red Hat | Red Hat Fuse 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat JBoss Data Grid 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | — | — | Not affected | CNA |
| Red Hat | Red Hat Process Automation 7 | — | — | No fix listed | CNA |
| Red Hat | streams for Apache Kafka | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-services (Maven) | before 22.0.10 | 22.0.10 | Patch available | GHSA-m6q9-p373-g5q8 |
| — | org.keycloak:keycloak-services (Maven) | 23.0.0 to before 24.0.3 | 24.0.3 | Patch available | GHSA-m6q9-p373-g5q8 |
- keycloak Vendor— Affected 21.1.0 to before 22.0.10; 23.0.0 to before 24.0.3 Fixed in 22.0.10, 24.0.3 Patch available CNA
- Red Hat AMQ Broker 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22.0.10-1 Patch available CNA
- Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-13 Patch available CNA
- Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-16 Patch available CNA
- Red Hat build of Keycloak 22.0.10 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7.6 for RHEL 7 VendorRed Hat Affected — Fixed in 18.0.13-1.redhat_00001.1.el7sso Patch available CNA
- Red Hat Single Sign-On 7.6 for RHEL 8 VendorRed Hat Affected — Fixed in 18.0.13-1.redhat_00001.1.el8sso Patch available CNA
- Red Hat Single Sign-On 7.6 for RHEL 9 VendorRed Hat Affected — Fixed in 18.0.13-1.redhat_00001.1.el9sso Patch available CNA
- RHEL-8 based Middleware Containers VendorRed Hat Affected — Fixed in 7.6-46 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-3 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHSSO 7.6.8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Migration Toolkit for Applications 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Migration Toolkit for Applications 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Apicurio Registry 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Data Grid 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Decision Manager 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Developer Hub 1 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Fuse 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat JBoss Data Grid 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat JBoss Enterprise Application Platform Expansion Pack VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Process Automation 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- streams for Apache Kafka VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-services (Maven) Vendor— Affected before 22.0.10 Fixed in 22.0.10 Patch available GHSA-m6q9-p373-g5q8
- org.keycloak:keycloak-services (Maven) Vendor— Affected 23.0.0 to before 24.0.3 Fixed in 24.0.3 Patch available GHSA-m6q9-p373-g5q8
CPE names CNA · 23
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/a:redhat:amq_broker:7.12 | 7.12 | — | Red Hat |
| cpe:/a:redhat:build_keycloak:22::el9 | 22 | — | Red Hat |
| cpe:/a:redhat:build_keycloak:22 | 22 | — | Red Hat |
| cpe:/a:redhat:red_hat_single_sign_on:7.6::el7 | 7.6 | — | Red Hat |
| cpe:/a:redhat:red_hat_single_sign_on:7.6::el8 | 7.6 | — | Red Hat |
| cpe:/a:redhat:red_hat_single_sign_on:7.6::el9 | 7.6 | — | Red Hat |
| cpe:/a:redhat:rhosemc:1.0::el8 | 1.0 | — | Red Hat |
| cpe:/a:redhat:openshift_serverless:1.33::el8 | 1.33 | — | Red Hat |
| cpe:/a:redhat:red_hat_single_sign_on:7.6 | 7.6 | — | Red Hat |
| cpe:/a:redhat:migration_toolkit_applications:6 | 6 | — | Red Hat |
- cpe:/a:redhat:amq_broker:7.12 Versions 7.12 — ·Red Hat
- cpe:/a:redhat:build_keycloak:22::el9 Versions 22 — ·Red Hat
- cpe:/a:redhat:build_keycloak:22 Versions 22 — ·Red Hat
- cpe:/a:redhat:red_hat_single_sign_on:7.6::el7 Versions 7.6 — ·Red Hat
- cpe:/a:redhat:red_hat_single_sign_on:7.6::el8 Versions 7.6 — ·Red Hat
- cpe:/a:redhat:red_hat_single_sign_on:7.6::el9 Versions 7.6 — ·Red Hat
- cpe:/a:redhat:rhosemc:1.0::el8 Versions 1.0 — ·Red Hat
- cpe:/a:redhat:openshift_serverless:1.33::el8 Versions 1.33 — ·Red Hat
- cpe:/a:redhat:red_hat_single_sign_on:7.6 Versions 7.6 — ·Red Hat
- cpe:/a:redhat:migration_toolkit_applications:6 Versions 6 — ·Red Hat
Show 13 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/a:redhat:migration_toolkit_applications:7 | 7 | — | Red Hat |
| cpe:/a:redhat:service_registry:2 | 2 | — | Red Hat |
| cpe:/a:redhat:jboss_data_grid:8 | 8 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_brms_platform:7 | 7 | — | Red Hat |
| cpe:/a:redhat:rhdh:1 | 1 | — | Red Hat |
| cpe:/a:redhat:jboss_fuse:7 | 7 | — | Red Hat |
| cpe:/a:redhat:jboss_data_grid:7 | 7 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_application_platform:6 | 6 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_application_platform:7 | 7 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_application_platform:8 | 8 | — | Red Hat |
| cpe:/a:redhat:jbosseapxp | — | — | Red Hat |
| cpe:/a:redhat:jboss_bpms:7 | 7 | — | Red Hat |
| cpe:/a:redhat:amq_streams:1 | 1 | — | Red Hat |
- cpe:/a:redhat:migration_toolkit_applications:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:service_registry:2 Versions 2 — ·Red Hat
- cpe:/a:redhat:jboss_data_grid:8 Versions 8 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_brms_platform:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:rhdh:1 Versions 1 — ·Red Hat
- cpe:/a:redhat:jboss_fuse:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:jboss_data_grid:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_application_platform:6 Versions 6 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_application_platform:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_application_platform:8 Versions 8 — ·Red Hat
- cpe:/a:redhat:jbosseapxp Versions — — ·Red Hat
- cpe:/a:redhat:jboss_bpms:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:amq_streams:1 Versions 1 — ·Red Hat
Remediation
- Fix · CNA keycloak Fixed in 22.0.10, 24.0.3
- Fix · GHSA-m6q9-p373-g5q8 org.keycloak:keycloak-services (Maven) Fixed in 22.0.10 Advisory →
- Fix · GHSA-m6q9-p373-g5q8 org.keycloak:keycloak-services (Maven) Fixed in 24.0.3 Advisory →
Red Hat 9 advisories
- RHSA-2024:4057 Released 2024-06-24 · Red Hat rating ImportantRelease of OpenShift Serverless Logic 1.33.0 security update & enhancements
- Red Hat OpenShift Serverless 1.33 openshift-serverless-1/logic-data-index-ephemeral-rhel8, openshift-serverless-1/logic-data-index-postgresql-rhel8, openshift-serverless-1/logic-jobs-service-ephemeral-rhel8 +6
- RHSA-2024:2945 Released 2024-05-21 · Red Hat rating ImportantRed Hat AMQ Broker 7.12.0 release and security update
- Red Hat AMQ Broker 7
- RHSA-2024:1867 Released 2024-04-16 · Red Hat rating ModerateRed Hat build of Keycloak 22.0.10 enhancement and security update
- Red Hat build of Keycloak 22 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Show 6 more Red Hat advisories
- RHSA-2024:1868 Released 2024-04-16 · Red Hat rating ImportantRed Hat build of Keycloak security update
- Red Hat build of Keycloak 22.0.10
- RHSA-2024:1866 Released 2024-04-16 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.8 security update
- RHSSO 7.6.8
- RHSA-2024:1862 Released 2024-04-16 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.8 security update on RHEL 9
- Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.13-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.13-1.redhat_00001.1.el9sso
- RHSA-2024:1861 Released 2024-04-16 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.8 security update on RHEL 8
- Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.13-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.13-1.redhat_00001.1.el8sso
- RHSA-2024:1860 Released 2024-04-16 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.8 enhancement and security update on RHEL 7
- Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.13-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.13-1.redhat_00001.1.el7sso
- RHSA-2024:1864 Released 2024-04-16 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.8 for OpenShift image enhancement and security update
- Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Applications 6 | Affected | No fix planned: Will not fix |
| Red Hat Decision Manager 7 | Affected | No fix yet |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet |
| Red Hat Process Automation 7 | Affected | No fix planned: Will not fix |
| Red Hat build of Apicurio Registry 2 | Affected | No fix yet |
| Middleware Containers for OpenShift | Fixed | RHSA-2024:1864 |
| RHSSO 7.6.8 | Fixed | RHSA-2024:1866 |
| Red Hat AMQ Broker 7 | Fixed | RHSA-2024:2945 |
| Red Hat OpenShift Serverless 1.33 | Fixed | RHSA-2024:4057 |
| Red Hat Single Sign-On 7.6 for RHEL 7 Server | Fixed | RHSA-2024:1860 |
| Red Hat Single Sign-On 7.6 for RHEL 8 | Fixed | RHSA-2024:1861 |
| Red Hat Single Sign-On 7.6 for RHEL 9 | Fixed | RHSA-2024:1862 |
| Red Hat build of Keycloak 22 | Fixed | RHSA-2024:1867 |
| Red Hat build of Keycloak 22.0.10 | Fixed | RHSA-2024:1868 |
Not affected: 8 products
- Migration Toolkit for Applications 7
- Red Hat Data Grid 8
- Red Hat Developer Hub 1
- Red Hat Fuse 7
- Red Hat JBoss Data Grid 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- streams for Apache Kafka
Timeline
- 2026-10-02 Threatist record created from CVE-2024-1249
- 2026-10-03 Alias added: GHSA-m6q9-p373-g5q8
- 2026-10-27 Affected versions changed · CNA
- 2026-10-27 Affected versions changed · Red Hat
References
Advisory 10
Other 6
- https://access.redhat.com/security/cve/CVE-2024-1249
- RHBZ#2262918
- https://github.com/keycloak/keycloak/security/advisories/GHSA-m6q9-p373-g5q8
- https://github.com/keycloak/keycloak/commit/9d9817e15a07195f16f554b7f60ee3a918369e26
- https://github.com/keycloak/keycloak/commit/e3598a53678a1e3698e78eb71e04ba10ca32e5e2
- https://github.com/keycloak/keycloak
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-1249 · CVE Program
- CVE-2024-1249 · NVD
- FIRST EPSS
- GHSA-m6q9-p373-g5q8 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-1249 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences