2020-08-30 16:04:30 +00:00
|
|
|
id: drupal-user-enum-redirect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Drupal User Enumration [Redirect]
|
|
|
|
author: 0w4ys
|
2020-08-31 07:45:28 +00:00
|
|
|
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"
|
2021-09-02 11:59:10 +00:00
|
|
|
|
|
|
|
stop-at-first-match: true
|
2020-08-30 16:04:30 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '(?i)Location: http(s|):\/\/[\w\.\-]+(\/ar|\/en|)\/users\/\w+'
|
|
|
|
part: header
|
2021-09-02 11:59:10 +00:00
|
|
|
|
2020-08-30 16:04:30 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 301
|
2021-09-02 11:59:10 +00:00
|
|
|
|
2020-08-30 16:04:30 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: header
|
|
|
|
regex:
|
|
|
|
- 'users\/\w+'
|