CVE-2021-40222 Command injection in n/a
Remote attackers can inject shell commands via the hostname field to execute code as root on Rittal CMC PU III devices.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-40222?
CVE-2021-40222 is a high-severity command injection vulnerability in n/a, published on 9 Sep 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Rittal CMC PU III Web management Version affected: V3.11.00_2. Version fixed: V3.17.10 is affected by a remote code execution vulnerablity. It is possible to introduce shell code to create a reverse shell in the PU-Hostname field of the TCP/IP Configuration dialog. Web application fails to sanitize user input on Network TCP/IP configuration page. This allows the attacker to inject commands as root on the device which will be executed once the data is received.
Weakness: CWE-78
Which versions are affected by CVE-2021-40222?
It affects 1 product.
Products include Rittal Cmc Pu Iii 7030.000 Firmware.
How do I fix CVE-2021-40222?
No fix has been published for CVE-2021-40222 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-2021-40222 being exploited?
There is no known exploitation of CVE-2021-40222 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cxf9-4ff5-hx4j.