Skip to content
IDOR Write-up Intermediate

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.

Amol Baikar Follow

Published on amolbaikar.com

Bounty$1,500 View original

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.

Amol Baikar, on amolbaikar.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 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.

More by Amol Baikar

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.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.