RULE(RULE ID:333428)

Rule General Information
Release Date: 2021-04-09
Rule Name: Nagios XI 5.7.5 XSS Vulnerability (CVE-2021-25299)
Severity:
CVE ID:
Rule Protection Details
Description: Nagios XI version xi-5.7.5 is affected by cross-site scripting (XSS). The vulnerability exists in the file /usr/local/nagiosxi/html/admin/sshterm.php due to improper sanitization of user-controlled input. A maliciously crafted URL, when clicked by an admin user, can be used to steal his/her session cookies or it can be chained with the previous bugs to get one-click remote command execution (RCE) on the Nagios XI server.
Impact: An attacker can conduct a cross-site scripting attack to inject malicious client-side scripts into web pages viewed by other users, or to bypass access controls such as the same-origin policy, if affected version is installed.
Affected OS: Windows, Linux, Others
Reference: http://nagios.com
http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html
https://assets.nagios.com/downloads/nagiosxi/versions.php
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md
Solutions
The vendor has released upgrade patches to fix vulnerabilities, please visit:
https://www.nagios.com/