Skip to content
IDOR Write-up Beginner

Exposing Millions Of Critical Data On Kerala Civil Supplies Website

The website exposed ration card details through an insecure direct object reference (IDOR) in the ration card number parameter, allowing an attacker to view and modify other citizens' personal, family, income, and bank details. An attacker could also change bank account details to steal subsidy payments and alter card ownership.

Krishnadev P Melevila Follow

Published on infosecwriteups.com

Hello, My name is Krishnadev P Melevila, I am a self-learned Cyber-Security researcher and a web application penetration tester.

Krishnadev P Melevila, on infosecwriteups.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 application failed to verify that the authenticated user was authorised to access the requested ration card record, relying only on the user-supplied ration card number.

Impact

An attacker could view and modify personal details, change bank account details to steal subsidy payments, and alter card ownership, affecting millions of users.

What the attacker needed

A valid ration card and Aadhaar; ability to intercept HTTP requests

The fix

The vulnerability was fixed after reporting to CERT-In, NCIIPC, and NIC.

How it was found

  1. Sign up on the website as a citizen using Aadhaar and ration card details.
  2. Open a web interception tool like Burp Suite.
  3. Click on any service option (e.g., General details) and intercept the request.
  4. Observe the ration card number parameter in the request.
  5. Change the ration card number to another value to retrieve another user's details without authentication.
  6. Use the change bank option to modify bank account details of other users.

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 number in the request to identify which ration card's details to show, but it did not check if the person making the request was allowed to see that card. By simply changing the number, anyone could see and edit other people's private information, including bank details used for subsidy payments.

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.

More by Krishnadev P Melevila

View all

18 more disclosed reports, best first.

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.