VulnerabilityAnalyzed
CVE-2021-25298
Nagios XI OS Command Injection
KEVHIGH 8.8EPSS 75.1%
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 1 February 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 75.15% probability · 99th percentile
- CISA KEV
- Listed 18 January 2022 · due 1 February 2022
- Weakness
- CWE-78
- Affected
- nagios/nagios xi
- Source
- cve@mitre.org
CISA notes
Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2021-25298
References
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://assets.nagios.com/downloads/nagiosxi/versions.phpProduct
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdExploit, Third Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploit, Third Party Advisory
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://assets.nagios.com/downloads/nagiosxi/versions.phpProduct
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdExploit, Third Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25298US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.