Skip to content
Account takeover Write-up Beginner

Password Reset Poisoning: Receiving the Same Reset Link in My Inb

The password reset endpoint accepted an array of email addresses instead of a single string, and sent the same reset link to every address in the array. An attacker could add their own email alongside the victim's and receive the victim's password reset link.

Twilight Follow

Published on medium.com

As a result, an attacker may receive the same password reset link as the legitimate user, without compromising the victim’s email account.

Twilight, 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 backend did not validate that the email field was a single string, so it processed an array and sent the reset link to each address.

Impact

An attacker could receive the same password reset link as the victim, potentially leading to account takeover, though the text notes the behaviour was already known and under fixing.

What the attacker needed

Ability to send a password reset request; attacker has an email address

The fix

The text says the duplicate behaviour was already identified and under fixing, but does not describe the fix itself.

How it was found

  1. Trigger the forgot password function and intercept the request.
  2. Try common bypass patterns, which fail with JSON parsing errors.
  3. Change the email parameter to an array containing the victim and attacker addresses.
  4. Check both mailboxes and see the same reset link delivered to both.

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 a password, a site emails you a special link to set a new one. This site let you put more than one email address in the request, and it sent the same link to all of them. So an attacker could add their own address next to the victim's and get a copy of the victim's reset link.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.