Skip to content
Access control Write-up Beginner

Facebook Bug Bounty:Adding/Removing and toggling branded content feature as an advertiser.

An advertiser on a Facebook Page could change the page identifier in branded content settings requests to turn the branded content feature on or off, and to add or remove creators, on pages where they only held the advertiser role. The reporter notes Facebook treated the original behaviour as a design choice but found and fixed a separate issue while investigating.

asad0x01 Follow

Published on asad0x01.blogspot.com

The original lives on asad0x01.blogspot.com

We do not hold its text, 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

An advertiser could toggle branded content and add or remove approved creators on a page without the role normally required, though Facebook considered the original behaviour a permitted design choice.

What the attacker needed

An account with the advertiser role on a page; ability to capture and replay requests

The fix

The report says the issue was fixed, though it does not describe the change.

How it was found

  1. Capture the request sent when turning on branded content for a page.
  2. Replace the page identifier values with those of a page where you only have the advertiser role.
  3. Replay the request to turn branded content on, or set the opt-in flag to false to turn it off.
  4. Capture the request used to add a creator to the approved list.
  5. Replace the page identifier values with the advertiser-only page and replay to add a creator, or set the add flag to false to remove one.

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.

A Page on Facebook can have several people with different roles, such as admin or advertiser. The site decides what you may change by checking which page the request is about. Here the page identifier in the request could be swapped for another page, so someone with only the advertiser role could change branded content settings on it.

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 asad0x01

View all

10 more disclosed reports, best first.

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.