Skip to content
IDOR Write-up Beginner

My First Bug in College Portal -IDOR,PII,SQL over 30,000 students information Leaks.

A college student portal used sequential numeric identifiers in URLs for hostel application and fee receipt pages without checking that the logged-in student owned the record, so changing the number showed other students' personal and payment details. The author also reports that a login form accepted a SQL injection payload that led to a page where any user's password could be changed, though the registration attempt then failed because the account was not an admin.

loki1818 Follow

Published on medium.com

Hi my name is Logeshwaran i am Bug bounty Hunter, cyber security enthusiast. This write-ups is anyone can hack with the basic understanding of the web application and the basic knowledge about the bugs.

Lo_ki_18, 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

Impact

An attacker could view other students' hostel details, photos, dates of birth, family names, addresses, phone numbers and emails, and could see other students' payment details; the SQL injection reached a password-change page but the attempt failed because the account was not an admin.

What the attacker needed

A student account on the portal; sequential numeric identifiers; Burp Suite to edit requests

How it was found

  1. Book a hostel in the student portal and download the hostel form.
  2. Intercept the request and change the student identifier in the URL.
  3. Observe another student's hostel form displayed in the browser.
  4. Enter a SQL injection string in the login password field to reach a password-change page.
  5. Download a fee receipt and change the receipt identifier in the URL to view another student's payment 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.

When a website shows your own record, it often puts a number in the address bar to say which record to show. If the site does not check that the number belongs to you, you can simply change it and see someone else's data; this is called an insecure direct object reference. The author also found that typing special characters into the login form confused the database behind it, a problem called SQL injection.

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.