User Information sent to client through websockets
Websocket requests sent account information for many users, including email addresses, to the client; the reporter saw hundreds of such requests.
- Triaged in under an hour
- Fixed in under an hour
- Paid in under an hour
- Disclosed after 18 days
Hey,
I noticed when monitoring the websocket requests that the account information of many users, including email address, is sent to the client. For example:
██████
██████████
█████████
████████
███████
There's hundreds of these requests, each containing user information. Please let me know if this is meant to be happening, but I didn't see a list of users on the site.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the websocket server broadcast user records to all connected clients instead of limiting the data to the requesting user.
What the attacker needed
Access to the site's websocket endpoint
The fix
The websocket should only send a user's own account information to that user's authenticated connection, not broadcast other users' records.
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 report has not been written yet. The Original tab links to the source.
A websocket is a two-way connection between browser and server that stays open. Here the server was sending other people's account details, such as email addresses, down that connection to the client.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.