CVE-2021-34597 Phoenix Contact: PC Worx/-Express prone to improper input validation vulnerability

High 7.8 Published Updated

Attackers can use manipulated project files to unpack arbitrary files outside the intended directory in Phoenix Contact PC Worx.

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-2021-34597?

CVE-2021-34597 is a high-severity path traversal vulnerability in Phoenix Contact PC Worx, published on 4 Nov 2021. 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

Improper Input Validation vulnerability in PC Worx Automation Suite of Phoenix Contact up to version 1.88 could allow an attacker with a manipulated project file to unpack arbitrary files outside of the selected project directory.

Weakness: CWE-20

Which versions are affected by CVE-2021-34597?

It affects 2 products.

Products include Phoenixcontact Pc Worx, Phoenixcontact Pc Worx Express.

How do I fix CVE-2021-34597?

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

There is no known exploitation of CVE-2021-34597 in the wild and no public exploit code.

Sources

Also known as GHSA-m8p2-4fmh-2gr9.

Is CVE-2021-34597 in your software?

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

Check your SBOMs for free