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.
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.
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
- Fuzz various endpoints while monitoring server responses.
- Notice one API endpoint returns raw JSON student profile data.
- Access your own profile ID to confirm the data format.
- 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.