Skip to content
Access control Write-up Intermediate

(POC) Update business fyi message as Facebook page analyst

A Facebook page analyst, who should have read-only permissions, could update the page's business FYI message and add a link to an attacker-controlled URL. This allowed an attacker to display a misleading COVID-19 message with a malicious link to customers.

Ahmad Talahmeh Follow

Published on edmundaa222.medium.com

Bounty$750 View original

The original lives on edmundaa222.medium.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

Root cause

Likely the GraphQL mutation for updating the business FYI message did not properly check the user's role, allowing analysts to perform write actions.

Impact

An attacker with analyst permissions could change the page's business FYI message and add a link to a malicious site, potentially misleading customers and directing them to attacker-controlled content.

What the attacker needed

Analyst role on a Facebook page

The fix

The report does not describe the fix, but it should ensure that only users with appropriate write permissions can update the business FYI message.

How it was found

  1. Obtain the page ID.
  2. Submit a GraphQL request to update the business FYI message type.
  3. Submit a GraphQL request to set the business FYI link to an attacker-controlled URL.
  4. Observe that the business FYI message has been updated as an analyst.
  5. View the message displayed to customers, which includes the attacker's link.

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, a page can have different roles for people who help manage it. An 'analyst' is supposed to only view information, not change anything. This report shows that an analyst could actually change a public message shown to customers, which could be abused to spread false information or trick people into visiting a harmful website.

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 Ahmad Talahmeh

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.