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.
To preface: the bug we found here is really simple. The interesting thing here is the impact of the vulnerability itself.
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.