Full Account Takeover at One of the Largest E-Commerce Companies
A password reset form accepted an extra parameter that was placed into the reset link, so an attacker could make the emailed link point to their own server. A victim who clicked the link would be sent to the attacker's site, which the author says could capture credentials or session information.
Today, I want to share my experience of discovering an account takeover (ATO) vulnerability through password reset link poisoning. While hunting for a program with millions of users — specifically, a large e-commerce company that I’ll refer to as redacted.com — I was testing the authentication functions when I…
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 password reset handler took an extra request parameter and used it to build the reset link without validating or restricting where it pointed.
Impact
An attacker could make a victim's password reset link redirect to an attacker-controlled site, which the author says could capture credentials or session information, though the text does not show a full account takeover actually being completed.
What the attacker needed
Victim clicks the emailed reset link; attacker can send a reset request for the victim
How it was found
- Find the password reset request and note that its body parameters share a common prefix.
- Add many candidate parameters with that prefix and a test value to the request body.
- Send the request and check the reset email for the test value appearing in the link.
- Identify the parameter whose value appears in the reset link.
- Set that parameter to an attacker-controlled URL and send the reset request for the victim.
- The victim receives a reset link that redirects to the attacker's server when clicked.
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 special link to reset it. This report found that the site let an attacker add an extra hidden field to the reset request, and the site then put that value into the emailed link. So the victim's reset link could be made to point to the attacker's website instead of the real one.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.