CVE-2021-25299 Cross-site scripting in n/a
An attacker can steal admin session cookies or achieve remote code execution via a malicious URL in Nagios XI.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-25299?
CVE-2021-25299 is a medium-severity cross-site scripting vulnerability in Nagios Nagios Xi, published on 15 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2021-25299?
It affects 1 product.
Products include Nagios Nagios Xi.
How do I fix CVE-2021-25299?
No fix has been published for CVE-2021-25299 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-25299 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25299 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Nagios Nagios Xi
Sources
Also known as GHSA-wc62-jg96-f7jf.