nuclei-templates/http/misconfiguration/drupal/drupal-user-enum-redirect.yaml

43 lines
1.0 KiB
YAML

id: drupal-user-enum-redirect
info:
name: Drupal User Enumeration [Redirect]
author: 0w4ys
severity: info
classification:
cpe: cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 4
vendor: drupal
product: drupal
shodan-query: http.component:"Drupal"
tags: drupal,misconfig
http:
- method: GET
path:
- "{{BaseURL}}/user/0"
- "{{BaseURL}}/user/1"
- "{{BaseURL}}/user/2"
- "{{BaseURL}}/user/3"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
regex:
- '(?i)Location: https?:\/\/[\w\.\-]+[:\/\w-]*\/users\/\w+'
part: header
- type: status
status:
- 301
extractors:
- type: regex
part: header
regex:
- 'users\/\w+'
# digest: 4a0a0047304502201b6ef952aa8cc018e4aae218fabaa66203a68465167a852d33936373d5c41d01022100d913cf716464cc25b7adcaf27b12e5445f39c46e921aaf80d3e572570c53dd1f:922c64590222798bb761d5b6d8e72950