Skip to content
Access control Write-up Beginner

Create hidden comment by blocking an Admin: Facebook Bug Bounty 2020

Comments made by non-friends or blocked users during a Facebook Live stream were not visible to the streamer (page admin or personal profile owner), but were visible to other viewers. An attacker could post hidden comments by blocking the admin or simply not being friends, potentially spreading misinformation without the streamer's knowledge.

Saugat Pokharel Follow

Published on web.archive.org

{{media:0}}

Saugat Pokharel, on web.archive.org

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 a logic flaw in how comments were filtered for display to the streamer, incorrectly applying friend-only visibility to live comments.

Impact

An attacker could post comments that only other viewers see, not the streamer, potentially to spread misinformation or harass without the streamer's awareness; Facebook noted it is nearly impossible to find the page admin and create hidden comments, so future rewards are unlikely.

What the attacker needed

A Facebook account; ability to go live on a page or profile; attacker account not friends with streamer or blocks them

The fix

Facebook pushed a temporary fix immediately followed by a permanent fix.

How it was found

  1. Go live on a Facebook page or personal profile.
  2. From another account that is not a friend of the streamer (or has blocked the streamer), post a comment on the live video.
  3. Observe that the comment does not appear to the streamer but is visible to other viewers.

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 someone goes live on Facebook, viewers can comment. The person streaming should see all comments, but here they only saw comments from their friends. If a stranger or someone they blocked commented, the streamer wouldn't see it, but everyone else watching would. This could let someone post misleading comments that the streamer never knows about.

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 Saugat Pokharel

View all

3 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.