Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
CivetWeb Heap/Stack Buffer Overflow via WebSocket permessage-deflate Decompression
Vulnerability 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.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Vulnerability Type
跨界内存写
Vulnerability Title
CivetWeb 缓冲区错误漏洞
Vulnerability Description
CivetWeb是civetweb组织开源的一个易于使用、功能强大、可嵌入 C/C++ 的 Web 服务器,具有可选的 CGI、SSL 和 Lua 支持。 CivetWeb 4a4f0c95版本存在缓冲区错误漏洞,该漏洞源于read_websocket()函数存在堆和栈缓冲区溢出,攻击者可通过协商permessage-deflate并发送设置RSV1位的特制压缩WebSocket帧,导致服务器越界写入zlib同步尾,造成堆元数据损坏、拒绝服务或潜在代码执行。
CVSS Information
N/A
Vulnerability Type
N/A