Account Take Over via Password Reset — India’s Top Central Governement Platform (50k User’s Account in Risk)
The password reset OTP verification endpoint returned a JSON status field of false on failure, and the author claims that changing this response to true in the browser allowed the OTP check to be bypassed and any user's password to be reset. The text also mentions a separate IDOR in a dating application that exposed private messages, but gives no detail on it.
Published on osintteam.blog
Last night, while casually poking around a Government application (definitely not trying to swipe right on vulnerabilities), curiosity kicked in. A few harmless parameter tweaks later… and suddenly, I wasn’t just reading my own messages anymore.
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 client-side flow decided whether OTP verification succeeded based on a response field the user could edit, rather than the server enforcing the check before allowing the password change.
Impact
The author claims any user's account could be taken over by resetting their password without a valid OTP, though the write-up does not show a victim account being compromised.
What the attacker needed
Target uses an OTP-based reset flow; attacker can intercept responses
The fix
The text says the issue was patched and proper access controls were enforced after responsible disclosure.
How it was found
- Find the target's domains and subdomains during reconnaissance
- Filter for live subdomains and scan them with an automated tool
- Log in and go to the forgot password flow
- Submit an OTP verification request and intercept the response
- Change the status field in the response from false to true
- Proceed to set a new password and confirm the takeover
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.
When you reset a password, the site usually sends a one-time code (OTP) to prove the account is yours. Here the author says the site's own reply to the browser said the check failed, and simply editing that reply to say it succeeded let the reset go through. If true, that means the server trusted the browser's copy of the answer instead of checking the code itself.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.