How I Hacked My College’s Site
The college website's ID card feature used a sequential registration ID in the request, allowing anyone to change it and view other students' personal details. An attacker could access phone numbers, emails, and addresses of other students.
Published on infosecwriteups.com
{{media:0}}
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 did not verify that the requested registration ID belonged to the authenticated user, relying only on the ID parameter.
Impact
An attacker could view other students' personal information such as phone numbers, emails, and addresses, which could be used for social engineering.
What the attacker needed
A student account; ability to intercept HTTP requests
How it was found
- Log in to the student dashboard and open the ID card feature.
- Intercept the request with Burp Suite to see the RegID parameter.
- Change the RegID value to another number and forward the request.
- Observe that the response shows another student's ID card and personal details.
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.
The website used a simple number to identify each student's ID card. By changing that number in the request, the author could see another student's personal information. This is called an insecure direct object reference (IDOR), where the system does not check if you are allowed to see the data you ask for.
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.