VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2021-25297

⇱ NVD - CVE-2021-25297


  1. Vulnerabilities

CVE-2021-25297 Detail

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

 
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://nagios.com CVE, MITRE Product 
http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html CVE, MITRE Exploit  Third Party Advisory  VDB Entry 
http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html CVE, MITRE Exploit  Third Party Advisory  VDB Entry 
https://assets.nagios.com/downloads/nagiosxi/versions.php CVE, MITRE Exploit  Product 
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md CVE, MITRE Exploit  Third Party Advisory 
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297 CISA-ADP US Government Resource 
https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and CVE, MITRE Exploit  Third Party Advisory 

This CVE is in CISA's Known Exploited Vulnerabilities Catalog

Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.

Vulnerability Name Date Added Due Date Required Action
Nagios XI OS Command Injection 01/18/2022 02/01/2022 Apply updates per vendor instructions.

Weakness Enumeration

CWE-ID CWE Name Source
NVD-CWE-Other Other πŸ‘ cwe source acceptance level
NIST  
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CISA-ADP  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

19 change records found show changes

CVE Modified by CISA-ADP 6/16/2026 11:41:47 PM

Action Type Old Value New Value
Added SSVC
{"timestamp":"2025-02-04T19:46:39.479223Z","id":"CVE-2021-25297","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}


CVE Modified by MITRE 6/16/2026 11:41:47 PM

Action Type Old Value New Value
Added Affected
[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]


Modified Analysis by NIST 11/03/2025 10:13:58 AM

Action Type Old Value New Value
Added Reference Type
CISA-ADP: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297 Types: US Government Resource


CVE Modified by CISA-ADP 10/21/2025 8:17:25 PM

Action Type Old Value New Value
Added Reference
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297


CVE Modified by CISA-ADP 10/21/2025 4:18:22 PM

Action Type Old Value New Value
Removed Reference
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297


CVE Modified by CISA-ADP 10/21/2025 3:18:54 PM

Action Type Old Value New Value
Added Reference
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297


Modified Analysis by NIST 7/30/2025 3:11:27 PM

Action Type Old Value New Value

CVE Modified by CISA-ADP 7/29/2025 10:16:24 PM

Action Type Old Value New Value
Added CWE
CWE-78


Modified Analysis by NIST 3/14/2025 1:07:39 PM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:a:nagios:nagios_xi:5.7.5:*:*:*:*:*:*:*


OR
 *cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:* versions from (including) 5.5.6 from (including) 5.7.5


CVE Modified by CISA-ADP 2/04/2025 3:15:40 PM

Action Type Old Value New Value
Added CVSS V3.1
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H


CVE Modified by CVE 11/21/2024 12:54:42 AM

Action Type Old Value New Value
Added Reference
http://nagios.com


Added Reference
http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html


Added Reference
http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html


Added Reference
https://assets.nagios.com/downloads/nagiosxi/versions.php


Added Reference
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md


Added Reference
https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and


Modified Analysis by NIST 7/24/2024 12:46:23 PM

Action Type Old Value New Value
Changed Reference Type
http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html No Types Assigned


http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry


Changed Reference Type
https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and No Types Assigned


https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and Exploit, Third Party Advisory


CVE Modified by MITRE 5/14/2024 4:28:02 AM

Action Type Old Value New Value

CWE Remap by NIST 8/08/2023 10:21:49 AM

Action Type Old Value New Value
Changed CWE
CWE-78


NVD-CWE-Other


CVE Modified by MITRE 2/28/2023 9:15:51 PM

Action Type Old Value New Value
Added Reference
https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and [No Types Assigned]


CVE Modified by MITRE 2/08/2023 1:15:11 PM

Action Type Old Value New Value
Added Reference
http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html [No Types Assigned]


Modified Analysis by NIST 3/09/2021 3:20:16 PM

Action Type Old Value New Value
Changed Reference Type
http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html No Types Assigned


http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry


CVE Modified by MITRE 2/26/2021 1:15:14 PM

Action Type Old Value New Value
Added Reference
http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html [No Types Assigned]


Initial Analysis by NIST 2/18/2021 9:31:40 AM

Action Type Old Value New Value
Added CVSS V3.1
NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H


Added CVSS V2
NIST (AV:N/AC:L/Au:S/C:C/I:C/A:C)


Added CWE
NIST CWE-78


Added CPE Configuration
OR
 *cpe:2.3:a:nagios:nagios_xi:5.7.5:*:*:*:*:*:*:*


Changed Reference Type
http://nagios.com No Types Assigned


http://nagios.com Product


Changed Reference Type
https://assets.nagios.com/downloads/nagiosxi/versions.php No Types Assigned


https://assets.nagios.com/downloads/nagiosxi/versions.php Exploit, Product


Changed Reference Type
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md No Types Assigned


https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md Exploit, Third Party Advisory


Quick Info

CVE Dictionary Entry:
CVE-2021-25297
NVD Published Date:
02/15/2021
NVD Last Modified:
06/16/2026
Source:
MITRE