CyberRota Analysis
AI-GeneratedCivetWeb is vulnerable to a heap and stack buffer overflow in the read_websocket() function, which can be exploited by unauthenticated remote attackers through specially crafted compressed WebSocket frames. This flaw can lead to memory corruption, resulting in denial of service or potentially allowing code execution. Organizations using CivetWeb with the specified configurations should prioritize patching this vulnerability to mitigate the associated risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
CivetWeb (commit 4a4f0c95) contains a heap and stack buffer overflow vulnerability in the read_websocket() function that allows unauthenticated remote attackers to corrupt memory by sending compressed WebSocket frames when both USE_ZLIB and MG_EXPERIMENTAL_INTERFACES are defined. Attackers can negotiate permessage-deflate during the WebSocket handshake and send a crafted frame with the RSV1 bit set, causing the server to write a 4-byte zlib sync trailer out-of-bounds past the allocated buffer, leading to heap metadata corruption, denial of service, or potential code execution.