RCE in Osnexus Quantastor
CVE-2021-4406
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 62.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Osnexus Quantastor — versions 0
Weakness classification (CWE)
References
- csirt.divd.nl/DIVD-2021-00020/ (third-party-advisory)
- www.osnexus.com/products/software-defined-storage (Product, product)
- csirt.divd.nl/CVE-2021-4406 (technical-description, Third Party Advisory, exploit, third-party-advisory)
- www.divd.nl/DIVD-2021-00020
- csirt.divd.nl/cves/CVE-2021-4406/