A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-1249

CVE-2024-1249: Keycloak OIDC Component DoS Vulnerability

CVE-2024-1249 is a denial of service flaw in Keycloak's OIDC component that allows attackers to send millions of unvalidated cross-origin requests. This article covers the technical details, affected versions, and mitigations.

Published: June 2, 2026

CVE-2024-1249 Overview

CVE-2024-1249 is a vulnerability in the OpenID Connect (OIDC) component of Keycloak, specifically in the checkLoginIframe function. The flaw permits processing of cross-origin messages without proper origin validation [CWE-346]. Attackers can leverage this weakness to flood the application with millions of requests using simple scripted code, degrading availability. The vulnerability is network-accessible and requires user interaction, but no privileges are needed to exploit it. Red Hat has issued multiple security advisories covering affected product builds that embed Keycloak, including Red Hat Build of Keycloak and Red Hat Single Sign-On.

Critical Impact

Unvalidated cross-origin messages in checkLoginIframe enable attackers to script high-volume request floods against Keycloak deployments, causing availability impact on identity services.

Affected Products

  • Red Hat Build of Keycloak
  • Red Hat Single Sign-On 7
  • Red Hat JBoss Enterprise Application Platform builds incorporating affected Keycloak components

Discovery Timeline

  • 2024-04-17 - CVE-2024-1249 published to the National Vulnerability Database (NVD)
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2024-1249

Vulnerability Analysis

The vulnerability resides in Keycloak's OIDC session management iframe, commonly referenced as checkLoginIframe. This iframe is used to monitor Single Sign-On (SSO) session state by exchanging postMessage events between the relying party and the Keycloak server. The implementation accepts incoming cross-origin messages without validating the sender origin, allowing any page loaded in a victim's browser to send crafted messages to the iframe.

Because the iframe processes each message and triggers session-state checks, an attacker can script automated message floods. The resulting request volume targets Keycloak's session endpoints and consumes server resources, degrading authentication availability for legitimate users. The flaw is classified as Origin Validation Error.

Root Cause

The root cause is the absence of an origin check on message events received by the checkLoginIframe handler. Browsers deliver postMessage events from any origin by default; consumers must inspect event.origin against an allowlist before acting on the payload. Keycloak's handler did not enforce this check, treating attacker-controlled messages as if they originated from a trusted relying party.

Attack Vector

An attacker hosts a page that loads or references the Keycloak checkLoginIframe. When a victim visits the attacker page, scripted code repeatedly posts messages to the iframe. Each message triggers session-state processing on the Keycloak server. With coordinated clients or a single high-rate loop, the resulting request volume exhausts server capacity and disrupts identity services. No authentication or elevated privilege is required, only user interaction in the form of visiting a malicious page.

No verified public proof-of-concept code is referenced in the advisory. See the Red Hat CVE Analysis for CVE-2024-1249 for additional technical context.

Detection Methods for CVE-2024-1249

Indicators of Compromise

  • Sudden spikes in requests to Keycloak session-state and checkLoginIframe endpoints from a small number of client IPs or user agents.
  • Browser sessions generating abnormally high postMessage traffic to the Keycloak realm origin.
  • Elevated CPU, memory, or thread pool utilization on Keycloak servers without a corresponding rise in legitimate authentication events.

Detection Strategies

  • Instrument Keycloak access logs and reverse proxy logs to track request rates per source IP and per session against iframe and session endpoints.
  • Correlate Keycloak server metrics with Web Application Firewall (WAF) or API gateway telemetry to identify volumetric anomalies targeting OIDC endpoints.
  • Alert when a single user session generates session-state checks at a rate inconsistent with normal SSO behavior.

Monitoring Recommendations

  • Forward Keycloak audit and access logs to a centralized analytics platform for baselining and anomaly detection.
  • Monitor 5xx error rates, queue depth, and response latency on Keycloak nodes as availability indicators.
  • Track outbound referer headers reaching checkLoginIframe to identify unexpected origins interacting with the session iframe.

How to Mitigate CVE-2024-1249

Immediate Actions Required

  • Apply the Red Hat security updates referenced in advisories RHSA-2024:1860 through RHSA-2024:1868, RHSA-2024:2945, and RHSA-2024:4057 for the corresponding Keycloak or Red Hat Single Sign-On builds in use.
  • Inventory all Keycloak and Red Hat Single Sign-On deployments and prioritize internet-exposed servers for patching.
  • Place rate limiting in front of Keycloak session and iframe endpoints at the reverse proxy or WAF layer.

Patch Information

Red Hat addressed CVE-2024-1249 in updated Keycloak packages. Refer to the following advisories for fixed component versions and update procedures: RHSA-2024:1860, RHSA-2024:1861, RHSA-2024:1862, RHSA-2024:1864, RHSA-2024:1866, RHSA-2024:1867, RHSA-2024:1868, RHSA-2024:2945, and RHSA-2024:4057. Additional analysis is available in the Red Hat Bugzilla Report #2262918.

Workarounds

  • Restrict allowed Web Origins in each Keycloak client configuration to only trusted relying-party origins, reducing legitimate iframe interactions.
  • Deploy rate limiting and connection throttling on the reverse proxy in front of Keycloak to cap requests per source against session endpoints.
  • Where business requirements allow, disable the session-status iframe by setting client session checks to use polling alternatives until the patch is applied.
bash
# Example NGINX rate limit for Keycloak session endpoints
limit_req_zone $binary_remote_addr zone=kc_session:10m rate=10r/s;

location /realms/ {
    limit_req zone=kc_session burst=20 nodelay;
    proxy_pass http://keycloak_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechKeycloak

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.23%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-346
  • Technical References
  • Red Hat Security Advisory RHSA-2024:1860

  • Red Hat Security Advisory RHSA-2024:1861

  • Red Hat Security Advisory RHSA-2024:1862

  • Red Hat Security Advisory RHSA-2024:1864

  • Red Hat Security Advisory RHSA-2024:1866

  • Red Hat Security Advisory RHSA-2024:1867

  • Red Hat Security Advisory RHSA-2024:1868

  • Red Hat Security Advisory RHSA-2024:2945

  • Red Hat Security Advisory RHSA-2024:4057

  • Red Hat CVE Analysis CVE-2024-1249

  • Red Hat Bugzilla Report #2262918
  • Related CVEs
  • CVE-2026-9803: Keycloak ClientRegistrationAuth DoS Flaw

  • CVE-2026-9801: Keycloak LDAP DoS Vulnerability

  • CVE-2026-7307: Keycloak SAML Endpoint DoS Vulnerability

  • CVE-2025-11419: Keycloak TLS DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English