CVE-2021-40223 Cross-site scripting in n/a

Medium 5.4 Published Updated

An attacker can inject malicious scripts into the Rittal CMC PU III web interface, potentially executing code or hijacking user sessions.

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-2021-40223?

CVE-2021-40223 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Sep 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Rittal CMC PU III Web management (version V3.11.00_2) fails to sanitize user input on several parameters of the configuration (User Configuration dialog, Task Configuration dialog and set logging filter dialog). This allows an attacker to backdoor the device with HTML and browser-interpreted content (such as JavaScript or other client-side scripts). The XSS payload will be triggered when the user accesses some specific sections of the application.

Weakness: CWE-79

Which versions are affected by CVE-2021-40223?

It affects 1 product.

Products include Rittal Cmc Pu Iii 7030.000 Firmware.

How do I fix CVE-2021-40223?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-p463-qxf4-3j5v.

Is CVE-2021-40223 in your software?

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

Check your SBOMs for free