IDOR Nightmare: Indian Post Office Portal Exposed Thousands of KYC Records with Article ID with…
An IDOR vulnerability in the Indian Post Office portal allowed unauthorised access to KYC documents by changing the document ID in an API request. An attacker could retrieve sensitive personal data such as Aadhaar numbers, PAN details, addresses, and phone numbers of other users.
systemweakness.com
Published on systemweakness.com
Insecure Direct Object References (IDOR) vulnerabilities continue to be a major security concern, and a recent discovery in the Indian Post Office portal highlights the severity of such flaws. This vulnerability exposed sensitive KYC details of users, allowing unauthorized access to critical personal data.
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 that served KYC documents did not verify that the requesting user was authorised to access the requested document ID.
Impact
The vulnerability could lead to mass identity theft, phishing and scams, and regulatory violations due to exposed Aadhaar and PAN details.
What the attacker needed
Access to the portal; knowledge of document IDs
The fix
The issue was reported to the authorities and the files were secured, as confirmed by Cert-In.
How it was found
- Log in to the official Indian Government portal and observe background API calls.
- Send a request to the KYC document endpoint without an authorization token.
- Change the document ID in the request to another user's ID.
- Receive the other user's KYC details including PAN and document link.
- Brute force user IDs using an intruder tool to access many records.
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 IDOR (Insecure Direct Object Reference) happens when a website uses a simple identifier, like a number, to refer to a user's data but does not check if the person asking is allowed to see it. Here, changing the document number in the web address let the researcher see other people's private identity documents. This is like changing the number on a locker key and opening someone else's locker.
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.