Missing Authorization check in Facebook Pages Manager
A user with the low-privilege 'ANALYST' role on a Facebook page could unlink that page from its linked Twitter account, an action that should require higher permissions. This allowed an analyst to disrupt the page's Twitter integration without authorisation.
Published on medium.com
{{media:0}}
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 unlink action did not check whether the user had the necessary permission level, only that they were associated with the page.
Impact
An analyst could unlink a page from its Twitter account, disrupting the page's cross-posting setup.
What the attacker needed
A Facebook page linked to Twitter; a second account with ANALYST role on that page
The fix
The report states the issue was fixed on 19 April.
How it was found
- Create a Facebook page and link it to a Twitter handle.
- Make a second account an ANALYST of that page.
- Log in to the second account and navigate to www.facebook.com/twitter.
- Click the unlink option to disconnect the page from Twitter.
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.
On Facebook, pages can be linked to a Twitter account so that posts appear on both. Different people can be given different roles on a page, and an 'Analyst' is supposed to have very limited rights, mainly viewing. The bug meant that even an Analyst could disconnect the page from Twitter, which they should not be able to do.
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.