Skip to content
Info disclosure Disclosed report Beginner

Leaking usernames through endpoints Wordpress

The WordPress REST API endpoint for users was publicly accessible, allowing anyone to retrieve user information by requesting specific user IDs. An attacker could enumerate usernames and other details of active users.

alitoni224 Follow

Originally disclosed on HackerOne

  • Triaged in 48 hours
  • Fixed in 60 days
  • Disclosed after 20 months

Summary:

Hi first, some of my usernames have been leaked by endpoints https://alt.mtn.com/wp-json/wp/v2/users

Steps To Reproduce:

[The steps are as follows]

  1. Open the subdomain https://alt.mtn.com
  2. Add the path https://alt.mtn.com/wp-json/wp/v2/users/192
  3. [You will notice the user information and you can also reveal many user names by changing it id user As in the pictures ]
PoC_2.png
PoC_2.png From the original on HackerOne
PoC.png
PoC.png

Supporting Material/References:

[list any additional material (e.g. screenshots, logs, etc.)]

#1735586 #356047

Impact

by API The attacker can find many information and names of active users

The original report as published on HackerOne, by alitoni224. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the WordPress REST API users endpoint was left enabled and publicly accessible without authentication or restriction.

Impact

An attacker could enumerate usernames and gather information about active users via the API.

What the attacker needed

None

How it was found

  1. Open the subdomain alt.mtn.com.
  2. Add the path /wp-json/wp/v2/users/192 to the URL.
  3. Observe the user information returned, and change the ID to reveal more usernames.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

WordPress has a feature that lets other programs ask for a list of users. If that feature is left on, anyone can ask for user details by guessing numbers. This report shows that the site allowed such requests, exposing usernames.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by alitoni224

View all

3 more disclosed reports, best first.

More from MTN Group

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.