Skip to content
IDOR Write-up Beginner

How I Hacked All Universities in My City

A student-facing feature that returned personal and financial records used a guessable identifier in the request body, so changing it returned another student's data. Because one vendor served over 150 colleges, the same flaw exposed records across many institutions.

medium.com

Published on medium.com

Hi everyone, kaise ho sab? 👋 This is Charon, and today I want to share one of the craziest moments of my life when I accidentally hacked almost all top colleges and universities in my city.

Charon Security, 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 server trusted the identifier sent by the client and never checked that the record belonged to the logged-in student.

Impact

An attacker could read financial details and other personal information of students across more than 150 colleges served by the same vendor.

What the attacker needed

Access to the student portal; a guessable record identifier

The fix

The report does not describe the fix; the server should verify that the requested record belongs to the authenticated student before returning it.

How it was found

  1. Find the feature where students view their details and financial records.
  2. Inspect the request body and note the identifier parameter.
  3. Change the identifier to a neighbouring value and resend the request.
  4. Observe that another student's information 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.

Many websites fetch your records by putting an identifier in the request, such as a number or code. If the server does not check that the identifier belongs to you, anyone can swap in a different one and read someone else's data. This is called an IDOR, short for Insecure Direct Object Reference.

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.