7.8
HIGH
CVE-2021-27271
Foxit PhantomPDF Out-of-Bounds Read Arbitrary Code Execution Vulnerability
Description

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.0.37527. 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 U3D objects embedded in PDF files. The issue results from the lack of proper validation of user-supplied data, which can result in an out-of-bounds read condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-12438.

INFO

Published Date :

March 30, 2021, 3:15 p.m.

Last Modified :

Sept. 27, 2022, 5:53 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2021-27271 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-27271 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Foxitsoftware foxit_reader
2 Foxitsoftware phantompdf
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-27271.

URL Resource
https://www.foxitsoftware.com/support/security-bulletins.php Vendor Advisory
https://www.zerodayinitiative.com/advisories/ZDI-21-353/ Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVEs and Techniques used PDF as an attack vector.

Updated: 2 months, 2 weeks ago
54 stars 12 fork 12 watcher
Born at : June 22, 2022, 6:01 a.m. This repo has been linked 701 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-27271 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-27271 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Sep. 27, 2022

    Action Type Old Value New Value
    Removed CWE NIST CWE-787
    Added CWE NIST CWE-125
  • CVE Modified by [email protected]

    Sep. 26, 2022

    Action Type Old Value New Value
    Changed Description This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.0.37527. 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 U3D objects embedded in PDF files. The issue results from the lack of proper validation of user-supplied data, which can result in a memory corruption condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-12438. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.0.37527. 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 U3D objects embedded in PDF files. The issue results from the lack of proper validation of user-supplied data, which can result in an out-of-bounds read condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-12438.
    Removed CWE Zero Day Initiative CWE-119
    Added CWE Zero Day Initiative CWE-125
    Removed CWE Reason CWE-119 / More specific CWE option available
  • Reanalysis by [email protected]

    Apr. 25, 2022

    Action Type Old Value New Value
    Added CWE NIST CWE-787
  • Initial Analysis by [email protected]

    Apr. 01, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.foxitsoftware.com/support/security-bulletins.php No Types Assigned https://www.foxitsoftware.com/support/security-bulletins.php Vendor Advisory
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-21-353/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-21-353/ Third Party Advisory, VDB Entry
    Added CPE Configuration AND OR *cpe:2.3:a:foxitsoftware:foxit_reader:*:*:*:*:*:*:*:* versions up to (including) 10.1.0.37527 *cpe:2.3:a:foxitsoftware:phantompdf:*:*:*:*:*:*:*:* versions up to (including) 10.1.0.37527 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-27271 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-27271 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.21 }} -0.04%

score

0.59031

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability