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/switch/switch.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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://assets.nagios.com/downloads/nagiosxi/versions.phpProduct
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdExploit, Third Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploit, Third Party Advisory
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://assets.nagios.com/downloads/nagiosxi/versions.phpProduct
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdExploit, Third Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297US Government Resource
Timeline
- Published
- Feb 15, 2021
- Last modified
- Jul 9, 2026
- Added to CISA KEV
- Jan 18, 2022
- NVD status
- Analyzed