CVE-2021-42022 Path traversal in SIMATIC eaSie PCS 7 Skill Package
Attackers can read critical files outside the restricted directory via path traversal in the file download function, which is disabled by default.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-42022?
CVE-2021-42022 is a medium-severity path traversal vulnerability in Siemens SIMATIC eaSie PCS 7 Skill Package, published on 14 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been identified in SIMATIC eaSie PCS 7 Skill Package (All versions < V21.00 SP3). When downloading files, the affected systems do not properly neutralize special elements within the pathname. An attacker could then cause the pathname to resolve to a location outside of the restricted directory on the server and read unexpected critical files. The affected file download function is disabled by default.
Weakness: CWE-22
Which versions are affected by CVE-2021-42022?
It affects 1 product.
Products include Siemens Simatic Easie Pcs 7 Skill.
How do I fix CVE-2021-42022?
No fix has been published for CVE-2021-42022 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-42022 being exploited?
There is no known exploitation of CVE-2021-42022 in the wild and no public exploit code.
Sources
Also known as GHSA-p462-h5xx-px29.