CVE-2020-10892 Path traversal in PhantomPDF
Remote attackers can execute arbitrary code by tricking users into opening malicious files that exploit an arbitrary file write flaw in the CombineFiles command.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-10892?
CVE-2020-10892 is a high-severity path traversal vulnerability in Foxitsoftware Phantompdf, published on 22 Apr 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.7.0.29478. 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 communication API. The issue lies in the handling of the CombineFiles command, which allows an arbitrary file write with attacker controlled data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-9830.
Weakness: CWE-352
Which versions are affected by CVE-2020-10892?
It affects 2 products.
Products include Foxitsoftware Phantompdf, Foxitsoftware Reader.
How do I fix CVE-2020-10892?
No fix has been published for CVE-2020-10892 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-10892 being exploited?
There is no known exploitation of CVE-2020-10892 in the wild and no public exploit code.
Other vulnerabilities in Foxitsoftware Phantompdf
Sources
Also known as GHSA-4h3x-gr3p-q99h.