CVE-2018-20310

8.1 HIGH

📋 TL;DR

This vulnerability in Foxit Reader and PhantomPDF involves a race condition in the proxyDoAction function that can lead to stack-based buffer overflow or out-of-bounds read. Attackers could exploit this to execute arbitrary code or cause denial of service. Users of affected Foxit software versions are at risk.

💻 Affected Systems

Products:
  • Foxit Reader
  • Foxit PhantomPDF
Versions: Foxit Reader before 9.5; PhantomPDF before 8.3.10 and 9.x before 9.5
Operating Systems: Windows, Linux, macOS
Default Config Vulnerable: ⚠️ Yes
Notes: All default installations of affected versions are vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete system compromise, data theft, or ransomware deployment.

🟠

Likely Case

Application crash (denial of service) or limited information disclosure through memory reads.

🟢

If Mitigated

Application crash with no data loss if sandboxing or exploit mitigations are effective.

🌐 Internet-Facing: MEDIUM - Requires user interaction (opening malicious PDF) but common attack vector.
🏢 Internal Only: MEDIUM - Internal users could be targeted via phishing or malicious documents.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: MEDIUM

Race condition exploitation requires timing precision but has been demonstrated in proof-of-concept.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Foxit Reader 9.5+, PhantomPDF 8.3.10+ or 9.5+

Vendor Advisory: https://www.foxitsoftware.com/support/security-bulletins.php

Restart Required: No

Instructions:

1. Download latest version from Foxit website. 2. Run installer. 3. Follow installation prompts. 4. Verify version is 9.5 or higher for Reader, or 8.3.10/9.5+ for PhantomPDF.

🔧 Temporary Workarounds

Disable JavaScript in Foxit

all

Prevents exploitation via malicious JavaScript in PDFs

Open Foxit > File > Preferences > JavaScript > Uncheck 'Enable JavaScript'

Use alternative PDF reader

all

Temporarily switch to non-vulnerable PDF software

🧯 If You Can't Patch

  • Implement application whitelisting to block unauthorized Foxit execution
  • Deploy enhanced exploit mitigation (EMET, Windows Defender Exploit Guard)

🔍 How to Verify

Check if Vulnerable:

Check Foxit version via Help > About. If Reader version < 9.5 or PhantomPDF version < 8.3.10/9.5, system is vulnerable.

Check Version:

On Windows: wmic product where name like "Foxit%" get version

Verify Fix Applied:

Confirm version is Reader 9.5+ or PhantomPDF 8.3.10+/9.5+ in Help > About dialog.

📡 Detection & Monitoring

Log Indicators:

  • Application crashes of Foxit processes
  • Unusual process creation from Foxit executables

Network Indicators:

  • Downloads of PDF files from suspicious sources
  • Outbound connections after PDF opening

SIEM Query:

process_name:"FoxitReader.exe" AND (event_id:1000 OR event_id:1001)

🔗 References

📤 Share & Export