mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
43 lines
1.0 KiB
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,vuln
|
|
|
|
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: 4a0a00473045022100f0d170e3adc468975b95995fdfe7765a8532cdfe7b5d15d7d58504ce9b5c2d550220577fc118cc1f1017f4c7b020b53a82c7a2979a0b2f227302989b42e188208aba:922c64590222798bb761d5b6d8e72950 |