Skip to main content

CVE-2024-0753: Mozilla Firefox HSTS Bypass Vulnerability

CVE-2024-0753 is an HSTS bypass vulnerability in Mozilla Firefox that allows attackers to circumvent security on subdomains under specific configurations. This article covers technical details, affected versions, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-0753 Overview

CVE-2024-0753 is an HTTP Strict Transport Security (HSTS) bypass vulnerability affecting Mozilla Firefox, Firefox Extended Support Release (ESR), and Thunderbird. Under specific HSTS configurations, an attacker could bypass HSTS enforcement on a subdomain, forcing a victim's browser to connect over unencrypted HTTP instead of HTTPS. The flaw affects Firefox versions prior to 122, Firefox ESR versions prior to 115.7, and Thunderbird versions prior to 115.7. Mozilla documented the issue in advisories MFSA-2024-01, MFSA-2024-02, and MFSA-2024-04.

Critical Impact

Attackers positioned on the network path can downgrade HTTPS connections to a vulnerable subdomain, enabling interception or tampering of traffic that users and site operators expected to be protected by HSTS.

Affected Products

  • Mozilla Firefox versions prior to 122
  • Mozilla Firefox ESR versions prior to 115.7
  • Mozilla Thunderbird versions prior to 115.7
  • Debian Linux 10.0 packages shipping affected Mozilla builds

Discovery Timeline

  • 2024-01-23 - CVE-2024-0753 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-0753

Vulnerability Analysis

HTTP Strict Transport Security is a web security policy mechanism defined in RFC 6797. A server sends the Strict-Transport-Security response header to instruct browsers to only connect over HTTPS for a defined duration. The includeSubDomains directive extends this protection to every subdomain of the issuing host.

CVE-2024-0753 breaks this contract. In specific configurations, Firefox and Thunderbird failed to apply the parent domain's HSTS policy to a subdomain request. The result is that a request targeting a subdomain could be issued over cleartext HTTP even when the parent policy mandated HTTPS. Mozilla classified the issue as a protocol enforcement defect in its browser engine, tracked internally as Mozilla Bug 1870262.

Root Cause

The root cause lies in how the HSTS cache applied inherited policy entries during subdomain lookups. When the includeSubDomains directive should have forced an upgrade to HTTPS, the enforcement path missed the match under certain configurations and allowed the request to proceed over HTTP. The CWE for this issue is listed as NVD-CWE-noinfo because Mozilla did not publish a specific weakness classification.

Attack Vector

Exploitation requires an attacker with a network position between the victim and the target subdomain, such as a hostile Wi-Fi operator, a compromised router, or an on-path attacker inside an ISP. The attacker also requires user interaction, typically the victim visiting a crafted link or triggering a request to the vulnerable subdomain. Once the browser issues an unencrypted request, the attacker can inject responses, strip security headers, steal session cookies not marked Secure, or redirect the victim to an attacker-controlled host.

No public proof-of-concept or exploit entry in Exploit-DB is associated with this CVE, and it is not listed in the CISA Known Exploited Vulnerabilities catalog.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2024-0753

Indicators of Compromise

  • Outbound HTTP (port 80) traffic from endpoints to subdomains of hosts that normally serve traffic exclusively over HTTPS
  • Browser telemetry showing Firefox or Thunderbird versions below 122 and 115.7 respectively still active in the fleet
  • Unexpected HTTP 301/302 redirects or injected content on subdomain requests captured in web proxy logs

Detection Strategies

  • Inventory Firefox, Firefox ESR, and Thunderbird installations and compare installed versions against the fixed releases (122, 115.7, 115.7)
  • Inspect web proxy and TLS inspection logs for cleartext requests to subdomains of HSTS-protected parent domains
  • Correlate user agent strings in server access logs to identify clients running vulnerable browser builds

Monitoring Recommendations

  • Alert on any HTTP request from a managed endpoint to an internal subdomain that is covered by an HSTS preload entry
  • Monitor DNS and NetFlow telemetry for connections initiated to known phishing or on-path infrastructure after visits to legitimate parent domains
  • Track browser auto-update compliance and flag endpoints that remain on pre-patch versions beyond a defined grace period

How to Mitigate CVE-2024-0753

Immediate Actions Required

  • Upgrade Firefox to version 122 or later on all managed workstations
  • Upgrade Firefox ESR to version 115.7 or later for environments standardized on the ESR channel
  • Upgrade Thunderbird to version 115.7 or later and restart the client to apply the fix
  • Apply the corresponding Debian LTS updates referenced in the Debian LTS announcement

Patch Information

Mozilla addressed the issue in the January 2024 release cycle. The fixes are documented in MFSA-2024-01 for Firefox 122, MFSA-2024-02 for Firefox ESR 115.7, and MFSA-2024-04 for Thunderbird 115.7. Debian published package updates through the LTS channel in this announcement.

Workarounds

  • Enforce HTTPS at the network perimeter by blocking outbound TCP/80 to domains that are known to publish HSTS policies
  • Add vulnerable subdomains to the HSTS preload list on the server side so protection is baked into other browsers and newer Firefox builds
  • Deploy enterprise policy to disable or restrict Firefox and Thunderbird usage on endpoints until the patched build is installed

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.