CVE-2023-37208

7.8 HIGH

📋 TL;DR

Firefox and Thunderbird failed to warn users when opening Diagcab files, which could contain malicious code. This vulnerability allows attackers to execute arbitrary code by tricking users into opening specially crafted Diagcab files. Affects Firefox versions before 115, Firefox ESR before 102.13, and Thunderbird before 102.13.

💻 Affected Systems

Products:
  • Mozilla Firefox
  • Mozilla Firefox ESR
  • Mozilla Thunderbird
Versions: Firefox < 115, Firefox ESR < 102.13, Thunderbird < 102.13
Operating Systems: Windows, Linux, macOS
Default Config Vulnerable: ⚠️ Yes
Notes: All default configurations are vulnerable. Diagcab files are Windows diagnostic cabinet files that can contain executable content.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution with user privileges, leading to full system compromise, data theft, or ransomware deployment.

🟠

Likely Case

Malware installation through social engineering, potentially leading to credential theft or system compromise.

🟢

If Mitigated

No impact if users avoid opening untrusted Diagcab files or if browser is patched.

🌐 Internet-Facing: MEDIUM - Requires user interaction to open malicious file, but common in web browsing scenarios.
🏢 Internal Only: LOW - Internal users would need to receive malicious Diagcab files through email or internal systems.

🎯 Exploit Status

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

Exploitation requires user interaction to open malicious Diagcab file. No authentication required for the file opening action.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Firefox 115, Firefox ESR 102.13, Thunderbird 102.13

Vendor Advisory: https://bugzilla.mozilla.org/show_bug.cgi?id=1837675

Restart Required: Yes

Instructions:

1. Open Firefox/Thunderbird. 2. Click menu → Help → About Firefox/Thunderbird. 3. Allow automatic update check and installation. 4. Restart browser when prompted.

🔧 Temporary Workarounds

Disable Diagcab file handling

all

Configure system to not open Diagcab files with Firefox/Thunderbird

Windows: Use Default Programs settings to change .diagcab file association
Linux: Update mimeapps.list to remove Firefox/Thunderbird from diagcab handling

User education and policy

all

Train users to avoid opening Diagcab files from untrusted sources

🧯 If You Can't Patch

  • Implement application whitelisting to block execution of unauthorized code
  • Use network filtering to block download of Diagcab files from untrusted sources

🔍 How to Verify

Check if Vulnerable:

Check browser version in About dialog. If Firefox < 115, Firefox ESR < 102.13, or Thunderbird < 102.13, system is vulnerable.

Check Version:

firefox --version || thunderbird --version

Verify Fix Applied:

Confirm version is Firefox ≥ 115, Firefox ESR ≥ 102.13, or Thunderbird ≥ 102.13. Test by attempting to open a Diagcab file - should now show warning.

📡 Detection & Monitoring

Log Indicators:

  • Browser logs showing Diagcab file processing
  • System logs showing unexpected process execution after file open

Network Indicators:

  • Downloads of .diagcab files from untrusted sources
  • Outbound connections to suspicious IPs after file open

SIEM Query:

source="browser_logs" AND (file_extension=".diagcab" OR process_name="diagcab")

🔗 References

📤 Share & Export