CVE-2023-5174

9.8 CRITICAL

📋 TL;DR

This CVE describes a use-after-free vulnerability in Firefox/Thunderbird on Windows when run in non-standard configurations (like using 'runas'). If exploited, it could allow arbitrary code execution or application crashes. Only affects Windows users running affected versions in specific configurations.

💻 Affected Systems

Products:
  • Firefox
  • Firefox ESR
  • Thunderbird
Versions: Firefox < 118, Firefox ESR < 115.3, Thunderbird < 115.3
Operating Systems: Windows
Default Config Vulnerable: ✅ No
Notes: Only affects Windows when run in non-standard configurations like using 'runas' command. Linux, macOS, and standard Windows configurations are unaffected.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to full system compromise, data theft, or malware installation.

🟠

Likely Case

Application crash (denial of service) or limited code execution within browser context.

🟢

If Mitigated

No impact if patched or using standard configurations on unaffected OS.

🌐 Internet-Facing: MEDIUM - Requires user interaction with malicious content but could be delivered via web.
🏢 Internal Only: LOW - Requires specific non-standard Windows configurations to be vulnerable.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires user interaction (visiting malicious site) and specific Windows configuration. No public exploit code identified in references.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Firefox 118+, Firefox ESR 115.3+, Thunderbird 115.3+

Vendor Advisory: https://www.mozilla.org/security/advisories/mfsa2023-41/

Restart Required: Yes

Instructions:

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

🔧 Temporary Workarounds

Avoid non-standard Windows configurations

windows

Do not run Firefox/Thunderbird using 'runas' or similar non-standard methods on Windows.

Use alternative browser temporarily

all

Switch to updated or unaffected browser until patching is complete.

🧯 If You Can't Patch

  • Disable JavaScript in browser settings to reduce attack surface.
  • Implement application whitelisting to prevent unauthorized code execution.

🔍 How to Verify

Check if Vulnerable:

Check browser version in About dialog and verify Windows configuration.

Check Version:

firefox --version (Linux) or check About Firefox (Windows/macOS)

Verify Fix Applied:

Confirm version is Firefox ≥118, Firefox ESR ≥115.3, or Thunderbird ≥115.3.

📡 Detection & Monitoring

Log Indicators:

  • Application crash logs from Firefox/Thunderbird
  • Windows Event Logs showing process creation failures

Network Indicators:

  • Unusual outbound connections from browser process

SIEM Query:

source="firefox.log" AND ("crash" OR "access violation") OR source="windows-security" AND process_name="firefox.exe" AND event_id="4688"

🔗 References

📤 Share & Export