Advisory Details

October 22nd, 2019

Foxit PhantomPDF Dwg2Pdf DXF File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-19-915
ZDI-CAN-9276

CVE ID CVE-2019-17145
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Foxit
AFFECTED PRODUCTS PhantomPDF
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the conversion of DXF files to PDF. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS

The plugin Dwg2Pdf is End of Life and will not be included in Foxit Reader version 9.7 and higher.


DISCLOSURE TIMELINE
  • 2019-08-13 - Vulnerability reported to vendor
  • 2019-10-22 - Coordinated public release of advisory
  • 2019-11-01 - Advisory Updated
CREDIT Mat Powell of Trend Micro Zero Day Initiative
BACK TO ADVISORIES