CVE-2024-1249
JSON

7.4high

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

Severity
7.4high CVSS:3.1 by redhat
Exploit likelihood
0.56% (higher than 40% of CVEs)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-m6q9-p373-g5q8

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

Product or packageVersionsReported by
keycloakfrom 21.1.0 before 22.0.10, from 23.0.0 before 24.0.3CVE List
rhbk/keycloak-operator-bundleNot specified
Not affected: from 22.0.10-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 22-13 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 22-16 before *
CVE List
rh-sso7-keycloakNot specified
Not affected: from 0:18.0.13-1.redhat_00001.1.el7sso before *, from 0:18.0.13-1.redhat_00001.1.el8sso before *, from 0:18.0.13-1.redhat_00001.1.el9sso before *
CVE List
rh-sso-7/sso76-openshift-rhel8Not specified
Not affected: from 7.6-46 before *
CVE List
openshift-serverless-1/logic-data-index-ephemeral-rhel8Not specified
Not affected: from 1.33.0-5 before *
CVE List
openshift-serverless-1/logic-data-index-postgresql-rhel8Not specified
Not affected: from 1.33.0-5 before *
CVE List
openshift-serverless-1/logic-jobs-service-ephemeral-rhel8Not specified
Not affected: from 1.33.0-5 before *
CVE List
openshift-serverless-1/logic-jobs-service-postgresql-rhel8Not specified
Not affected: from 1.33.0-5 before *
CVE List
openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8Not specified
Not affected: from 1.33.0-5 before *
CVE List
openshift-serverless-1/logic-operator-bundleNot specified
Not affected: from 1.33.0-5 before *
CVE List

All scores

redhat7.4high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
GitHub7.4high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H

Classification

CWE-346

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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 Advisory Database

A potential security flaw in the "checkLoginIframe" which allows unvalidated cross-origin messages, enabling potential DDoS attacks. By exploiting this vulnerability, attackers could coordinate to send millions of requests in seconds using simple code, significantly impacting the application's availability without proper origin validation for incoming messages.

Acknowledgements

Special thanks to Adriano Márcio Monteiro from BRZTEC for reporting this issue and helping us improve our project.

NVD (es)

Se encontró una falla en el componente OIDC de Keycloak en "checkLoginIframe", que permite mensajes de origen cruzado no validados. Esta falla permite a los atacantes coordinar y enviar millones de solicitudes en segundos usando un código simple, lo que afecta significativamente la disponibilidad de la aplicación sin una validación adecuada del origen de los mensajes entrantes.

References

https://access.redhat.com/errata/RHSA-2024:1860vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:1861vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:1862vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:1864vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:1866vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:1867vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:1868vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:2945vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:4057vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2024-1249vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2262918issue-tracking, web
https://github.com/keycloak/keycloak/security/advisories/GHSA-m6q9-p373-g5q8web

Sources

SourceRecordLicence
CVE ListCVE-2024-1249 changed 2026-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-m6q9-p373-g5q8 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-1249 changed 2026-11-26Public domain