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

34 lines
631 B
YAML
Raw Normal View History

2020-08-30 16:04:30 +00:00
id: drupal-user-enum-redirect
info:
name: Drupal User Enumration [Redirect]
author: 0w4ys
severity: info
2021-03-12 08:57:14 +00:00
tags: drupal
2020-08-30 16:04:30 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/user/0"
- "{{BaseURL}}/user/1"
- "{{BaseURL}}/user/2"
- "{{BaseURL}}/user/3"
stop-at-first-match: true
2020-08-30 16:04:30 +00:00
matchers-condition: and
matchers:
- type: regex
regex:
- '(?i)Location: https?:\/\/[\w\.\-]+[:\/\w-]*\/users\/\w+'
2020-08-30 16:04:30 +00:00
part: header
2020-08-30 16:04:30 +00:00
- type: status
status:
- 301
2020-08-30 16:04:30 +00:00
extractors:
- type: regex
part: header
regex:
- 'users\/\w+'