BAC = $$
An organisation policy let administrators hide other users' email addresses from non-admin users, but the call feature's API endpoint still returned those email addresses to any non-admin who started a call. A low-privileged user could therefore read email addresses the policy was meant to conceal.
Published on medium.com
It was a popular target hunted by many hackers, and there were many assets in scope — enough to make it confusing to know where to start
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 email-visibility policy was enforced only in the main user interface and its usual API responses, not in the call endpoint, which returned the full user object including the email.
Impact
A non-admin user could obtain email addresses of other members in the organisation that the administrator had restricted to admins only.
What the attacker needed
A non-admin account in the organisation; admin has enabled the email restriction
How it was found
- As an administrator, set the policy so only admins can view other users' email addresses.
- As a non-admin user, start a voice or video call to any member.
- Inspect the captured request to the call endpoint and see the email address returned.
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.
Companies often let an admin decide who can see staff email addresses. Here the app hid them in the normal screens, but a different part of the app, the voice and video calling feature, still sent the addresses back to ordinary users. So a normal user could learn email addresses they were not supposed 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.