CVE-2024-3858

7.5 HIGH

📋 TL;DR

This vulnerability allows an attacker to crash Firefox by manipulating JavaScript objects to trigger a JIT (Just-In-Time) compiler failure. It affects all Firefox users running versions below 125, potentially leading to denial of service or further exploitation.

💻 Affected Systems

Products:
  • Mozilla Firefox
Versions: All versions < 125
Operating Systems: Windows, Linux, macOS, Android
Default Config Vulnerable: ⚠️ Yes
Notes: All standard Firefox installations are vulnerable. Extensions or custom configurations don't affect vulnerability.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to full system compromise if combined with other vulnerabilities.

🟠

Likely Case

Browser crash causing denial of service and potential data loss from unsaved sessions.

🟢

If Mitigated

Browser crash with no data compromise if running in sandboxed environment.

🌐 Internet-Facing: HIGH - Attackers can exploit via malicious websites or ads.
🏢 Internal Only: MEDIUM - Requires user interaction with malicious content.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: MEDIUM

Requires JavaScript execution in browser context. No public exploit code available at disclosure.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Firefox 125

Vendor Advisory: https://www.mozilla.org/security/advisories/mfsa2024-18/

Restart Required: Yes

Instructions:

1. Open Firefox menu > Help > About Firefox. 2. Allow automatic update to Firefox 125. 3. Restart browser when prompted.

🔧 Temporary Workarounds

Disable JavaScript

all

Prevents exploitation by blocking JavaScript execution

about:config > javascript.enabled = false

Use NoScript Extension

all

Selectively block JavaScript on untrusted sites

Install NoScript from Firefox Add-ons

🧯 If You Can't Patch

  • Restrict browser to trusted websites only
  • Implement application whitelisting to prevent unauthorized Firefox execution

🔍 How to Verify

Check if Vulnerable:

Check Firefox version in Help > About Firefox. If version is below 125, system is vulnerable.

Check Version:

firefox --version

Verify Fix Applied:

Confirm Firefox version is 125 or higher in Help > About Firefox.

📡 Detection & Monitoring

Log Indicators:

  • Firefox crash reports
  • Unexpected browser termination events

Network Indicators:

  • Requests to known malicious domains serving JavaScript

SIEM Query:

source="firefox.log" AND ("crash" OR "segfault" OR "SIGSEGV")

🔗 References

📤 Share & Export