Skip to main content

CVE-2024-5690: Mozilla Firefox Information Disclosure Flaw

CVE-2024-5690 is an information disclosure vulnerability in Mozilla Firefox that allows attackers to detect external protocol handlers through timing attacks. This post explains its impact, affected versions, and mitigation steps.

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-5690 Overview

CVE-2024-5690 is a timing side-channel vulnerability affecting Mozilla Firefox, Firefox ESR, and Thunderbird. By measuring how long certain operations take to complete, a remote attacker could infer which external protocol handlers are registered and functional on a user's system. This information disclosure weakness is classified under [CWE-203: Observable Discrepancy]. The flaw enables fingerprinting of installed applications, which attackers can use to tailor follow-on social engineering or exploit delivery. Mozilla addressed the issue in Firefox 127, Firefox ESR 115.12, and Thunderbird 115.12. Debian also shipped fixes through its Long Term Support channel.

Critical Impact

Remote attackers can enumerate installed external protocol handlers through timing observation, enabling targeted application fingerprinting and reconnaissance for subsequent attacks.

Affected Products

  • Mozilla Firefox versions prior to 127
  • Mozilla Firefox ESR versions prior to 115.12
  • Mozilla Thunderbird versions prior to 115.12
  • Debian Linux 10.0 (patched via Debian LTS)

Discovery Timeline

  • 2024-06-11 - CVE-2024-5690 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-5690

Vulnerability Analysis

The vulnerability stems from measurable timing differences when the browser processes external protocol handler lookups. When a web page requests a non-HTTP protocol such as mailto:, tel:, or custom application schemes, the browser evaluates whether a handler is registered and functional. The time taken for this evaluation varies based on whether the handler exists, is enabled, or is absent.

An attacker-controlled web page can script repeated handler probes and measure response latency with high-resolution JavaScript timers. The resulting timing fingerprint reveals which applications are installed on the victim's machine. This category of side channel falls under [CWE-203], where behavioral differences expose information that should remain private to the user agent.

The disclosed information is limited to the presence of protocol handlers, not file contents or credentials. However, it directly enables targeted attack chains such as pre-selecting a known-vulnerable installed application for exploit delivery.

Root Cause

Firefox did not normalize execution time between the "handler present" and "handler absent" code paths when resolving external protocol associations. The branches performed observably different amounts of work, producing a timing oracle accessible to any script executing in a web context.

Attack Vector

Exploitation requires the user to visit a malicious or compromised web page. The attacker's JavaScript issues sequential protocol handler probes, records timing samples, and statistically classifies each handler as present or absent. No elevated privileges or user interaction beyond page navigation are required to collect the fingerprint. Technical details are documented in Mozilla Bug Report #1883693.

Detection Methods for CVE-2024-5690

Indicators of Compromise

  • Browser telemetry showing repeated, scripted invocations of external protocol handler APIs from a single page origin within a short window
  • Outbound web requests to attacker infrastructure containing encoded handler enumeration results immediately following page load
  • User reports of unsolicited application launch prompts tied to specific external schemes

Detection Strategies

  • Inventory endpoints running Firefox below 127, Firefox ESR below 115.12, or Thunderbird below 115.12 using software asset management data
  • Correlate browser process telemetry with network egress to identify pages performing systematic protocol handler probing
  • Flag JavaScript that calls navigator.registerProtocolHandler or triggers protocol launches in rapid timed sequences

Monitoring Recommendations

  • Monitor endpoint logs for Firefox and Thunderbird version strings and alert when outdated builds appear on managed hosts
  • Track DNS and proxy logs for domains serving suspicious high-frequency handler enumeration scripts
  • Review user-reported prompts for external application launches and investigate the originating page

How to Mitigate CVE-2024-5690

Immediate Actions Required

  • Upgrade Firefox to version 127 or later on all managed endpoints
  • Upgrade Firefox ESR to 115.12 or later for enterprise deployments
  • Upgrade Thunderbird to 115.12 or later on workstations handling email
  • Apply the Debian LTS updates referenced in the Debian LTS Announcement for Debian 10 systems

Patch Information

Mozilla released fixes in Firefox 127, Firefox ESR 115.12, and Thunderbird 115.12. Full advisory content is available in Mozilla Security Advisory MFSA-2024-25, Mozilla Security Advisory MFSA-2024-26, and Mozilla Security Advisory MFSA-2024-28. Debian 10 users should apply the packages described in the Debian LTS Announcement #2024-06-10.

Workarounds

  • Restrict user installation of applications that register external protocol handlers to limit the fingerprintable surface
  • Deploy browser management policies that disable or prompt for all external protocol launches until patches are applied
  • Use enterprise content filtering to block known malicious domains attempting browser fingerprinting

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.