In-depth lesson · Cross-site WebSocket hijacking
Year by year: 2017
What the disclosed Cross-site WebSocket hijacking reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2017
4 pointsKept working4
Hunters captured the WebSocket upgrade request and resent it with the Origin header changed to an external site to see whether the handshake still succeeded.
Seen in 3 reports
The same product's WebSocket endpoint lacking an Origin check was reported several times in the disclosed reports.
Seen in 3 reports
Connecting from a foreign origin with a generic client and sending messages showed whether actions such as login or document edits were accepted.
Seen in 2 reports
Opening a socket with the victim's cookies revealed whether the server returned session data or chat history to a foreign origin.
Seen in 1 report