CVE-2021-25297
HIGH 8.8CVSS 3.1known exploitedNagios XI OS Command Injection
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.
- Published
- 15 Feb 2021
- Last modified
- 9 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-138CWE-78
- Sources
- NVDJSONCISA KEVJSON
In CISA's Known Exploited Vulnerabilities catalog since 18 Jan 2022; US federal agencies must fix it by 1 Feb 2022.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nagios | nagios_xicpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:* |
>= 5.5.6, <= 5.7.5 |
References
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry
- https://assets.nagios.com/downloads/nagiosxi/versions.php · Product
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md · Exploit, Third Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and · Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297 · US Government Resource
- https://nvd.nist.gov/vuln/detail/CVE-2021-25297
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Feb 2021)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 18 Jan 2022)
- 18 Jan 2022 00:00 UTC · Listed as known exploited