CVE-2018-17692: Foxit PhantomPDF HTML2PDF HTML Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit PhantomPDF 9.2.0.9297. 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 HTML files to PDF. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated structure. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-7129.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on vulnerable 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 HTML files to PDF. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated structure. An attacker can leverage this vulnerability to execute code in the context of the current process.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2018-17692?
CVE-2018-17692 is classified as a critical vulnerability due to its ability to allow remote code execution.
How do I fix CVE-2018-17692?
To fix CVE-2018-17692, update your Foxit PhantomPDF installation to version 9.2.0.9298 or later.
Who is affected by CVE-2018-17692?
CVE-2018-17692 affects users of Foxit PhantomPDF version 9.2.0.9297 and earlier.
What type of attack is CVE-2018-17692 associated with?
CVE-2018-17692 is associated with remote code execution attacks that require user interaction.
Is Foxit Reader also vulnerable to CVE-2018-17692?
Yes, Foxit Reader version 9.2.0.9297 is also vulnerable to CVE-2018-17692, similar to PhantomPDF.