Sending Message as page being an analyst/ advertiser?
A page editor could still send messages as the page after their role was downgraded to analyst or advertiser, which Facebook's documentation says should not be allowed. An attacker with a downgraded role could impersonate the page in conversations.
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
Impact
A user with an analyst or advertiser role could send messages as the page, which the documentation says they should not be able to do.
What the attacker needed
Three Facebook accounts; One account is page admin; Attacker account uses Facebook lite; Attacker is initially an editor
The fix
It was fixed internally by Facebook.
How it was found
- Make User B an editor of the page.
- Ensure User B is using Facebook lite.
- Send a message to the page from User C's account.
- User B opens the message notification in Facebook lite.
- User A changes User B's page role to Analyst while User B is still in the inbox.
- User B can now send messages as the page despite being an analyst or advertiser.
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 run them. Some roles, like analyst or advertiser, are not supposed to be able to send messages as the page. The researcher found that if someone was already in a conversation when their role was changed, they could still send messages as the page.
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.