Skip to content
IDOR Write-up Beginner

How I Found an IDOR Vulnerability – A Responsible Disclosure Story

The college portal used sequential invoice IDs in the URL without checking that the logged-in student owned the invoice. By changing the number, any student could view other students' fee invoices and personal details.

Vickyrohith Follow

Published on medium.com

As a cybersecurity enthusiast and a student aiming for a career in ethical hacking and bug bounty, I always explore web applications for security loopholes. One day, while accessing my college’s internal portal, I stumbled upon a serious Insecure Direct Object Reference (IDOR) vulnerability that exposed sensitive…

Vickyrohith, 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 invoice view endpoint looked up records by a sequential ID without verifying that the authenticated student owned that invoice.

Impact

Any authenticated student could view other students' financial and personal records, including names, emails, student IDs, programme details, and invoice information, which could lead to privacy violations and fraud.

What the attacker needed

A student account on the college portal; knowledge of the invoice URL pattern

The fix

The IT team patched it by implementing access control measures so students can only access their own invoices.

How it was found

  1. Open your own fee invoice and note the URL pattern with a sequential invoice ID.
  2. Change the invoice ID in the URL to a different number.
  3. Observe that another student's fee invoice is displayed.
  4. Increment and decrement the ID to access multiple students' records.

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 the address bar, to pick which record to show, but forgets to check that the person asking is allowed to see that record. Here, changing the invoice number in the web address showed someone else's fee bill. The fix is to check on the server that the logged-in user owns the requested invoice.

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.