CVE-2021-25297

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.

Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
58.114%
chance of exploitation in the next 30 days
higher than 99.1% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-01-18
Public exploit code
Yes
Exploit references (NVD and CNA): 4
Metasploit modules: 1
Nuclei templates: 1

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameNagios XI OS Command Injection
Vendor / productNagios / Nagios XI
Date added2022-01-18
Federal remediation due date2022-02-01
Required actionApply updates per vendor instructions.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2025-02-04

Timeline

  1. 2021-02-15Published by the CNA00:00 UTC
  2. 2022-01-18Added to the CISA KEV catalog337 days after publication
  3. 2025-02-04CISA SSVC decision recorded1450 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
nagios nagios_xifrom 5.5.6 through 5.7.5no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources