CVE-2021-25297

8.8 HIGH CISA KEV - Actively Exploited
Published: February 15, 2021 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://nagios.com
Source: cve@mitre.org
Product
http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html
Source: cve@mitre.org
Exploit Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html
Source: cve@mitre.org
Exploit Third Party Advisory VDB Entry
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md
Source: cve@mitre.org
Exploit Third Party Advisory
http://nagios.com
Source: af854a3a-2127-422b-91ae-364da2661108
Product
http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
https://assets.nagios.com/downloads/nagiosxi/versions.php
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Product
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
US Government Resource

13 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.8 / 10.0
EPSS (Exploit Probability)
60.6%
98th percentile
Exploitation Status
Actively Exploited
Remediation due: 2022-02-01

Weaknesses (CWE)

Affected Vendors

nagios