What’s Vulnerable › Vulnerabilities
CVE-2024-1249: Keycloak: org.keycloak.protocol.oidc: unvalidated cross-origin messages in checkloginiframe leads to ddos
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-17 · updated 2026-10-27
- Weakness: CWE-346
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 products
- keycloak: from 21.1.0 before 22.0.10; from 23.0.0 before 24.0.3 — fixed in 22.0.10, 24.0.3
- Red Hat Migration Toolkit for Applications 6: all versions
- Red Hat build of Apicurio Registry 2: all versions
- Red Hat build of Keycloak 22: all versions — fixed in 22.0.10-1
- Red Hat Decision Manager 7: all versions
- Red Hat JBoss Enterprise Application Platform 7: all versions
- Red Hat Process Automation 7: all versions
- Red Hat Single Sign-On 7.6 for RHEL 7: all versions — fixed in 0:18.0.13-1.redhat_00001.1.el7sso
- Red Hat Single Sign-On 7.6 for RHEL 8: all versions — fixed in 0:18.0.13-1.redhat_00001.1.el8sso
- Red Hat Single Sign-On 7.6 for RHEL 9: all versions — fixed in 0:18.0.13-1.redhat_00001.1.el9sso
- Red Hat RHEL-8 based Middleware Containers: all versions — fixed in 7.6-46
- Red Hat RHOSS-1.33-RHEL-8: all versions — fixed in 1.33.0-5
How to fix
Upgrade to a fixed version: keycloak 22.0.10, 24.0.3; Red Hat build of Keycloak 22 22.0.10-1; Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.13-1.redhat_00001.1.el7sso; Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.13-1.redhat_00001.1.el8sso; Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.13-1.redhat_00001.1.el9sso; Red Hat RHEL-8 based Middleware Containers 7.6-46; Red Hat RHOSS-1.33-RHEL-8 1.33.0-5. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:1860
- https://access.redhat.com/errata/RHSA-2024:1861
- https://access.redhat.com/errata/RHSA-2024:1862
- https://access.redhat.com/errata/RHSA-2024:1864
- https://access.redhat.com/errata/RHSA-2024:1866
- https://access.redhat.com/errata/RHSA-2024:1867
- https://access.redhat.com/errata/RHSA-2024:1868
- https://access.redhat.com/errata/RHSA-2024:2945
- https://access.redhat.com/errata/RHSA-2024:4057
- https://access.redhat.com/security/cve/CVE-2024-1249
- https://bugzilla.redhat.com/show_bug.cgi?id=2262918
- https://access.redhat.com/errata/RHSA-2024:1860
Get alerted when CVE-2024-1249 or the next vulnerability affects your stack