CVE-2021-25298 — Fs0c-sh
HIGHCVE-2021-25298 is a high-severity (CVSS 8.8) OS Command Injection vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2022-01-18) — treat it as actively exploited and patch now. No vendor fix is recorded yet; mitigation options are listed below.
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…
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2022-01-18. Federal agencies were required to remediate by 2022-02-01.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2021-25298.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-25298 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the 50–90% band (highlighted). Counts from FIRST.org, log-scaled.
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.
Affected Products
nagios xinagiosResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Nagios XI version xi-5.7.5 is affected by OS command injection. The vuln…
Nagios XI version xi-5.7.5 is affected by OS command injection. The vuln…
Nagios XI version xi-5.7.5 is affected by OS command injection. The vuln…
Nagios XI version xi-5.7.5 is affected by OS command injection. The vuln…
Nagios XI version xi-5.7.5 is affected by OS command injection. The vuln…
Nagios XI version xi-5.7.5 is affected by OS command injection. The vuln…
Nagios XI version xi-5.7.5 is affected by OS command injection. The vuln…
Nagios XI version xi-5.7.5 is affected by OS command injection. The vuln…
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Remediation status
No fixed release is recorded for CVE-2021-25298 yet. Track the upstream advisory, and apply the exposure-reduction steps below in the meantime.
Mitigate without a patch
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect CVE-2021-25298
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2021-25298 -u https://target- Template
- Nagios XI 5.5.6-5.7.5 - Authenticated Remote Command Injection
- Severity
- high
- Impact
- Successful exploitation of this vulnerability allows an authenticated attacker to execute arbitrary commands on the target system.
- Remediation
- Upgrade Nagios XI to a patched version or apply the vendor-supplied patch to mitigate this vulnerability.
Template by ProjectDiscovery nuclei-templates (k0pak4), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2021-25298 in your dependencies?
Find it across , including transitive dependencies.