How I could change your eBay password
The password reset mechanism reused a token (reqinput) generated in the initial request instead of the secret token sent to the user's email. An attacker who knew the victim's email could obtain a token and, after the victim clicked the reset link, change the victim's password.
Published on yasserali.com
Today I am going to share an interesting finding that allowed me to change the password of almost “150 million” eBay users!
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 validated the password change using a token from the initial reset request rather than the unique secret token sent to the user's email.
Impact
An attacker could change the password of any eBay user who clicked the reset link sent to their email, potentially hijacking millions of accounts in a targeted attack.
What the attacker needed
Victim's email address; victim clicks the reset link
How it was found
- Go to the eBay forgotten password page and enter the victim's email address.
- Choose to receive the reset link by email and intercept the request to capture the reqinput value.
- Wait for the victim to click the reset link sent to their email.
- Send a POST request to change the password, replacing the reqinput value with the one captured earlier.
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 sends a special link to your email to prove you own the account. This report found that the site also accepted a different, predictable value that anyone could get by starting the reset process for your email. So an attacker could start a reset for your account, wait for you to click your own reset link, and then use their value to set a new password.
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.