Skip to content
IDOR Write-up Beginner

From a Simple “What If” to Institutional Recognition: How Cur

The ERP platform exposed uploaded profile images through URLs containing an identifier, and changing that identifier returned another user's image without an authorization check. An attacker could view other users' uploaded images by guessing or enumerating identifiers.

Sooraj Pandey Follow

Published on medium.com

Recently, while reviewing the ERP platform at Oriental University, I came across a behavior that highlighted a broader challenge many web applications face — enforcing object-level authorization consistently.

Sooraj Pandey, 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 application used a user-controlled identifier to fetch the image file without verifying that the requester owned or was permitted to access that resource.

Impact

An attacker could view other users' uploaded profile images by changing the identifier, though the exposed resource itself appeared low risk.

What the attacker needed

A user account on the ERP platform; ability to upload a profile picture

The fix

The issues were acknowledged and remediated, though the text does not describe the specific fix.

How it was found

  1. Update your profile picture on the ERP platform.
  2. Use the option to view the uploaded image and inspect the opened URL.
  3. Modify the identifier in the URL.
  4. Observe that another user's resource is returned instead of an authorization error.

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 you upload a picture, the site gives it a web address that includes a number or code. The site should check that you are allowed to see that picture before showing it. Here it did not, so changing the number showed someone else's picture.

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.