Facebook Bug Bounty! {Permission Bug}
A user given only the 'tester' role on a Facebook app could still reach the app's analytics page directly by URL and view and edit the data. The interface hid the insights from testers, but the page itself did not enforce the restriction.
Published on medium.com
#### Ali TÜTÜNCÜ
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
Impact
A low-privileged tester could view and edit an app's analytics data that the role was supposed to block.
What the attacker needed
A Facebook developer account; ability to add a tester to an app; a tester account
The fix
The issue was fixed, according to the timeline.
How it was found
- Create an app in the developer portal.
- Open the app's roles page.
- Add a tester to the app.
- Log in with the tester account.
- Open the insights page and see nothing.
- Go directly to the analytics address for the app and see and edit the data.
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.
An app owner can invite other people to help with their app, giving them limited roles such as 'tester'. The site's menus hid the analytics section from testers, but the page behind it was still reachable if you typed its address, so a tester could read and change statistics they were never meant to touch.
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.