Skip to content
Access control Write-up Beginner

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.

Krishnadev P Melevila Follow

Published on infosecwriteups.com

Hey guys! It’s me Krishnadev P Melevila again!

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 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

  1. Visit the portal's pages directory.
  2. Access administrative and staff modules without authentication.
  3. Register as a student and log in.
  4. Add a student with fake data and click edit while intercepting traffic.
  5. Change the id parameter in the request to another value.
  6. 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.

More by Krishnadev P Melevila

View all

18 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.