CVE-2021-25297: Nagios XI OS Command Injection
Vulnerability summary
CVE-2021-25297 is a high (CVSS 9.0) OS Command Injection vulnerability in Nagios Nagios XI. It is known to be exploited: CISA lists it, first on 18-01-2022. EPSS estimates a 56.66% chance of exploitation in the next 30 days, higher than 99% of scored vulnerabilities. 5 public exploits are recorded.
Timeline
- 15-02-2021PublishedVulnerability first disclosed.
- 18-01-2022Added to CISA KEVNagios XI OS Command Injection
- 01-02-2022CISA remediation dueApply updates per vendor instructions.
- 09-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
56.66%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 56.66% on 21-09-2026
Known exploited
Compare KEV catalogs- Added
- 18-01-2022
- Federal due date
- 01-02-2022
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2021-25297
Public exploits
5 foundNagios Xi 5.7.5 Bugs
Maturity: poc
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Nagios1 product
- nagios_xi≥ 5.5.6, ≤ 5.7.5
1 vendor · 1 product
References
6 links- packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploitThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297Government ResourceUS Government Resource