Skip to content
Account takeover Write-up Intermediate

10 golden minutes for taking over a Chess.com account

After a password change, the new password only applied to email login for 10 minutes, while username login still accepted the old password. An attacker who knew the old password could log in via username during that window, and the lack of rate limiting on the change password form allowed brute-forcing the new password to achieve full account takeover.

Seqrity Follow

Published on infosecwriteups.com

Bounty$400 View original

Hi folks, this is the second write-up about finding bugs on Chess.com. You can find the first one here.

Seqrity, on infosecwriteups.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 password update was applied asynchronously to different authentication backends, causing a delay for username-based login, and the change password endpoint lacked rate limiting.

Impact

An attacker who knows the old password could log in via username for 10 minutes after a password change, and by brute-forcing the new password (due to no rate limit) could achieve full account takeover.

What the attacker needed

Attacker knows the old password; victim has changed password within last 10 minutes; no rate limit on change password form

How it was found

  1. Change your password on Chess.com.
  2. Try to log in with your username and the new password; it fails for 10 minutes.
  3. Log in with your username and the old password; it still works during that period.
  4. Use Burp Intruder to brute force the new password on the change password form, which has no rate limit.

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 change your password on a website, you expect the old password to stop working immediately. Here, the old password still worked for one type of login (using your username) for 10 minutes after the change. Also, the form to change your password had no limit on how many guesses someone could make, so an attacker could try many passwords quickly and take over the account.

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 Seqrity

View all

1 more disclosed report, best first.

More from Chess.com

View all

The newest disclosed reports for this program.

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.