{"id":"CVE-2021-25298","title":"Nagios XI version xi-5.7.5 is affected by OS command injection","summary":"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 …","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-78"],"vendor":"nagios","product":"nagios_xi","affected":["nagios_xi >= 5.5.6, <= 5.7.5"],"published":"2021-02-15","updated":"2026-07-05","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-25298","references":[{"url":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html","label":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html","label":"cve@mitre.org"},{"url":"https://assets.nagios.com/downloads/nagiosxi/versions.php","label":"cve@mitre.org"},{"url":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md","label":"cve@mitre.org"},{"url":"https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and","label":"cve@mitre.org"},{"url":"http://nagios.com","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://assets.nagios.com/downloads/nagiosxi/versions.php","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25298","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","kev","in-the-wild","exploit-available"],"epss":0.75148,"epssPercentile":0.99499,"kev":true,"kevDateAdded":"2022-01-18","kevDueDate":"2022-02-01","kevRansomware":false,"exploited":true,"ingestedAt":"2026-07-05T02:00:01.405Z","exploits":{"metasploit":["exploit/linux/http/nagios_xi_configwizards_authenticated_rce"],"nuclei":["CVE-2021-25298"],"checkedAt":"2026-09-21T15:24:10.524Z"},"exploitAvailable":true,"slug":"CVE-2021-25298","body":"## Overview\n\nNagios 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.\n\n## Affected\n\n- `nagios_xi >= 5.5.6, <= 5.7.5`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"abyssal","depthScore":88,"depthScoreParts":{"impact":48.4,"likelihood":15,"exploitation":25,"ransomware":0},"changes":[{"seq":4509,"id":"CVE-2021-25298","ts":1788887186150,"field":"exploit_available","old":"false","new":"true"},{"seq":3392,"id":"CVE-2021-25298","ts":1788886303868,"field":"exploit_available","old":"true","new":"false"},{"seq":2247,"id":"CVE-2021-25298","ts":1788882973488,"field":"exploit_available","old":"false","new":"true"},{"seq":1276,"id":"CVE-2021-25298","ts":1788882385155,"field":"exploit_available","old":"true","new":"false"},{"seq":390,"id":"CVE-2021-25298","ts":1788881820508,"field":"exploit_available","old":"false","new":"true"}]}