User Enumeration: From Overlooked to Medium-Impact Bug
The search feature on a self-hosted platform reveals usernames linked to valid email addresses, allowing an attacker to confirm which email addresses exist in the system. By searching by domain and then refining with partial email prefixes, an attacker can enumerate individual users.
medium.com
Published on medium.com
Good day! I hope this message finds everyone in good health and spirits.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the search feature returns usernames for any matching email without limiting or hiding results, and its rate limit can be bypassed by changing IP addresses.
Impact
An attacker could collect usernames and associated email addresses, which may be used for targeted phishing, social engineering, or brute force attacks; the rate limit can be bypassed by rotating IP addresses.
What the attacker needed
Access to the search feature; no account needed? unclear
How it was found
- Go to the search bar meant for finding friends.
- Enter an email domain pattern such as @gmail.com.
- See that users with email addresses from that domain are listed.
- Refine the search with partial email prefixes to narrow down to specific users.
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 write-up has not been written yet. The Original tab links to the source.
User enumeration means an attacker can find out which email addresses or usernames are registered on a website. Here, the site's friend search shows a username when you type an email that exists, so someone can test many emails to see who has an account. This helps attackers target real users with phishing or password guessing.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.