Skip to main content

CVE-2024-4769: Mozilla Firefox Information Disclosure Flaw

CVE-2024-4769 is an information disclosure vulnerability in Mozilla Firefox that allows attackers to learn cross-origin information through Web Workers error messages. This post 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-4769 Overview

CVE-2024-4769 is a cross-origin information disclosure vulnerability in Mozilla Firefox, Firefox ESR, and Thunderbird. When importing resources through Web Workers, error messages differentiated between application/javascript responses and non-script responses. An attacker could abuse this discrepancy to infer the MIME type of cross-origin resources, leaking information that same-origin policy is designed to protect. The flaw is categorized under [CWE-351] (Insufficient Type Distinction) and affects Firefox versions prior to 126, Firefox ESR prior to 115.11, and Thunderbird prior to 115.11.

Critical Impact

Attackers hosting malicious web pages can probe cross-origin endpoints to determine whether responses are JavaScript or other content types, enabling reconnaissance of authenticated user sessions on third-party sites.

Affected Products

  • Mozilla Firefox versions prior to 126
  • Mozilla Firefox ESR versions prior to 115.11 and Thunderbird versions prior to 115.11
  • Debian Linux 10.0 (via distribution packages)

Discovery Timeline

  • 2024-05-14 - CVE-2024-4769 published to the National Vulnerability Database
  • 2024-05-14 - Mozilla released security advisories MFSA-2024-21, MFSA-2024-22, and MFSA-2024-23
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-4769

Vulnerability Analysis

The vulnerability resides in the Web Worker import logic within Mozilla's browser engine. When a Web Worker uses importScripts() or related loading mechanisms to fetch a cross-origin resource, the browser enforces that only JavaScript MIME types are executed. However, when the request failed, the resulting error message differed depending on whether the server returned application/javascript or a non-script content type.

An attacker-controlled page could instantiate a Web Worker, attempt to import a cross-origin URL, and observe the error output. The difference in error messaging produced an observable side channel that revealed otherwise opaque information about the responding resource. This violates the confidentiality guarantees of the same-origin policy without directly exposing response bodies.

Root Cause

The root cause is insufficient type distinction in script loading error paths. The error reporting code produced distinguishable messages based on the response's Content-Type, which a cross-origin script context should not be able to observe. The fix normalizes error output so no information about the response content type is exposed cross-origin.

Attack Vector

Exploitation requires an authenticated victim to visit an attacker-controlled web page. The malicious page loads a Web Worker that performs importScripts() calls against targeted cross-origin URLs. By catching the resulting errors and comparing their text or stack traces, the attacker infers whether each probed endpoint returns a JavaScript MIME type. This reconnaissance can be used to identify authenticated API endpoints, user state, or application behavior on third-party sites. The attack is remote and requires no user interaction beyond browsing. Technical details are documented in Mozilla Bug Report #1886108.

Detection Methods for CVE-2024-4769

Indicators of Compromise

  • Unexpected Web Worker instantiation on untrusted web pages that repeatedly call importScripts() against third-party domains
  • Browser telemetry showing high volumes of cross-origin script import failures originating from a single tab or script context
  • Outbound requests to internal or authenticated endpoints initiated from Worker contexts on unrelated external sites

Detection Strategies

  • Inventory browser versions across the fleet and flag any Firefox installation below 126 or Firefox ESR/Thunderbird below 115.11
  • Monitor web proxy logs for unusual patterns of cross-origin script-type requests originating from Worker contexts
  • Use Content Security Policy reporting to surface unexpected worker-src and script-src violations against sensitive internal domains

Monitoring Recommendations

  • Deploy endpoint telemetry that records installed browser versions and alerts on outdated Mozilla products
  • Correlate suspicious outbound HTTP activity from browser processes with recently visited untrusted domains
  • Enable Firefox update telemetry and verify that managed clients report versions at or above the patched baseline

How to Mitigate CVE-2024-4769

Immediate Actions Required

  • Upgrade Firefox to version 126 or later, Firefox ESR to 115.11 or later, and Thunderbird to 115.11 or later
  • Apply Debian LTS updates referenced in Debian LTS Advisory May 2024-10 and Debian LTS Advisory May 2024-12
  • Enforce browser auto-update policies through enterprise configuration management to prevent regression

Patch Information

Mozilla addressed the issue in Firefox 126, Firefox ESR 115.11, and Thunderbird 115.11. Refer to Mozilla Security Advisory MFSA-2024-21, Mozilla Security Advisory MFSA-2024-22, and Mozilla Security Advisory MFSA-2024-23 for the vendor-published fix details.

Workarounds

  • Restrict Web Worker usage on sensitive internal applications using a strict Content Security Policy that limits worker-src and script-src to trusted origins
  • Deploy browser isolation or remote browser solutions for high-risk user groups until all endpoints are patched
  • Educate users to avoid browsing untrusted sites while authenticated to sensitive internal applications
bash
# Verify installed Firefox version on Linux endpoints
firefox --version

# Example Debian update commands for affected packages
sudo apt update
sudo apt install --only-upgrade firefox-esr thunderbird

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.