2022-07-22 02:05:18 +00:00
|
|
|
id: drupal-jsonapi-user-listing
|
|
|
|
|
|
|
|
info:
|
2023-02-08 19:47:51 +00:00
|
|
|
name: Drupal JSON:API Username Listing - Detect
|
2022-07-22 02:05:18 +00:00
|
|
|
author: lixts
|
|
|
|
severity: medium
|
2023-02-08 16:36:47 +00:00
|
|
|
description: Drupal JSON:API username listing was detected via the /user/user endpoint.
|
2022-07-22 02:05:18 +00:00
|
|
|
reference:
|
|
|
|
- https://www.drupal.org/project/drupal/issues/3240913
|
2023-02-08 16:36:47 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
|
|
cvss-score: 5.3
|
|
|
|
cwe-id: CWE-200
|
2022-07-24 16:53:35 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-07-24 16:53:35 +00:00
|
|
|
verified: true
|
2023-07-02 09:14:23 +00:00
|
|
|
shodan-query: http.component:"drupal"
|
2022-07-22 02:05:18 +00:00
|
|
|
tags: drupal,exposure
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-22 02:05:18 +00:00
|
|
|
- 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:
|
2023-07-02 09:14:23 +00:00
|
|
|
- type: json
|
|
|
|
json:
|
|
|
|
- '.data[].attributes.display_name'
|