Skip to content
IDOR Write-up Beginner

How I Found a Critical IDOR in a University System (and Why Ethical Hacking Matters)

An API endpoint returned student profile data in JSON without any authentication or authorization checks, and student IDs were sequential. An attacker could enumerate IDs to access every student's private information.

j4k3l0ng Follow

Published on medium.com

I’ve always been passionate about cybersecurity, CTFs, and real-world bug hunting. Recently, I decided to take my skills into a more practical environment a university platform I have legitimate access to.

j4k3l0ng, 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 API endpoint lacked authentication and authorization checks, and used sequential identifiers that made enumeration trivial.

Impact

Every student's private information, including contact details, email addresses, course enrollments, academic records, and student ID numbers, could be accessed without authentication, potentially violating GDPR.

What the attacker needed

Legitimate access to the platform; knowledge of a valid student ID

The fix

The text does not state that the issue was fixed; it recommends implementing authentication and authorization middleware, using unpredictable identifiers, adding rate limiting, and conducting regular security audits.

How it was found

  1. Fuzz various endpoints while monitoring server responses.
  2. Notice one API endpoint returns raw JSON student profile data.
  3. Access your own profile ID to confirm the data format.
  4. Change the ID parameter to the next number and receive another student's complete profile.

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 identifier, like a number in a URL, to point to a record but does not check whether the person asking is allowed to see it. Here, changing the number in the address fetched another student's full profile, and because the numbers ran in order, someone could have walked through all of them.

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 j4k3l0ng

View all

1 more disclosed report, 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.