CVE-2021-25296Nagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file…
- 8.8HighCVSS base score
- 71.9%Exploitation in 30 daysEPSS · top 0.6% of all CVEs
- YesKnown exploitedin CISA's KEV since 18 Jan 2022
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Nagios XI OS Command Injection.
- Added
- 18 Jan 2022
- Fix due (US federal)
- 1 Feb 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 18 Jan 2022.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits2
Metasploit modules1 module
- Nagios XI 5.5.6 to 5.7.5 - ConfigWizards Authenticated Remote Code Exection (Metasploit module) (opens in a new tab)
exploit/linux/http/nagios_xi_configwizards_authenticated_rceRank excellentdisclosed 13 Feb 2021
Nuclei templates1 template
- Nagios XI 5.5.6-5.7.5 - Authenticated Remote Command Injection (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-25296.yamlSeverity high
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 28 days later
· 28 days later
Published
- 11 months later
· 11 months later
Added to CISA KEV
Known exploited in the wild
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 71.9% · top 0.6% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
n/a
- affected n/a
References
References6
- https://assets.nagios.com/downloads/nagiosxi/versions.php (opens in a new tab)x_transferred
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and (opens in a new tab)x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25296 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-12196 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-25296)Record last updated .