Skip to content
IDOR Write-up Beginner

The Great Photo Heist: IDOR Vulnerability Strikes Again

A partner portal allowed downloading uploaded photos by changing a numeric identifier in the request, without checking ownership. An attacker could download any uploaded photo on the server, including business licences and proof of student enrolment.

medium.com

Published on medium.com

Hi every one am back again with another bug i found it while i hunt in private program at hacker one and i can’t say the program name so let’s give you summarize and dive into the details

Yousef Muhammedelkhir, 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 download endpoint used a predictable numeric identifier and did not verify that the requesting user owned the referenced photo.

Impact

An attacker could download any uploaded photo on the server, including business licences, institutional premises photos and proof of student enrolment.

What the attacker needed

A partner account; email and phone verification; an approved admission application

The fix

The service should enforce access control so that a user can only download photos they own, rather than relying on a guessable identifier.

How it was found

  1. Register as a partner and verify email and phone number.
  2. Apply for admission under a settlement type and upload a business licence photo.
  3. Go to 'My entry' and open 'edit operate'.
  4. Download the business licence photo and intercept the request.
  5. Send the request to Repeater and change the numeric identifier to 1.
  6. Observe that the photo for that identifier is returned.

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) happens when a website uses a simple number or name to point at a file or record, and does not check that the person asking is allowed to see it. Here, changing the number in the download request let the researcher fetch other people's uploaded photos.

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.