CVE-2021-42165 Command injection in n/a
Authenticated attackers can execute arbitrary commands to gain root access on MitraStar HGU devices due to improper input sanitization.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-42165?
CVE-2021-42165 is a high-severity command injection vulnerability in n/a, published on 3 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
MitraStar GPT-2541GNAC-N1 (HGU) 100VNZ0b33 devices allow remote authenticated users to obtain root access by executing command "deviceinfo show file &&/bin/bash" because of incorrect sanitization of parameter "path".
Weakness: CWE-78
Which versions are affected by CVE-2021-42165?
It affects 1 product.
Products include Mitrastar Gpt-2541gnac-N1 Firmware.
How do I fix CVE-2021-42165?
No fix has been published for CVE-2021-42165 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-42165 being exploited?
There is no known exploitation of CVE-2021-42165 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-28rf-jqpf-2x8g.