Post · 1 min read· p. 14

Reveal if a Facebook merchant page has pending or completed orders.

This bug could be used by a malicious user to determine if a certain Facebook merchant page has pending or completed orders at the current time. Only admins of the page should know this because it can expose the merchant activity.

To exploit this bug, the attacker should send a POST request to the endpoint https://www.facebook.com/commerce/merchant/orders/download/ (it's originally used to download the orders list) with the parameters as follow:

The response to this request reveals if the page has orders or not :

  • If the response contains an empty CSV file with columns like Order ID,Date,Buyer,Price,Tax,Shipping... then the merchant has no orders.
  • if the response status is 500 Error then the merchant has pending or completed orders in the specified period of time.

Timeline

Mar 17, 2018 — Report Sent Mar 20, 2018—Clarification requested by Facebook Apr 5, 2018 —  Clarification sent Apr 13, 2018 —  Acknowledged by Facebook Jun 19, 2018 — Fixed by Facebook Jun 20, 2018 — Bounty Awarded by Facebook