Skip to content
IDOR Write-up Intermediate

GraphQL IDOR in Facebook streamer dashboard

A GraphQL endpoint used by the Facebook streamer dashboard accepted a profile_id parameter that could be changed to another page's ID, allowing an attacker to view that page's stream statistics. Facebook considered only the live earnings and supporter count as sensitive, and these were exposed to users with no role on the page.

Kailash Bohara Follow

Published on kailashbohara.com.np

Bounty$2,000 View original

Security engineer with 9 years of experience in penetration testing, security architecture, cloud security, zero trust implementation, and threat hunting.

Kailash Bohara, on kailashbohara.com.np

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 resolver did not verify that the requesting user had a role on the page whose profile_id was supplied.

Impact

A user without any role on a page could view that page's live earnings and supporter count, which Facebook treats as sensitive.

What the attacker needed

A Facebook account; access to creator studio; knowledge of a target page ID

How it was found

  1. Start Burp Suite and intercept requests.
  2. Go to the Facebook gaming streamer page, which redirects to creator studio.
  3. Forward intercepted requests while searching for the query named GamesVideoStreamerDashboardProfileQuery.
  4. Send the matching request to Repeater and replace the profileID with another page's ID.
  5. Observe the response containing the other page's stream statistics.

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.

A GraphQL request is a way for a website to ask its server for specific data. The request included an identifier for the user's own page, but the server did not check that the person making the request actually owned the page they asked about. By swapping in someone else's page identifier, a user could see private statistics for that page.

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 Kailash Bohara

View all

7 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.