How I Found a Critical Bug That Leaked Chennai Residents’ Information | TamilNadu Gov website Bug
A Chennai Metro Water tax payment link displayed residents' personal and payment details without authentication, and changing an identifier in a subsequent request returned other people's information. An attacker could access sensitive data of many residents by altering the identifier.
Published on infosecwriteups.com
Karthikeyan here, I’m a passionate Ethical Hacker and Cyber Security Researcher.
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 used a predictable identifier to retrieve user records without verifying that the requester was authorised to access that record.
Impact
The vulnerability could expose the personal and payment information of thousands of Chennai residents.
What the attacker needed
Access to the tax payment link; no authentication required
How it was found
- Open the link received in a message about paying Chennai Metro Water tax.
- Observe that the page displays personal and payment details without asking for OTP or password.
- Inspect the URL and note a short alphanumeric code appended to the domain.
- Use curl to send a GET request to that URL and observe a redirect header to another URL with an id parameter.
- Follow the redirect, which sends a POST request with the id parameter and returns a JSON object with sensitive information.
- Change the id parameter to a random value and send the same POST request to access another person's information.
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 web application was showing personal details like name, address, and payment amount to anyone who opened a link, without asking for a password or code. By changing a number in the request, the author could see other people's information. This is called an insecure direct object reference (IDOR), where the system uses a simple identifier to fetch data but does not check if the requester is allowed to see it.
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.