Skip to content
Access control Write-up Intermediate

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.

Baibhav Anand Follow

Published on medium.com

{{media:0}}

Baibhav Anand, on medium.com

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

  1. Make User B an editor of the page.
  2. Ensure User B is using Facebook lite.
  3. Send a message to the page from User C's account.
  4. User B opens the message notification in Facebook lite.
  5. User A changes User B's page role to Analyst while User B is still in the inbox.
  6. 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.

More by Baibhav Anand

View all

12 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.