CVE-2021-25298
CVE-2021-25298 is a high-severity vulnerability in Nagios Nagios Xi with a CVSS 3.x base score of 8.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2022-01-18). The underlying weakness is classified as CWE-78.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v2: 9.0
- EPSS exploit prediction: 75% (99th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2022-01-18)
- EU (EUVD) id: EUVD-2021-12198
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2022-01-18)
- Weakness: CWE-78
- Affected product: Nagios Nagios Xi
- Published:
- Last modified:
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/cloud-vm/cloud-vm.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.
Frequently asked questions
- What is CVE-2021-25298?
- 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/cloud-vm/cloud-vm.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.
- How severe is CVE-2021-25298?
- CVE-2021-25298 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-25298 being actively exploited?
- Yes. CVE-2021-25298 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2022-01-18, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2021-25298?
- CVE-2021-25298 affects Nagios Nagios Xi. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-25298?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2021-25298 have an EU (EUVD) identifier?
- Yes. CVE-2021-25298 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2021-12198. It is also flagged as exploited in the EUVD (since 2022-01-18).
- When was CVE-2021-25298 published?
- CVE-2021-25298 was published on 2021-02-15 and last updated on 2026-07-09.
References
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html
- https://assets.nagios.com/downloads/nagiosxi/versions.php
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25298
EU advisories (EUVD)
Affected products (1)
- cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*
More vulnerabilities in Nagios Nagios Xi
- CVE-2024-14003 — Critical (CVSS 9.8): Nagios XI versions prior to 2024R1.2 are vulnerable to remote code execution (RCE) through its NRDP (Nagios Remote…
- CVE-2024-13999 — Critical (CVSS 9.8): Nagios XI versions prior to 2024R1.1.3, under certain circumstances, disclose the server's Active Directory (AD) or…
- CVE-2024-13996 — Critical (CVSS 9.8): Nagios XI versions prior to 2024R1.1.3 did not invalidate all other active sessions for a user when that user's…
- CVE-2024-13994 — Critical (CVSS 9.8): Nagios XI versions prior to 2024R1.1.2 contain a missing authorization control when the 'Allow Insecure Logins'…
- CVE-2012-10063 — Critical (CVSS 9.8): Nagios XI versions prior to 2012R1.3 contain a SQL injection vulnerability in the legacy Core Configuration Manager…
- CVE-2024-33775 — Critical (CVSS 9.8): An issue with the Autodiscover component in Nagios XI 2024R1.01 allows a remote attacker to escalate privileges via a…
All CVEs affecting Nagios Nagios Xi →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-19188 — Critical (CVSS 10.0): A critical OS command injection vulnerability has been identified in the Haiwell IoT Cloud HMI Gateway product. The…
- CVE-2026-48362 — Critical (CVSS 10.0): ColdFusion is affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')…
- CVE-2026-16812 — Critical (CVSS 10.0): VeloCloud Orchestrator (VCO) on-prem has a security issue where this issue may allow a remote attacker to access…
- CVE-2026-6516 — Critical (CVSS 10.0): Zohocorp ManageEngine ADAudit Plus versions before 8606 are affected by Unauthenticated Remote code execution due to…
- CVE-2026-46339 — Critical (CVSS 10.0): 9Router is an AI router & token saver. From 0.4.30 until 0.4.37, 9Router's src/proxy.js middleware did not protect…
- CVE-2026-59726 — Critical (CVSS 10.0): Ruflo is an agent meta-harness for Claude Code and Codex. Prior to 3.16.3, ruflo's default docker-compose deployment…