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.
Problem types
CWE-1286 – Improper Validation of Syntactic Correctness of Input
Product status
Any version
Any version
Credits
YU SUN
References
github.com/XX-net/XX-Net/issues/14169
github.com/XX-net/XX-Net/pull/14170
github.com/...ommit/a68b972a84ed6e52df9f30237cf47493b9231b53
www.vulncheck.com/...ta-corruption-via-simple-http-server-py