The $500 Facebook Bug That Taught Me the Real Meaning of Respect
A Facebook page's hidden business address was still returned in the response to a backend request, even when viewed by a Page Analyst who should not see it. An attacker with that limited role could read an address the page owner had deliberately hidden.
medium.com
Published on medium.com
How a minor privacy loophole became a milestone in my journey as a bug bounty hunter
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 backend endpoint returned the full location object without checking whether the requesting role was allowed to see the hidden address.
Impact
A user with only the Page Analyst role could obtain a business address that the page owner had chosen to hide, which could expose activists, whistleblower groups or small businesses to targeting or harassment.
What the attacker needed
A Facebook account; Page Analyst role on the target page; the page has a hidden address
The fix
The report says Facebook fixed it the day after triage, but does not describe the change; it should have enforced the role check on the backend endpoint.
How it was found
- Log in as a Page Analyst for a page whose address is hidden.
- Confirm the address is not shown on the page front end.
- Send a POST request to the boosted components fetch dialog data endpoint with the page identifier.
- Observe the custom location field in the response containing the full address.
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.
A Facebook page can hide its business address from the public. The page also has a low-level role called Page Analyst, which is only meant to see statistics. The author found that a request made as an Analyst still returned the hidden address in the data, so the hiding was only on the screen, not in the server's answer.
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.