Description
XX-Net V5.16.6 contains a WebSocket frame parsing vulnerability in the WebSocket_receive_worker routine of simple_http_server.py that allows attackers to cause corrupted application data by sending unmasked WebSocket frames. The server unconditionally reads 4 bytes as a masking key regardless of whether the MASK bit is set in the frame header, causing the first 4 bytes of payload to be consumed as a mask key and the remaining payload to be incorrectly XOR-decoded, resulting in data corruption alongside missing RSV bit, opcode, and FIN fragmentation validations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| XX-net | XX-Net | — | — |
References
- https://github.com/XX-net/XX-Net/issues/14169 issue-tracking
- https://github.com/XX-net/XX-Net/pull/14170 issue-tracking patch
- https://github.com/XX-net/XX-Net/commit/a68b972a84ed6e52df9f30237cf47493b9231b53 patch
- https://www.vulncheck.com/advisories/xx-net-websocket-frame-parsing-data-corruption-via-simple-http-server-py third-party-advisory