Skip to content
IDOR Write-up Beginner

An interesting idor that allowed me to See all projects ($$$$ Bounty)

A private project image endpoint on a subdomain used a sequential project identifier in the URL, and the server did not check whether the requester was allowed to see that project. By changing the identifier, an attacker could view other users' private project images, including without being logged in.

Abdelkader Mouaz Follow

Published on hamzadzworm.medium.com

Hi all today i will share an intresting i dor that i found in a one of hackerone private programs that allowed me to disclose all users private projects without there permission : )

Hamzadzworm, on hamzadzworm.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 image-serving endpoint looked up projects by a sequential identifier without verifying that the requesting user owned or could access that project.

Impact

An attacker could view other users' private project images, including without being authenticated, and the reporter found a second subdomain with the same flaw.

What the attacker needed

A free account on the site; a private project to compare against; knowledge of a project identifier

How it was found

  1. Create a project on the main site and set it to private.
  2. Notice the project image is served from a subdomain with a project identifier in the path.
  3. Log in to a subdomain that shares the same login page with the same credentials.
  4. Change the project identifier in the image URL to another value.
  5. Open the changed URL and see another user's project image.
  6. Open the private project's image URL in a private browser window without logging in and still see it.

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.

Many websites put a number in a web address to point at a specific item, such as a picture belonging to a project. If the site only looks up that number and never checks whether you are allowed to see that item, anyone can change the number and peek at other people's things. This is called an insecure direct object reference, or IDOR: the site trusts the number you send instead of checking your 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.

More by Abdelkader Mouaz

View all

5 more disclosed reports, best first.

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.