Skip to content
IDOR Write-up Beginner

Exposing a Major Data Leak in UPPCL: How Anyone Could Access Cons

An API endpoint on the UPPCL consumer portal returned full consumer details without any authentication. Anyone who knew or guessed an electricity account number could retrieve personal data such as mobile number, address, email, and security deposit amount.

Siddharth Follow

Published on medium.com

Imagine logging into your electricity provider’s website, expecting a secure experience, only to find that anyone with minimal technical skills could access your personal details — including your mobile number, email, address, and even your security deposit amount!

Siddharth, 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 API endpoint lacked any authentication or authorization check before returning consumer data.

Impact

Attackers could access personal data for any known account number, enabling phishing, identity theft, privacy breaches, and automated scraping of many records.

What the attacker needed

A valid electricity account number; no login required

The fix

The API should require authentication and authorization so users can only access their own data, with role-based access control, data masking, rate limiting, and logging.

How it was found

  1. Visit the consumer portal.
  2. Enter a valid electricity account number and intercept the request with Burp Suite.
  3. Identify the API call to the consumer details endpoint.
  4. Modify the request to test different account numbers.
  5. Observe that full consumer details are returned without authentication.

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.

An API is a way for websites to fetch data behind the scenes. Here, the website asked the server for a customer's details but the server never checked whether the person asking was allowed to see them. So anyone who knew an account number could read that customer's private information.

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 Siddharth

View all

1 more disclosed report, 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.