CVE-2021-31476: Foxit PhantomPDF XFA Template Type Confusion Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.3.37598. 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 handling of XFA templates. The issue results from the lack of proper validation of user-supplied data, which can result in a type confusion condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-13531.
Other sources
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 handling of XFA templates. The issue results from the lack of proper validation of user-supplied data, which can result in a type confusion condition. 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 vulnerability ID?
The vulnerability ID is CVE-2021-31476.
What is the title of the vulnerability?
The title of the vulnerability is Foxit PhantomPDF XFA Template Type Confusion Remote Code Execution Vulnerability.
What is the severity of CVE-2021-31476?
The severity of CVE-2021-31476 is high with a severity value of 7.8.
What software is affected by this vulnerability?
Foxit PhantomPDF versions 9.7.5.29616 and 10.0.0.0 up to inclusive version 10.1.3.37598 are affected by this vulnerability.
How can this vulnerability be exploited?
This vulnerability can be exploited by remote attackers who can execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.3.37598. User interaction is required, such as visiting a malicious page or opening a malicious file.