CVE-2021-42081 Authenticated Remote Command Execution vulnerability in OSNEXUS QuantaStor before 6.0.0.355
An authenticated administrator can execute arbitrary shell commands via the API in OSNEXUS QuantaStor.
- 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-42081?
CVE-2021-42081 is a critical command injection vulnerability in OSNEXUS QuantaStor, published on 10 Jul 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An authenticated administrator is allowed to remotely execute arbitrary shell commands via the API.
POC http://<IP_ADDRESS>/qstorapi/storageSystemModify?storageSystem=&newName=quantastor&newDescription=;ls${IFS}-al&newLocation=4&newEnclosureLayoutId=5&newDnsServerList=;ls${IFS}-al&externalHostName=&newNTPServerList=;ls${IFS}-al
Weakness: CWE-78
Which versions are affected by CVE-2021-42081?
It affects 1 product.
Products include Osnexus Quantastor.
How do I fix CVE-2021-42081?
No fix has been published for CVE-2021-42081 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-42081 being exploited?
There is no known exploitation of CVE-2021-42081 in the wild and no public exploit code.
Other vulnerabilities in OSNEXUS QuantaStor
- 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-42082 Local Privilege Escalation to root in OSNEXUS QuantaStor before 6.0.0.355
- 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-7g9g-whvg-fhcj.