Skip to content
IDOR Write-up Beginner

Retrieve Archived Stories Of Any Public Instagram Account.

An Instagram GraphQL endpoint was vulnerable to an IDOR, allowing an attacker to retrieve archived stories of any public account by changing the user ID parameter. The attacker could access all archived stories of a targeted user.

Naveen Follow

Published on web.archive.org

Naveen

Naveen, on web.archive.org

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 failed to verify that the requesting user was authorised to access the target user's archived stories, relying only on the supplied user ID.

What the attacker needed

Target account is public; knowledge of target user ID

How it was found

  1. Send a request to the ads/graphql endpoint with the required parameters.
  2. Replace the id parameter with the target user's ID.
  3. Receive the target user's archived stories in the response.

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 flaw where a website uses a user-supplied identifier, like a user ID, to fetch data without checking if the requester is allowed to see it. Here, the Instagram endpoint accepted any user ID and returned that user's archived stories, so an attacker could simply swap in someone else's ID to view private content.

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 Naveen

View all

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