Disclose Facebook Business Account ID
The Graph API allowed an attacker to infer a business account ID from an application node, and then use that ID to retrieve a sensitive payment account ID. This could let a malicious user disclose the payment account ID and business account ID of a victim business.
Published on amolbaikar.com
Using graph API field “business” on node type “application” to infer Business Account ID that was associated with the Facebook Application. However, the Business account is a public ID and Facebook doesn’t consider it is a privacy risk or security issue.
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 Graph API did not properly restrict access to the payment_account_id field, allowing it to be read by anyone who knew the business ID.
Impact
This could have unintentionally let a malicious user disclose the Payment Account ID and Business Account ID of a victim business.
What the attacker needed
Attacker access token; knowledge of application ID
The fix
The issue was fixed according to the timeline.
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.
The Facebook Graph API is a way for apps to read data from Facebook. Some fields that seem harmless can be used to find other identifiers, which then unlock more sensitive information. Here, a public business ID led to a private payment account ID.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.