Zero Interaction Mass Account Password Reset Vulnerability
A hidden parameter in the password reset request could be changed from false to true, causing the server to generate a new password and send it to the victim's email. An attacker could invalidate the victim's old password without any interaction, though the new password goes to the victim.
Published on medium.com
Hello Guys, I hope you are well.😊 In this write up I will explain you how I found a vulnerability that can lead to zero interaction password reset of any user.
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 server trusted a client-supplied parameter to decide whether to generate and send a new password, without verifying that the request came from the account owner.
Impact
The victim's old password becomes invalid without their interaction, but the new password is sent to the victim's email, so they keep access; the report rates this as low impact.
What the attacker needed
Victim's email address; ability to intercept requests
The fix
The vulnerability was fixed, though the program did not disclose how.
How it was found
- Go to the forgot password page.
- Enter the victim's email address.
- Intercept the request with a proxy tool.
- Change the pass_sent parameter from false to true in the request body.
- Forward the request to the server.
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 forget your password, a website usually emails you a reset link. Here, the website had a hidden setting in the request that, when flipped, made the server create a brand new password and email it to the account owner. An attacker could flip that setting for someone else's email, which would cancel the person's old password, but the new one still went to the real owner's inbox.
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.