When a Learner Can See Everyone: Finding a Hidden Data Exposure Bug
A learner account could see other users' personal data, including names, emails, internal IDs and avatars, in the leaderboards section of an API response. An attacker with a low-privileged account could enumerate employee email addresses and identify administrators for phishing or social engineering.
Published on medium.com
Sometimes the most interesting vulnerabilities are not complex exploits or advanced attacks — they are small logic mistakes that quietly expose sensitive data.
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 leaderboard API endpoint returned the full user objects for all organisation members without filtering fields or checking the requester's role.
Impact
A low-privileged learner could enumerate all employee email addresses, identify administrators or owners, and use that information for targeted phishing or social engineering; no user interaction was required.
What the attacker needed
A learner account in an organisation; ability to intercept HTTP traffic
The fix
The API should filter responses by role and apply data minimisation so learners only receive their own profile and anonymised leaderboard entries.
How it was found
- Create an organisation owner account and a learner account.
- Log in to the learner application with the learner credentials.
- Intercept the authentication requests, including the refresh data endpoint.
- Inspect the response and expand the leaderboards object to see other users' details.
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.
When you log in to a website, the server sends back data for your account. Here, the server also sent back details about everyone else in the organisation, like their names and email addresses, even though a normal learner should only see their own information. This is called broken access control: the server did not check what the user was allowed to see.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.