mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-01 16:23:32 +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
|
|
|
|
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: 4a0a00473045022100aae562c8d8e465104d92b429ca0278614398ce818555e9a5253bce838002825f02204651139d78b15158bccfe3af44fc7c9b90c3a63f8f626aa99da0902e4b0cd202:922c64590222798bb761d5b6d8e72950 |