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
|
2022-07-24 16:53:35 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2022-07-22 02:05:18 +00:00
|
|
|
tags: drupal,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/jsonapi/user/user"
|
|
|
|
|
2022-07-24 16:53:35 +00:00
|
|
|
matchers-condition: and
|
2022-07-22 02:05:18 +00:00
|
|
|
matchers:
|
2022-07-24 16:53:35 +00:00
|
|
|
- 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
|
2022-07-24 16:53:35 +00:00
|
|
|
group: 1
|
2022-07-22 02:05:18 +00:00
|
|
|
regex:
|
2022-07-24 16:53:35 +00:00
|
|
|
- '\{"display_name":"([A-Za-z0-9-_]+)"\}'
|