nuclei-templates/exposures/apis/drupal-jsonapi-user-listing...

34 lines
639 B
YAML
Raw Normal View History

2022-07-22 02:05:18 +00:00
id: drupal-jsonapi-user-listing
info:
name: Drupal JSON:API User Listing
author: lixts
severity: medium
reference:
- https://www.drupal.org/project/drupal/issues/3240913
metadata:
verified: true
2022-07-22 02:05:18 +00:00
tags: drupal,exposure
requests:
- method: GET
path:
- "{{BaseURL}}/jsonapi/user/user"
matchers-condition: and
2022-07-22 02:05:18 +00:00
matchers:
- type: regex
regex:
- '\{"display_name":"([A-Sa-z0-9-_]+)"\}'
- type: status
status:
- 200
extractors:
2022-07-22 02:05:18 +00:00
- type: regex
part: body
group: 1
2022-07-22 02:05:18 +00:00
regex:
- '\{"display_name":"([A-Za-z0-9-_]+)"\}'