Drupal JSON:API User Enumeration

medium Web App Scanning Plugin ID 115074

Synopsis

Drupal JSON:API User Enumeration

Description

The remote Drupal site has the JSON:API module enabled. By default, this module may allow an unauthenticated, remote attacker to enumerate usernames by sending requests to the JSON:API endpoint. An attacker can leverage this information to conduct further attacks, such as brute-force password guessing.

Solution

Disable the JSON:API module if is not required or restrict access to the user list with a module like 'JSON:API Permission Access' module or a similar access control module. You can also restrict access to the JSON:API endpoint at the web server level.

See Also

https://www.drupal.org/docs/core-modules-and-themes/core-modules/jsonapi-module

https://www.drupal.org/project/jsonapi_permission_access

Plugin Details

Severity: Medium

ID: 115074

Type: remote

Published: 12/11/2025

Updated: 12/11/2025

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Reference Information