Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-5699

CVE-2024-5699: Mozilla Firefox Cookie Prefix Vulnerability

CVE-2024-5699 is a cookie prefix handling flaw in Mozilla Firefox where security prefixes like __Secure were ignored if not properly capitalized. This article covers the technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-5699 Overview

A critical vulnerability has been identified in Mozilla Firefox where cookie prefixes such as __Secure and __Host were being checked using case-sensitive comparison instead of case-insensitive comparison as required by the specification. This implementation flaw allows attackers to bypass cookie security attributes by using incorrectly capitalized prefixes, potentially undermining the browser's cookie security model.

Critical Impact

This vulnerability allows attackers to bypass cookie prefix security controls, potentially enabling session hijacking, credential theft, and other attacks that the __Secure and __Host prefixes are specifically designed to prevent.

Affected Products

  • Mozilla Firefox versions prior to 127

Discovery Timeline

  • 2024-06-11 - CVE-2024-5699 published to NVD
  • 2025-04-04 - Last updated in NVD database

Technical Details for CVE-2024-5699

Vulnerability Analysis

This vulnerability is categorized under CWE-178 (Improper Handling of Case Sensitivity), representing a fundamental implementation error in Firefox's cookie parsing logic. The browser specification mandates that cookie prefixes like __Secure- and __Host- must be evaluated using case-insensitive string comparison to ensure consistent security enforcement regardless of capitalization variations.

When Firefox performs case-sensitive checks instead, an attacker can craft cookies with alternative capitalizations (e.g., __SECURE-, __secure-, or __SeCuRe-) that would bypass the security restrictions normally enforced by these prefixes. This breaks the security contract that web applications rely upon when using these prefixes to protect sensitive cookies.

Root Cause

The root cause lies in Firefox's cookie parsing implementation where string comparison operations for cookie prefixes were performed using case-sensitive matching. According to RFC 6265bis and the browser specification, cookie prefix checks should be case-insensitive to ensure robust security enforcement. The implementation in affected versions of Firefox failed to adhere to this requirement, creating a security gap that could be exploited to circumvent cookie security attributes.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker operating in a network position (such as through a man-in-the-middle attack, malicious website, or compromised HTTP connection) could set cookies with incorrectly capitalized prefixes. Since Firefox would not recognize these as secure cookies requiring special handling, the browser would accept them without enforcing the security constraints that the prefixes are meant to provide.

For example, a __SECURE-session cookie might be set without requiring a secure (HTTPS) connection, or a __HOST-csrf cookie might be set without the proper domain and path restrictions, effectively bypassing the protections these prefixes are designed to enforce.

Detection Methods for CVE-2024-5699

Indicators of Compromise

  • Presence of cookies with non-standard capitalization of security prefixes (e.g., __SECURE-, __secure-, __HOST-)
  • Session cookies being set over non-HTTPS connections that should be protected
  • Unexpected cookie behavior in web applications relying on prefix-based security
  • Anomalous authentication or session management activity

Detection Strategies

  • Monitor web server logs for cookies with unusual prefix capitalizations that deviate from standard __Secure- or __Host- patterns
  • Implement browser version detection to identify vulnerable Firefox installations within the organization
  • Review web application firewall (WAF) logs for cookie manipulation attempts
  • Deploy endpoint detection solutions that can identify outdated browser versions

Monitoring Recommendations

  • Establish browser version inventory and monitor for vulnerable Firefox installations
  • Configure network monitoring to detect cookie-based attack patterns
  • Enable detailed logging on web applications that rely on cookie prefix security
  • Set up alerts for detection of cookies with non-standard capitalization patterns

How to Mitigate CVE-2024-5699

Immediate Actions Required

  • Update Mozilla Firefox to version 127 or later immediately
  • Enable automatic updates for Firefox to receive future security patches
  • Verify web applications are using HTTPS and implementing additional server-side cookie validation
  • Consider implementing HTTP Strict Transport Security (HSTS) to reduce attack surface

Patch Information

Mozilla has addressed this vulnerability in Firefox version 127. Users and organizations should update to this version or later to remediate the issue. Detailed patch information is available in the Mozilla Security Advisory MFSA-2024-25. Additional technical details can be found in Mozilla Bug Report #1891349.

Workarounds

  • Deploy enterprise browser management policies to enforce Firefox updates
  • Implement server-side validation of cookie security attributes independent of browser prefix handling
  • Use Content Security Policy (CSP) headers to provide additional security layers
  • Consider using alternative browsers while awaiting Firefox updates in critical environments
bash
# Verify Firefox version on Linux/macOS
firefox --version

# Update Firefox on Debian/Ubuntu systems
sudo apt update && sudo apt upgrade firefox

# Update Firefox on Fedora/RHEL systems
sudo dnf update firefox

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechMozilla Firefox

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.59%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-178
  • Technical References
  • Mozilla Bug Report #1891349
  • Vendor Resources
  • Mozilla Security Advisory MFSA-2024-25
  • Related CVEs
  • CVE-2026-4712: Mozilla Firefox Information Disclosure Bug

  • CVE-2026-2803: Mozilla Firefox Information Disclosure Flaw

  • CVE-2026-2794: Mozilla Firefox Information Disclosure

  • CVE-2026-2783: Mozilla Firefox Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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