Exposing Facebook’s Hidden Goldmine: Creators’ Private Data a
An IDOR vulnerability in Facebook's GraphQL payout settings endpoint allowed an attacker to access any monetized creator's private information by supplying a paymentID. The leaked data included email addresses, phone numbers, birthdays, associated pages and apps, and banking details.
After discovering Unauthorized access to Facebook creator’s professional dashboardbug on 30th Oct, 2022, I started digging deeper on creator’s professional dashboard further from the very next day. While exploring the payout settings of creator’s earnings, I discovered an IDOR vulnerability that leaked creators’…
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 GraphQL endpoint accepted a paymentID from the client and returned the associated creator's data without verifying that the requesting user owned or was authorised to view that paymentID.
Impact
An attacker could access any monetized Facebook creator's PII, though exploitation required knowing the specific paymentID, which made it somewhat noisy until a hidden GraphQL endpoint exposing paymentIDs was found.
What the attacker needed
Knowledge of a creator's paymentID; access to the GraphQL endpoint
The fix
Facebook fixed the issue, but the fix was incomplete and a bypass was later reported, after which it was fixed again.
How it was found
- Open the console window and send a GraphQL request as an AJAX call to the payout settings endpoint.
- Set the id variable to a paymentID belonging to a creator.
- Observe that the response discloses that creator's private information.
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.
An IDOR (Insecure Direct Object Reference) is when a website lets you access someone else's data just by changing an identifier in a request, without checking if you are allowed to see it. Here, the paymentID acted like a key: by putting a different creator's paymentID into a GraphQL request, the server returned that creator's private details instead of blocking the request.
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.