CVE-2021-42082 Local Privilege Escalation to root in OSNEXUS QuantaStor before 6.0.0.355
Local attackers can execute arbitrary commands as root via command injection in the upgrade script, leading to full system compromise.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-42082?
CVE-2021-42082 is a high-severity command injection vulnerability in OSNEXUS QuantaStor, published on 10 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Local users are able to execute scripts under root privileges.
POC
On the local host run the following command:
curl 'localhost:8154/qstor/qs_upgrade.py?taskId=1&a=;`whoami`'
Weakness: CWE-269
Which versions are affected by CVE-2021-42082?
It affects 1 product.
Products include Osnexus Quantastor.
How do I fix CVE-2021-42082?
No fix has been published for CVE-2021-42082 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-42082 being exploited?
There is no known exploitation of CVE-2021-42082 in the wild and no public exploit code.
Other vulnerabilities in OSNEXUS QuantaStor
- CVE-2021-42081 Authenticated Remote Command Execution vulnerability in OSNEXUS QuantaStor before 6.0.0.355
- CVE-2021-4406 Authenticated Remote COmmand Execution as root in OSNEXUS QuantaStor version 6.0.0.355 and others
- CVE-2021-42083 Authenticated Stored XSS in OSNEXUS QuantaStor 6.0.0.335
- CVE-2021-42080 Reflected XSS vulnerability in OSNEXUS QuantaStor before 6.0.0.355
- CVE-2021-42079 SSRF vulnerability in OSNEXUS QuantaStor before 6.0.0.355
Sources
Also known as GHSA-3x7w-vvg2-w6r8.