CVE-2021-25299
Nagios XI 5.7.5 - Cross-Site Scripting
Record summary
CVE-2021-25299 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
Nuclei templates
1ProjectDiscoveryMEDIUMNagios XI 5.7.5 - Cross-Site ScriptingCVSS 6.1
Nagios XI 5.7.5 contains a cross-site scripting vulnerability 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 session cookies, or it can be chained with the previous bugs to get one-click remote command execution on the Nagios XI server.
Impact
Attackers can craft malicious URLs containing JavaScript that executes when clicked by admin users, potentially stealing session cookies that can be chained with other vulnerabilities for one-click remote command execution and complete Nagios XI server compromise.
Remediation
Upgrade Nagios XI to the latest version or apply the provided patch to fix the XSS vulnerability.
Source: ProjectDiscovery