Zero Click account Takeover
The password reset endpoint accepted an array of email addresses instead of a single string, so one request sent reset links to both the victim and an attacker-chosen address. Because the same reset token was delivered to both recipients, an attacker could take over any account without the victim doing anything.
Published on medium.com
I checked my 2nd mail “I didn’t sign up with it in upchieve and I got a reset password mail from upchieve
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 reset endpoint did not validate that the email parameter was a single string, so an array was accepted and the same reset token was issued to multiple recipients.
Impact
An attacker could take over any account, including one belonging to the programme itself, with no action from the victim, though the author did not actually attempt the takeover of the internal address because of programme policy.
What the attacker needed
Knowledge of the victim's email address; no victim interaction needed
How it was found
- Create a temporary mailbox and sign up to the target site.
- Send a password reset request and note the JSON email parameter.
- Change the email value to an array holding the victim address and the attacker address.
- Send the request and confirm the reset email is delivered to both addresses.
- Compare the reset links and confirm the token is identical in both emails.
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 site emails you a link containing a secret code that lets you set a new one. Here the site trusted whatever list of addresses was sent and mailed the same secret code to every address in it. So an attacker could add their own address next to the victim's and receive the victim's code, then use it to take over the account.
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.