CVE-2021-25297
Exploited in the wild. In CISA KEV since 2022‑01‑18. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
- Nagios XiAffected: ≥ 5.5.6, ≤ 5.7.5Upgrade to: after 5.7.5Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether you run Nagios XI and whether it is at xi-5.7.5 (or a vendor-indicated affected release).
- Confirm whether your Nagios XI “switch” configuration wizard endpoint is reachable from anywhere outside your normal admin network.
- Upgrade Nagios XI to the latest vendor-supported version that fixes CVE-2021-25297, following the vendor upgrade instructions for your release line.
- Restrict access to Nagios XI so only trusted admin users/systems can reach it (and ensure only authorized accounts can log in).
Coverage timeline
0 publishersAdded to CISA KEV catalog
Sourced from public security reporting — each date is when it was published, not when it happened.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordCVE-2021-25297 is a command-injection bug in Nagios XI that lets a logged-in attacker run commands on your server; if you use Nagios XI (especially xi-5.7.5), you should act now.
CVE-2021-25297 is an OS command injection in Nagios XI (in /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php) where specially crafted HTTP input—sent by an authenticated user—can make the server execute arbitrary operating system commands via the server process.
If you're affected
- Full server command execution
- Service disruption and downtime
- Data theft from server access
- Worst-case ransomware enablement
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2022-01-18.
US federal agencies must remediate by 2022-02-01.
Apply updates per vendor instructions.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
57% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
A public exploit existed 120 days before the patch.
- Patch availablepatch available, record updated, record updated
- EPSS band changemoderate → highepss band change
- Patch availablerecord updated
- Patch availablerecord updated
- OpenVAS check added
- EPSS band changehigh → moderate
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored 8.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Nagios XI, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI