CVE-2022-40176 Command injection in Desigo PXM30-1

High 8.0 Published Updated

A remote low-privileged attacker can execute arbitrary system commands with root privileges by restoring a crafted package on Siemens Desigo PXM devices.

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

What is CVE-2022-40176?

CVE-2022-40176 is a high-severity command injection vulnerability in Siemens Desigo PXM30-1, published on 11 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability has been identified in Desigo PXM30-1 (All versions < V02.20.126.11-41), Desigo PXM30.E (All versions < V02.20.126.11-41), Desigo PXM40-1 (All versions < V02.20.126.11-41), Desigo PXM40.E (All versions < V02.20.126.11-41), Desigo PXM50-1 (All versions < V02.20.126.11-41), Desigo PXM50.E (All versions < V02.20.126.11-41), PXG3.W100-1 (All versions < V02.20.126.11-37), PXG3.W100-2 (All versions < V02.20.126.11-41), PXG3.W200-1 (All versions < V02.20.126.11-37), PXG3.W200-2 (All versions < V02.20.126.11-41). There exists an Improper Neutralization of Special Elements used in an OS Command with root privileges during a restore operation due to the missing validation of the names of files included in the input package. By restoring a specifically crafted package, a remote low-privileged attacker can execute arbitrary system commands with root privileges on the device, leading to a full compromise.

Weakness: CWE-78

Which versions are affected by CVE-2022-40176?

It affects 10 products.

Products include Siemens Desigo Pxm30-1 Firmware, Siemens Desigo Pxm30.e Firmware, Siemens Desigo Pxm40-1 Firmware, Siemens Desigo Pxm40.e Firmware, Siemens Desigo Pxm50-1 Firmware, Siemens Desigo Pxm50.e Firmware and 4 more.

How do I fix CVE-2022-40176?

No fix has been published for CVE-2022-40176 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-40176 being exploited?

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

Sources

Also known as GHSA-f4pq-rpfq-ggjx.

Is CVE-2022-40176 in your software?

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

Check your SBOMs for free