Skip to content
Server Security Center
KEVhigh8.8

CVE-2021-25298: Nagios XI OS Command Injection

Nagios XI · listed in the CISA catalog of actively exploited vulnerabilities since 2022-01-18.

CVSS v3.1 (CISA ADP)
8.8
high
EPSS (exploit probability, 30 days)
74%
higher than 99.4% of all CVEs
Added to CISA KEV
2022-01-18
US federal due date 2022-02-01
Automatable (CISA SSVC)
no
technical impact: total

CVE-2021-25298 explained

CVE-2021-25298 is an OS command injection vulnerability in Nagios XI, in the cloud-vm configuration wizard component. User-controlled input is not properly sanitized, so an authenticated user can cause commands to run on the Nagios XI server. CISA lists it as known to be exploited, which makes patching a priority.

Impact

An attacker with a low-privileged authenticated account can send a single HTTP request over the network to inject operating system commands on the Nagios XI server. No user interaction is needed. A successful attack can fully compromise confidentiality, integrity and availability. CISA rates the technical impact as total but considers it not automatable at scale. Attackers are known to exploit this vulnerability. Ransomware use is unknown.

Who is affected

The vulnerability description refers to Nagios XI version xi-5.7.5. The CVE record itself lists no structured affected versions, and it names no fixed version. This does not mean no fix exists. Check the Nagios vendor advisory for the versions that contain the fix, as CISA's required action is to apply updates per vendor instructions.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA required action: Apply updates per vendor instructions.

CISA notes

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: assets.nagios.com/downloads/nagiosxi/versions.php
  • CISA's deadline for US federal agencies: 2022-02-01 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Apply the Nagios XI updates per the vendor's instructions, as CISA requires.
  2. Confirm from the vendor advisory which Nagios XI version contains the fix and verify your installation runs it.
  3. Restrict network access to the Nagios XI web interface to trusted administrative networks only.
  4. Review Nagios XI user accounts, remove unneeded ones and enforce strong credentials.
  5. Check the Nagios XI server for signs of compromise, such as unexpected processes, files or account changes.

The CVE record names no fixed version. Follow the Nagios vendor advisory and CISA's required action to apply updates per vendor instructions. Until you confirm a fixed version is installed, limit access to the Nagios XI web interface to trusted networks, reduce the number of authenticated users and monitor the server for signs of compromise.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Questions about CVE-2021-25298

Does an attacker need an account to exploit CVE-2021-25298?
Yes. The vulnerability requires authentication with low privileges. Any user with such access could inject operating system commands on the Nagios XI server through a single HTTP request.
Is CVE-2021-25298 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-01-18, with a US federal due date of 2022-02-01. Whether it is used in ransomware campaigns is unknown.
Which version fixes the issue?
The CVE record names no fixed version. Consult the Nagios vendor advisory and apply updates per vendor instructions, as CISA requires.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.