Users with member privilege are able to see emails and membership information of other users
A member-level user of a Leaderboard team could call an API endpoint that returned the personal details, including email addresses, of every team member. The interface was meant to restrict this data to owners and admins, so a low-privileged user could see information they should not.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 3 months
- Disclosed after 3 months
Description: According to the rules of Leaderboard Teams only Owners and admins have access to other team members' personal information like email address, roles etc.
Users whose role set as "Member" can't see other users' details.
But through API it is possible for a user with member role to reveal personal information of all team members.
Vulnerable URL: https://wakatime.com/api/v1/users/current/leaderboards/<team_id>/members
Steps to reproduce:
- Join a Leaderboard team as a member.
- Copy the team id.
- Visit the vulnerable url.
You'll find that emails of all members being disclosed.
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 API endpoint did not enforce the same role-based authorisation check that the web interface applied.
Impact
A member could see the email addresses and membership information of all other team members, which should have been limited to owners and admins.
What the attacker needed
A member account in a Leaderboard team; knowledge of the team id
How it was found
- Join a Leaderboard team as a member.
- Copy the team id.
- Visit the vulnerable URL.
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.
Only owners and admins are meant to see other people's email addresses, but a member could use the API to get everyone's details.
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.