38 lines
730 B
YAML
38 lines
730 B
YAML
id: drupal-user-enum-redirect
|
|
|
|
info:
|
|
name: Drupal User Enumeration [Redirect]
|
|
author: 0w4ys
|
|
severity: info
|
|
metadata:
|
|
max-request: 4
|
|
verified: true
|
|
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+'
|