CVE-2021-4406 Authenticated Remote COmmand Execution as root in OSNEXUS QuantaStor version 6.0.0.355 and others

Critical 9.1 Published Updated

Authenticated attackers can execute arbitrary commands as root via webhook injection in OSNEXUS QuantaStor alert manager.

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-4406?

CVE-2021-4406 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 attacker is able to create alerts that trigger a stored XSS attack.

POC

* go to the alert manager

* open the ITSM tab * add a webhook with the URL/service token value

' -h && id | tee /tmp/ttttttddddssss #' (whitespaces are tab characters)

* click add

* click apply

* create a test alert

* The test alert will run the command

“id | tee /tmp/ttttttddddssss” as root.

* after the test alert inspect

/tmp/ttttttddddssss it'll contain the ids of the root user.

Weakness: CWE-77

Which versions are affected by CVE-2021-4406?

It affects 1 product.

Products include Osnexus Quantastor.

How do I fix CVE-2021-4406?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-4406 exists.

Sources

Also known as GHSA-2xf9-j9jw-g7f7.

Is CVE-2021-4406 in your software?

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

Check your SBOMs for free