Access to CrowdTangle Deletion Framework API
A GraphQL query allowed regular users to access CrowdTangle deletion data, listing deleted objects and their parent IDs for popular Facebook entities. An attacker could download thousands of results to infer recently deleted pages or pages that deleted posts in bulk.
Published on philippeharewood.com
There is a root GraphQL query that gives one access to numerous CrowdTangle API calls including one that lists the deleted objects for popular Facebook entities by date.
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 missing access control on a root GraphQL query that exposed CrowdTangle deletion data to regular users.
Impact
An attacker could download tens of thousands of deletion records and, with cross-checking, sometimes identify recently deleted pages or pages that deleted posts in bulk; Facebook judged this below the bar for a bounty but fixed it as a hardening opportunity.
What the attacker needed
Regular user account; access to the GraphQL endpoint
The fix
It was fixed by Facebook.
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 query is a way to ask a server for specific data. Here, a query that should have been restricted to CrowdTangle users was available to regular users, letting them see records of deleted Facebook content and guess which pages were behind them.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.