Skip to content
Race condition Write-up Intermediate

Easy Account Takeover on dell subdomain

The password reset function on a Dell subdomain generated the same reset token for two different email addresses when two reset requests were sent simultaneously. An attacker could obtain the victim's reset token and change their password, leading to account takeover.

Mohamed Fares Follow

Published on medium.com

I tested every function there but nothing was found, and the last thing I was testing is resetting the password I tried everything I know, and I was going to give up

Mohamed Fares, 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 a race condition in the password reset token generation, where concurrent requests caused the same token to be issued for different email addresses.

Impact

An attacker could take over a victim's account by obtaining the same reset token and changing the victim's password.

What the attacker needed

Attacker has an account; victim's email address known; ability to intercept and replay requests

How it was found

  1. Start a password reset for the attacker's account using the forgot password function.
  2. Enter the attacker's email in the reset field and intercept the request.
  3. Hold the intercepted request without forwarding it.
  4. Send the request to the repeater and change the email to the victim's email.
  5. You now have two requests: one held in intercept and one in repeater.
  6. Send both requests at the same time to receive the same reset token for 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 website sends a special link or code to your email to prove you own the account. This report found that if two people asked to reset their password at exactly the same moment, the website gave them the same code. That meant one person could use the other person's code to take over their account.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More from Dell

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.