Missing Authorization Check in Pages Manager
A user with the low-privilege 'ANALYST' role on a Facebook page could access the Twitter linking page and unlink the page from Twitter, an action that should require higher permissions. This missing authorization check allowed an analyst to make an unauthorised change to the page's settings.
Meta
Published on bugbountypoc.com
by admin · Published April 23, 2016 · Updated April 23, 2016
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 Twitter linking page did not check whether the user had permission to modify the page's Twitter integration, only whether they were associated with the page.
Impact
An analyst, who should not be able to change page settings, could unlink the page from Twitter, disrupting the page's social media integration.
What the attacker needed
A Facebook page linked to Twitter; A second account with ANALYST role on that page
How it was found
- Create a page and link it to Twitter.
- Make a second account an ANALYST of that page.
- Log in to the second account and navigate to the Twitter linking page.
- Use the unlink option shown there to unlink 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 have different roles for people who help manage them. An 'ANALYST' is supposed to have very limited rights and cannot change page settings. The researcher found that an analyst could still go to a special Twitter linking page and remove the page's connection to Twitter, which is a settings change they should not be allowed to make.
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.