CVE-2021-25296 Nagios XI OS Command Injection
Authenticated attackers can execute arbitrary OS commands on Nagios XI servers via improper input sanitization in the Windows WMI configuration wizard.
- Exploited in the wild
- Since 18 Jan 2022
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-25296?
CVE-2021-25296 is a high-severity command injection vulnerability in Nagios Nagios Xi, published on 15 Feb 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Nagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file /usr/local/nagiosxi/html/includes/configwizards/windowswmi/windowswmi.inc.php due to improper sanitization of authenticated user-controlled input by a single HTTP request, which can lead to OS command injection on the Nagios XI server.
Which versions are affected by CVE-2021-25296?
It affects 1 product.
Products include Nagios Nagios Xi.
How do I fix CVE-2021-25296?
No fix has been published for CVE-2021-25296 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 1 Feb 2022.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-25296 being exploited?
Yes. Attackers have exploited CVE-2021-25296 in the wild since at least 18 Jan 2022.
Public exploit code: 1 Metasploit module and 1 Nuclei template.
Other vulnerabilities in Nagios Nagios Xi
Sources
Also known as GHSA-8hgr-54hv-7pgc.