Facebook Bug Bounty:Deleting Pages My Day as an Analyst.
A user with the Analyst role on a Facebook Page could delete the Page's 'My Day' story, even though only Admins and Editors should have that permission. An attacker with Analyst access could remove the Page's My Day content.
The original lives on asad0x01.blogspot.com
We do not hold its text, 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 server-side permission check for deleting a Page's My Day did not properly restrict the action to Admins and Editors, allowing Analysts to perform it.
What the attacker needed
Analyst role on a Facebook Page; Ability to intercept requests
The fix
The issue was fixed according to the timeline.
How it was found
- Intercept the request sent when deleting a My Day story.
- Replace the story_thread_ids with the story_thread_ids of the Page's My Day.
- Send the modified request as a user with the Analyst role.
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.
Facebook Pages have different roles for people who help manage them, like Admin, Editor, and Analyst. The Analyst role is meant to be read-only for some actions, but here it could delete a 'My Day' story. This means someone with lower permissions could remove content they shouldn't be able to.
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.