Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| XX-net / XX-Net | affected 0 through 5.16.6; affected 0 through 43aec6f |
CWE
CWE-1286
References
- https://github.com/XX-net/XX-Net/issues/14169
- https://github.com/XX-net/XX-Net/pull/14170
- https://github.com/XX-net/XX-Net/commit/a68b972a84ed6e52df9f30237cf47493b9231b53
- https://www.vulncheck.com/advisories/xx-net-websocket-frame-parsing-data-corruption-via-simple-http-server-py
ADP enrichment
No English description supplied.
No references supplied.