Idor Add Or Remove The Linked Publications From Author Publisher Settings Facebook Bug Bounty
The Facebook Linked Publications feature had an IDOR vulnerability in its GraphQL API, allowing an attacker to add or remove linked publications from any author's settings by manipulating the author_id and publisher_id parameters. This could let an attacker alter the publications associated with a victim's profile.
Published on infosecwriteups.com
Facebook Linked Publications ( Authorship or Author Tag ) feature was designed to give journalists more credit and visibility for the articles they were writing, regardless of where they were being published and it resulted in the byline that you saw in many posts, as well as the ability to easily follow that…
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 did not verify that the authenticated user owned the author_id being modified, allowing any user to change another author's linked publications.
Impact
An attacker could add or remove linked publications from any author's settings, potentially altering the byline associations shown on Facebook posts.
What the attacker needed
A first-party Android access token; knowledge of victim's profile ID; knowledge of a publisher page ID
The fix
The add and remove functionality was patched, and later the entire feature was removed.
How it was found
- Obtain a first-party Android access token.
- Send a GraphQL request to add a publication, setting author_id to the victim's profile ID and publisher_id to any media page ID.
- Send a GraphQL request to remove a publication, using the same parameters.
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 a bug where a website lets you change an identifier in a request to access or modify someone else's data. Here, the GraphQL request used the victim's profile ID and a publisher ID, and the server did not check that the logged-in user owned that profile. So an attacker could add or remove publications from any author's settings.
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.