.. / CVE-2021-25296

Exploit for Nagios XI 5.5.6-5.7.5 - Authenticated Remote Command Injection (CVE-2021-25296)

Description:

Nagios XI 5.5.6 through 5.7.5 is susceptible to authenticated remote command injection. There is improper sanitization of authenticated user-controlled input by a single HTTP request via the file /usr/local/nagiosxi/html/includes/configwizards/windowswmi/windowswmi.inc.php. This in turn can lead to remote code execution, by which an attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.

Nuclei Template

View the template here CVE-2021-25296.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-25296.yaml
Copy

References:

http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html
https://nvd.nist.gov/vuln/detail/CVE-2021-25296
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md
http://nagios.com
https://github.com/rapid7/metasploit-framework/pull/17494