Skip to content
IDOR Write-up Beginner

IDOR To view other private users profile pictures in un.org

A profile picture endpoint used a sequential numeric user identifier in the URL, and changing that identifier returned other users' private profile pictures. An attacker could enumerate identifiers to view profile pictures of any registered user.

AjakCybersecurity Follow

Published on medium.com

Hi, Ajak Amico’s welcome back to another blog. I will explain how I found IDOR vulnerability which led to see other private user's profile pictures in the un.org organization.

AJAK Cyber Academy, 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 endpoint that served profile pictures authorised requests based only on the numeric user identifier in the URL, without verifying that the requester was that user or otherwise allowed to view the picture.

Impact

An attacker could view the private profile pictures of any of the roughly 1.5 million registered users by changing the numeric identifier.

What the attacker needed

A free account; knowledge of a valid numeric user identifier

How it was found

  1. Create an account on the subdomain with registration and login.
  2. Upload a profile picture and open the picture in a new tab to see the endpoint URL.
  3. Change the numeric user identifier in the URL path to another value.
  4. Observe that the response shows another user's profile picture.

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.

A website often uses a number in the web address to identify a user, like a locker number. If the site does not check that you own that locker before showing its contents, you can change the number and peek into someone else's. This is called an IDOR (Insecure Direct Object Reference): the site trusts the number you supply without 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 AjakCybersecurity

View all

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