CVE-2024-9394

7.5 HIGH

📋 TL;DR

This vulnerability allows attackers to execute arbitrary JavaScript in the privileged devtools origin via specially crafted multipart responses, enabling cross-origin JSON data theft. On Android devices, this provides full cross-origin access, while desktop clients are limited by Site Isolation to same-site documents. Affected software includes Firefox, Firefox ESR, and Thunderbird below specified versions.

💻 Affected Systems

Products:
  • Mozilla Firefox
  • Mozilla Firefox ESR
  • Mozilla Thunderbird
Versions: Firefox < 131, Firefox ESR < 128.3, Firefox ESR < 115.16, Thunderbird < 128.3, Thunderbird < 131
Operating Systems: Windows, Linux, macOS, Android
Default Config Vulnerable: ⚠️ Yes
Notes: Android versions have more severe impact with full cross-origin access, while desktop versions are limited by Site Isolation to same-site documents.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers steal sensitive cross-origin data including authentication tokens, session cookies, and private user information from any website visited by the victim on Android devices.

🟠

Likely Case

Targeted attacks stealing specific cross-origin data from vulnerable Android browsers, with limited same-site data theft on desktop browsers.

🟢

If Mitigated

No impact if browsers are updated to patched versions or if Android devices are not used for sensitive browsing.

🌐 Internet-Facing: HIGH - Web browsers are inherently internet-facing and process untrusted content from any website.
🏢 Internal Only: LOW - This is a client-side browser vulnerability, not a server-side issue affecting internal systems.

🎯 Exploit Status

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

Exploitation requires crafting multipart responses and convincing users to visit malicious sites, but no authentication is needed.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Firefox 131+, Firefox ESR 128.3+, Firefox ESR 115.16+, Thunderbird 128.3+, Thunderbird 131+

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

Restart Required: Yes

Instructions:

1. Open affected application. 2. Go to Help > About Firefox/Thunderbird. 3. Allow automatic update check and installation. 4. Restart the application when prompted.

🔧 Temporary Workarounds

Disable JavaScript

all

Disabling JavaScript prevents the arbitrary code execution but breaks most website functionality.

about:config > javascript.enabled = false

Enable Enhanced Tracking Protection

all

May block some malicious scripts but is not a complete mitigation.

Settings > Privacy & Security > Enhanced Tracking Protection > Strict

🧯 If You Can't Patch

  • Use alternative browsers on Android devices for sensitive activities
  • Implement network filtering to block known malicious domains serving multipart exploits

🔍 How to Verify

Check if Vulnerable:

Check browser version against affected ranges: Firefox < 131, Firefox ESR < 128.3 or < 115.16, Thunderbird < 128.3 or < 131

Check Version:

Firefox/Thunderbird: about:support > Application Basics > Version

Verify Fix Applied:

Confirm version is equal to or greater than: Firefox 131, Firefox ESR 128.3 or 115.16, Thunderbird 128.3 or 131

📡 Detection & Monitoring

Log Indicators:

  • Unusual devtools:// or resource://devtools access in browser logs
  • Multiple failed multipart response parsing attempts

Network Indicators:

  • Malicious sites serving crafted multipart responses with JavaScript payloads
  • Unusual cross-origin JSON data transfers

SIEM Query:

source="browser_logs" AND (uri="resource://devtools/*" OR uri="devtools://*") AND status="error"

🔗 References

📤 Share & Export