CVE-2023-35985 Path traversal in Foxit Reader

High 8.8 Published Updated

Attackers can create arbitrary files via a malicious PDF, leading to code execution, requiring user interaction to open the file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-35985?

CVE-2023-35985 is a high-severity path traversal vulnerability in Foxitsoftware Foxit Reader, published on 27 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An arbitrary file creation vulnerability exists in the Javascript exportDataObject API of Foxit Reader 12.1.3.15356 due to a failure to properly validate a dangerous extension. A specially crafted malicious file can create files at arbitrary locations, which can lead to arbitrary code execution. An attacker needs to trick the user into opening the malicious file to trigger this vulnerability. Exploitation is also possible if a user visits a specially-crafted malicious site if the browser plugin extension is enabled.

Weakness: CWE-610, CWE-73

Which versions are affected by CVE-2023-35985?

It affects 1 product.

Products include Foxitsoftware Foxit Reader.

How do I fix CVE-2023-35985?

No fix has been published for CVE-2023-35985 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-2023-35985 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-35985 exists.

Public exploit code: 2 proofs of concept on GitHub.

All Foxitsoftware Foxit Reader vulnerabilities

Sources

Also known as GHSA-9gj5-q54r-hcpr.

Is CVE-2023-35985 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free