Skip to content
Business logic Write-up Intermediate

How I could have crashed the Page Role setting of any Facebook page

A business manager user could send an app access request using a victim's page ID instead of an app ID, causing the victim to lose access to their Page Roles settings. The victim could not approve or reject the request without a business account, leaving them locked out until the request was cancelled.

Neeraj Gopal Follow

Published on whitehatstories.blogspot.com

I am Neeraj Gopal. I'm a Security Analyst at Facebook.

Neeraj Gopal, on whitehatstories.blogspot.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

Root cause

Likely the server did not validate that the object_id parameter referred to an app, so it accepted a page ID and created an app access request that interfered with the page's role settings.

Impact

An attacker could deny a page admin access to their Page Roles settings until the request was approved, rejected, or cancelled.

What the attacker needed

Attacker has a Business Manager account; Victim has no Business Manager account; Attacker knows the victim's page ID

The fix

The endpoint was fixed to reject page IDs and only accept app IDs.

How it was found

  1. Log in to Business Manager with an attacker account.
  2. Send a request to the sent_requests endpoint with the victim's page ID as object_id and the attacker's business ID as brandId.
  3. Log in to the victim's account and open the page role settings.
  4. Observe that the page roles section is empty and the victim cannot approve or reject the request.

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 a settings area where owners manage who can administer the page. The researcher found that a request meant for apps could be tricked into targeting a page instead, which made that settings area disappear for the page owner. The owner could not fix it because the approval screen required a business account they did not have.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Neeraj Gopal

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.