Skip to content
Info disclosure Write-up Intermediate

Hacking Chess.com and Accessing 50 Million Customer Records

The Chess.com mobile API exposed session IDs in user objects, allowing session hijacking and full account takeover of any user.

Sam Curry Follow

Published on samcurry.net

To preface: the bug we found here is really simple. The interesting thing here is the impact of the vulnerability itself.

Sam Curry (@samwcyo), on samcurry.net

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 API endpoint that fetched user details included the session_id field in its response without proper access control, exposing sensitive session tokens.

Impact

An attacker could hijack any user's session, leading to full account takeover.

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 log into a website, the site gives your browser a secret code (a session ID) to remember you. If someone else gets that code, they can pretend to be you. Here, the mobile app's API accidentally included other users' secret codes in its responses, so anyone using the app could steal them and take over accounts.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Sam Curry

View all

11 more disclosed reports, 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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.