Skip to content
IDOR Write-up Beginner

He Changed One Number in an Instagram Request — Instagram Paid Him $6,500

An IDOR vulnerability in Instagram's IGTV feature allowed an attacker to edit the description of any video by changing the video ID in the request. Despite a 500 error, the change was applied, enabling modification of other users' content.

osintteam.blog

Published on osintteam.blog

Imagine you’re testing a new feature on Instagram called IGTV (their vertical video platform). You’re uploading your own videos, adding descriptions, and everything works normally.

Vivek PS, on osintteam.blog

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 server did not verify that the authenticated user owned the video ID before processing the edit request.

What the attacker needed

An Instagram account; ability to intercept requests

The fix

The vulnerability was fixed by Facebook on August 15, 2018.

How it was found

  1. Capture the request to save a video description in IGTV.
  2. Change the video ID in the request to another user's video ID.
  3. Send the modified request.
  4. Observe that the server returns a 500 error but the description is actually changed on the victim's video.

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.

This is an IDOR (Insecure Direct Object Reference) bug, where a website uses an identifier like a video ID but fails to check if the user is allowed to access that specific item. An attacker could change the ID to someone else's and edit their content without permission.

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.

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.