Skip to content
IDOR Write-up Beginner

How I Found a Security Vulnerability in the CBSE Class 12 Result Portal and Reported It Responsibly

The CBSE Class 12 result portal used an Admit Card ID that contained a predictable three-digit component, and the result-fetch endpoint lacked rate limiting, so an attacker who knew a student's roll number could guess the ID and access that student's result. The author reported it and CERT-In confirmed it was fixed.

rastogi2198 Follow

Published on medium.com

I’m Priyank Rastogi. I’m not a professional penetration tester.

Priyank Rastogi, 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 Admit Card ID was derived from predictable information and the result endpoint did not enforce rate limiting, so the identifier was guessable and brute-forceable.

Impact

Before the fix, an attacker who knew a student's roll number could potentially access that student's academic results and personal details by guessing the Admit Card ID, though the author does not confirm whether anyone actually did so.

What the attacker needed

Knowledge of a student's roll number; no rate limiting on the endpoint

The fix

The vulnerability was fixed, as confirmed by CERT-In and verified by the author.

How it was found

  1. Identify the two inputs needed to fetch a result: roll number and Admit Card ID.
  2. Notice that the Admit Card ID has a predictable three-digit component with only 1,000 possibilities.
  3. Observe that the result-fetch endpoint has no rate limiting, allowing rapid guessing of the three-digit component.
  4. Report the issue to CERT-In with a conceptual reproduction and a video proof-of-concept using consenting individuals' data.

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.

A website should check that you are allowed to see a piece of data, not just rely on a secret code. Here the secret code was easy to guess because part of it was a three-digit number, and nothing stopped someone from trying all 1,000 values quickly. That let anyone who knew a student's roll number see that student's exam result.

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.