CVE-2021-22797 Path traversal in EcoStruxure Control Expert

High 7.8 Published Updated

Path traversal allows attackers to deploy malicious scripts via project files, leading to code execution on engineering workstations.

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-22797?

CVE-2021-22797 is a high-severity path traversal vulnerability in Schneider Electric EcoStruxure Control Expert, published on 28 Mar 2022. 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

A CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal) vulnerability exists that could cause malicious script to be deployed in an unauthorized location and may result in code execution on the engineering workstation when a malicious project file is loaded in the engineering software. Affected Product: EcoStruxure Control Expert (V15.0 SP1 and prior, including former Unity Pro), EcoStruxure Process Expert (2020 and prior, including former HDCS), SCADAPack RemoteConnect for x70 (All versions)

Weakness: CWE-22

Which versions are affected by CVE-2021-22797?

It affects 3 products.

Products include Schneider-Electric Ecostruxure Control Expert, Schneider-Electric Ecostruxure Process Expert, Schneider-Electric Remoteconnect.

How do I fix CVE-2021-22797?

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

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

Sources

Also known as GHSA-qqgr-6jmg-cwgv.

Is CVE-2021-22797 in your software?

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

Check your SBOMs for free