CVE-2022-24039 Code injection in Desigo PXC4

Critical 9.0 Published Updated

An attacker with restricted privileges can inject malicious XML into reports, leading to remote code execution on the administrator's workstation.

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

CVE-2022-24039 is a critical code injection vulnerability in Siemens Desigo PXC4, published on 10 May 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 PXC4 (All versions < V02.20.142.10-10884), Desigo PXC5 (All versions < V02.20.142.10-10884). The “addCell” JavaScript function fails to properly sanitize user-controllable input before including it into the generated XML body of the XLS report document, such that it is possible to inject arbitrary content (e.g., XML tags) into the generated file. An attacker with restricted privileges, by poisoning any of the content used to generate XLS reports, could be able to leverage the application to deliver malicious files against higher-privileged users and obtain Remote Code Execution (RCE) against the administrator’s workstation.

Weakness: CWE-75

Which versions are affected by CVE-2022-24039?

It affects 2 products.

Products include Siemens Desigo Pxc4 Firmware, Siemens Desigo Pxc5 Firmware.

How do I fix CVE-2022-24039?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-24039 being exploited?

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

Sources

Also known as GHSA-5ffq-g4qh-w8q3.

Is CVE-2022-24039 in your software?

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

Check your SBOMs for free