Closed Bug 1635356 Opened 6 years ago Closed 6 years ago

[Mozilla Bug Bounty] Vulnerability report - WordPress REST API User Enumeration (/wp-json/wp/v2/users/)

Categories

(Websites :: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1365661

People

(Reporter: security.rd, Unassigned)

References

()

Details

(Keywords: reporter-external, Whiteboard: [reporter-external] [web-bounty-form] [verif?])

Attachments

(1 file)

Summary:

WordPress includes a REST API that can be used to list the information about the registered users on a WordPress installation. The REST API exposed user data for all users who had authored a post of a public post type. I noticed that multiple Mozilla website allows anonymous enumeration of valid user accounts.

Affected assets:

https://hacks.mozilla.org/wp-json/wp/v2/users/
https://toolkit.mozilla.org/wp-json/wp/v2/users/
https://community.mozilla.org/wp-json/wp/v2/users/
https://research.mozilla.org/wp-json/wp/v2/users/
https://blog.nightly.mozilla.org/wp-json/wp/v2/users/
https://blog.mozilla.org/wp-json/wp/v2/users/
https://quality.mozilla.org/wp-json/wp/v2/users/

Business impact:

With a list of valid usernames, attackers can perform targeted bruteforce attacks.

Steps To Reproduce:

  1. Issue below command to confirm the key is being used:
    curl -s https://hacks.mozilla.org/wp-json/wp/v2/users/
    curl -s https://toolkit.mozilla.org/wp-json/wp/v2/users/
    curl -s https://community.mozilla.org/wp-json/wp/v2/users/
    curl -s https://research.mozilla.org/wp-json/wp/v2/users/
    curl -s https://blog.nightly.mozilla.org/wp-json/wp/v2/users/
    curl -s https://blog.mozilla.org/wp-json/wp/v2/users/
    curl -s https://quality.mozilla.org/wp-json/wp/v2/users/

Additional reference:

https://www.acunetix.com/vulnerabilities/web/wordpress-rest-api-user-enumeration/

Please let me know if there's anything that you need from me to help you with this, or if you need any further clarification.

Flags: sec-bounty?

This list of user names is all considered to be public data.

Group: websites-security
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Flags: sec-bounty?
Flags: sec-bounty-hof-
Flags: sec-bounty-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: