Files
CVEs-PoC/2021/CVE-2021-25299.md
T
2024-05-25 21:48:12 +02:00

20 lines
1.0 KiB
Markdown

### [CVE-2021-25299](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25299)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md
#### Github
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs