Skip to content
IDOR Write-up Beginner

Disclosure of Pending Roles for any Facebook Page

A GET request used to manage page roles accepted a page_id parameter that could be changed to any Facebook Page's ID. An attacker could then see the names and user IDs of users invited to roles on that page, even without any role on it.

Avinash Kumar Follow

Published on medium.com

Bounty$4,000 View original

In this blog post i’ll explain a vulnerability named Insecure Direct Object Reference i found recently in Facebook which let me allowed to disclose pending roles for any Facebook Page.

Avinash Kumar, on medium.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 endpoint trusted the user-supplied page_id and returned pending role invitations without verifying the requester had permission to view that page's roles.

Impact

An attacker could identify people invited to have a role on any Facebook Page, including celebrity pages, without having any role on that page.

What the attacker needed

A Facebook account; access to Creator Studio; victim page ID

The fix

The bug was fixed according to the disclosure timeline.

How it was found

  1. Open the Creator Studio platform and capture HTTP requests.
  2. Find the GET request to the page_admin_roles endpoint, which includes a page_id parameter.
  3. Change the page_id value to the victim page's ID using a tool such as Burp Suite Repeater.
  4. Send the request and inspect the response for invited users' names and IDs.

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.

When a website uses an identifier like a page number to decide what data to show, it must check that the person asking is allowed to see that data. Here the site did not check, so changing the number showed private invitation details for other pages. This kind of mistake is called an insecure direct object reference.

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 Avinash Kumar

View all

1 more disclosed report, 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.