Block WordPress user enumeration
tech-wp-user-enum
The WordPress REST API lists every account and its login name, which is half of a password guess. Close the users endpoint to anonymous callers.
Why this matters
Your WordPress REST API lists all user accounts. Username enumeration is reconnaissance that aids brute-force attacks but is not directly exploitable.
Web servers
Frameworks
Nginx
- 1 Block the users REST API endpoint at the web server level
nginx
location ~* /wp-json/wp/v2/users {
deny all;
return 403;
}Does your app still have this?
Scan your domain