CVE-2021-25297
CONFIRMED EXPLOITEDNagios XI OS Command Injection
Is Nagios Nagios XI affected by CVE-2021-25297?
Nagios Nagios XI is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2021-25297, added on 2022-01-18. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (1 vulnerable CPE entry): nagios nagios_xi.
Published CPE version bounds mark releases up to and including 5.7.5 as vulnerable. Confirm the patched release in the vendor advisory below before treating any upgrade as complete.
The CISA remediation deadline for this entry is 2022-02-01.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2021-25298Same productNagios Nagios XI
Nagios XI OS Command Injection
- CVE-2021-25296Same productNagios Nagios XI
Nagios XI OS Command Injection
- CVE-2019-15949Same productNagios Nagios XI
Nagios XI Remote Code Execution Vulnerability
- CVE-2026-133323Shared weaknessMitel MiCollab
Mitel MiCollab OS Command Injection Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Nagios XI contains a vulnerability which can lead to OS command injection on the Nagios XI server.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-01-18. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Nagios XI has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Nagios Nagios XI): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running Nagios Nagios XI and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://assets.nagios.com/downloads/nagiosxi/versions.phpProduct
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdExploitThird Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploitThird Party Advisory
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://assets.nagios.com/downloads/nagiosxi/versions.phpProduct
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdExploitThird Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploitThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting