Hiding from Facebook Page Admin(s) in /hacked workflow
A page admin could hide their role changes from a victim's view in the /hacked security review flow by blocking the victim on Facebook. This meant the victim could not see or undo unauthorised page role changes made by that admin.
Published on medium.com
Hello guys, today I am going to discuss about a Facebook Vulnerability,which I discovered in October 2018. So,let’s get started!
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 /hacked review flow filtered out content from users who had blocked the victim, without considering that this could hide malicious admin actions.
Impact
A malicious page admin could hide their role changes from the victim's security review, preventing the victim from undoing those changes; the issue was later found to persist on two mobile domains after the first fix.
What the attacker needed
Attacker is an admin/editor on the same page; attacker blocks the victim; victim uses the /hacked review flow
The fix
Facebook fixed the issue, but the researcher found it was not fixed on two mobile domains and reported it again; it was then fixed there as well.
How it was found
- Victim goes to the /hacked page on mobile Facebook.
- Victim selects the option about a post, message or event they did not create.
- Victim clicks on 'Pages you manage'.
- Victim clicks 'Review' and can normally undo role changes.
- Attacker (a page admin) blocks the victim.
- Victim repeats the flow; the role change is listed but 'Review' shows 'No recent Activity'.
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.
When you think your account is hacked, Facebook has a page that lists recent changes so you can undo them. The researcher found that if the person who made a change also blocked you, that change vanished from the list. So you could not see or undo what they did.
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.