Skip to content
Account takeover Write-up Intermediate

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.

Yaaser Ali Follow

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!

Yaaser Ali, on yasserali.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 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

  1. Go to the eBay forgotten password page and enter the victim's email address.
  2. Choose to receive the reset link by email and intercept the request to capture the reqinput value.
  3. Wait for the victim to click the reset link sent to their email.
  4. 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.

More by Yaaser Ali

View all

1 more disclosed report, best first.

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.