Insecure WebSocket Communication leaks PII and why you should never ignore Burp’s WebSocket history…
A financial portal's WebSocket endpoint broadcast real-time activity log messages containing other users' email addresses and phone numbers to any connected client, without checking whether the client was authorised to see them. An attacker with a valid account could simply leave the connection open and harvest PII belonging to arbitrary users.
In modern web applications, real‑time communication channels such as WebSockets power dynamic user experiences — from live chat to event feeds. However, misconfigurations or inadequate access controls on these channels can lead to severe privacy breaches.
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 server broadcast activity-log events to all connected WebSocket clients without checking whether each client was entitled to see the data in those events.
Impact
Any logged-in user could passively collect other users' email addresses and phone numbers, a privacy breach; the text does not say whether the endpoint was truly reachable without authentication.
What the attacker needed
A valid account on the portal; an intercepting proxy; patience to let events accumulate
How it was found
- Connect through an intercepting proxy such as Burp.
- Log in to the site and navigate to any page within the portal.
- Open the WebSockets History tab in the proxy.
- Leave the connection open for a short while so background events accumulate.
- Inspect the captured WebSocket messages for entries containing PII in clear text.
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.
A WebSocket is a two-way connection a website keeps open so it can push updates to your browser in real time. Here the server pushed every user's activity details to every connected browser, instead of only to the people allowed to see them. Anyone logged in could sit and collect other people's email addresses and phone numbers.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.