How I Become A Government Official Using A Vulnerability
The portal exposed administrative and staff pages without authentication, and a student data endpoint was vulnerable to IDOR. An attacker could access restricted modules, modify data, and view other students' sensitive information.
Published on infosecwriteups.com
Hey guys! It’s me Krishnadev P Melevila again!
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 missing authentication checks on administrative pages and missing authorisation checks on the student data endpoint.
Impact
An attacker could access restricted pages, create, modify, and delete data, and view sensitive student information including names, Aadhar numbers, addresses, phone numbers, and dates of birth.
What the attacker needed
None for improper authentication; a free student account for IDOR
The fix
The vulnerability was patched by the concerned department after the report.
How it was found
- Visit the portal's pages directory.
- Access administrative and staff modules without authentication.
- Register as a student and log in.
- Add a student with fake data and click edit while intercepting traffic.
- Change the id parameter in the request to another value.
- Observe another student's details returned.
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 had pages meant only for administrators and staff that anyone could open without logging in. Also, when viewing a student's details, changing the ID number in the request showed another student's private information instead of your own.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.