Skip to main content

CVE-2024-4767: Mozilla Firefox Information Disclosure Flaw

CVE-2024-4767 is an information disclosure vulnerability in Mozilla Firefox affecting IndexedDB file deletion in private browsing mode. This article covers technical details, affected versions, potential impact, and mitigation strategies.

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

CVE-2024-4767 affects Mozilla Firefox, Firefox ESR, and Thunderbird when the browser.privatebrowsing.autostart preference is enabled. IndexedDB files were not properly deleted when the browser window was closed, leaving residual data on disk. This preference is disabled by default in Firefox, which limits the exposed population. The issue is classified under [CWE-459] Incomplete Cleanup and [CWE-359] Exposure of Private Personal Information. The vulnerability affects Firefox versions before 126, Firefox ESR before 115.11, and Thunderbird before 115.11.

Critical Impact

Persistent IndexedDB artifacts from private browsing sessions may expose user data intended to be ephemeral, undermining the confidentiality expectations of private mode.

Affected Products

  • Mozilla Firefox versions prior to 126
  • Mozilla Firefox ESR versions prior to 115.11
  • Mozilla Thunderbird versions prior to 115.11 and Debian Linux 10 packages

Discovery Timeline

  • 2024-05-14 - CVE-2024-4767 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-4767

Vulnerability Analysis

The flaw resides in Firefox's private browsing storage lifecycle. IndexedDB is a browser-provided transactional database that lets web applications persist structured data locally. In standard private browsing sessions, IndexedDB storage is scoped to the session and expected to be discarded when the window closes.

When users enable browser.privatebrowsing.autostart, Firefox launches directly into permanent private browsing mode. Under this configuration, the cleanup routine that normally removes IndexedDB files on window close did not execute correctly. Files backing IndexedDB stores remained on disk after the private session ended.

The residual files can contain application state, cached objects, or user-supplied data written by any visited site that used IndexedDB. Local users or forensic tooling with access to the profile directory can recover this data, defeating the privacy guarantee associated with private browsing.

Root Cause

The root cause is incomplete cleanup ([CWE-459]) in the private browsing teardown path when auto-start is active. The delete operation for IndexedDB backing files was not invoked, leaving persistent artifacts of a session that users expected to be ephemeral ([CWE-359]).

Attack Vector

Exploitation requires user interaction and access to the local profile. A remote website populates IndexedDB during a private browsing session. After the user closes the window, a local attacker or subsequent user of the same account inspects the profile directory to recover the leftover database files. Network-based exploitation without local access is not feasible for retrieving the data.

No verified public exploit code is available. The vulnerability manifests as file persistence rather than an executable primitive, so exploitation is a data-recovery operation against the profile directory. See the Mozilla Bug Report #1878577 for technical discussion.

Detection Methods for CVE-2024-4767

Indicators of Compromise

  • Presence of .sqlite or IndexedDB directory contents inside Firefox private browsing profile paths after private sessions have ended
  • Firefox, Firefox ESR, or Thunderbird binaries reporting versions below 126, 115.11, and 115.11 respectively
  • User profiles with browser.privatebrowsing.autostart set to true in prefs.js

Detection Strategies

  • Query endpoint inventory for Firefox and Thunderbird versions and flag hosts running vulnerable builds
  • Inspect user profile prefs.js files for user_pref("browser.privatebrowsing.autostart", true); to identify at-risk configurations
  • Audit the storage/default and storage/permanent subdirectories of Firefox profiles for residual IndexedDB artifacts on hosts where private auto-start is enabled

Monitoring Recommendations

  • Monitor software inventory feeds for Mozilla product versions and alert on out-of-date installations
  • Track configuration drift on managed endpoints by comparing prefs.js against an approved baseline
  • Include Firefox profile directories in periodic data-at-rest scans to detect unexpected persistence of browser storage

How to Mitigate CVE-2024-4767

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 package updates on Debian 10 systems using the vendor-supplied Mozilla builds
  • Audit managed endpoints for the browser.privatebrowsing.autostart preference and confirm remediation status

Patch Information

Mozilla released fixes documented in MFSA-2024-21, MFSA-2024-22, and MFSA-2024-23. Debian shipped corresponding updates through the Debian LTS Security Announcement and the Debian LTS Security Update.

Workarounds

  • Disable browser.privatebrowsing.autostart and use ad hoc private windows, which are not affected by the cleanup gap
  • Manually clear the Firefox profile storage directory after closing private browsing sessions on unpatched systems
  • Enforce full-disk encryption to reduce the exposure of residual profile artifacts to offline attackers
bash
# Configuration example: disable private browsing auto-start via enterprise policy
# Place in the Firefox policies.json file
{
  "policies": {
    "Preferences": {
      "browser.privatebrowsing.autostart": {
        "Value": false,
        "Status": "locked"
      }
    }
  }
}

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.