CVE-2022-40178 Cross-site scripting in Desigo PXM30-1

Medium 5.4 Published Updated

A remote low-privileged attacker can execute arbitrary JavaScript code by uploading a crafted graphics package to the Operation web application.

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

CVE-2022-40178 is a medium-severity cross-site scripting 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). Improper Neutralization of Input During Web Page Generation exists in the “Import Files“ functionality of the “Operation” web application, due to the missing validation of the titles of files included in the input package. By uploading a specifically crafted graphics package, a remote low-privileged attacker can execute arbitrary JavaScript code.

Weakness: CWE-79

Which versions are affected by CVE-2022-40178?

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

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-40178 being exploited?

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

Sources

Also known as GHSA-f5hf-7qmf-9r6x.

Is CVE-2022-40178 in your software?

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

Check your SBOMs for free