目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-93673— WebSocket客户端握手验证缺失漏洞

一分钟漏洞结论

影响对象
zephyrproject zephyr
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Zephyr 的 WebSocket 客户端在 文件的 函数中验证服务器的握手响应。该比较操作使用 执行,其中 是服务器发送的值长度,而非预期值的长度。因此,该检查仅验证接收到的值是否为预期 的前缀。如果服务器返回少量正确的字符,该检查即可通过;此外,若响应中包含空的 头,则会导致以计数为 0 调用 ,该函数返回 0,从而在未进行任何实际比较的情况下将 置为真。此外,头值回调函数在接收到第一个数据块后清除了 标志,导致跨接收缓冲区边界分割的值仅被部分检查。 是 中唯一的 WebSocket 特定验证门控;客户端并未

CVSS 4.8 · Medium

可能的 ATT&CK 技术 1 AI

T1566 · Phishing
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-93673 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
WebSocket client accepts a handshake without verifying the full Sec-WebSocket-Accept value
来源: CVE Program / CVE List V5
Vulnerability Description
The Zephyr WebSocket client validates the server's handshake response in on_header_value() in subsys/net/lib/websocket/websocket.c. The comparison was performed as strncmp(at, str, length), where length is the length of the value the server sent rather than the length of the expected value, so the check only asked whether the received value was a prefix of the expected base64(SHA-1(key || GUID)). A server that returned a handful of correct characters passed, and a response carrying an empty Sec-WebSocket-Accept: header caused strncmp() to be called with a count of zero, which returns 0 and set ctx->sec_accept_ok with no comparison performed at all. The header-value callback also cleared ctx->sec_accept_present after the first chunk, so a value split across receive-buffer boundaries was only ever examined in part. ctx->sec_accept_ok is the sole WebSocket-specific gate in websocket_connect(); the client does not check the HTTP status code or the Upgrade:/Connection: headers. Any HTTP response containing an empty or prefix-matching Sec-WebSocket-Accept header therefore completed the handshake, after which the socket is finalized as a WebSocket and all further peer bytes are parsed as frames. The affected path is driven directly by remote input through subsys/net/lib/http/http_parser.c, and is reached by every user of websocket_connect(), including MQTT over WebSocket (subsys/net/lib/mqtt/mqtt_transport_websocket.c) and subsys/net/lib/ocpp/ocpp.c. The Sec-WebSocket-Accept exchange is not a secret-based authentication -- an endpoint or on-path attacker that sees the request can compute the expected value -- so the impact is bounded to parties that never observed the handshake request: a caching or transparent intermediary replaying a canned response, an off-path attacker injecting a spoofed response, or a non-WebSocket endpoint the client was induced to talk to. For those, the per-connection binding that RFC 6455 requires the client to enforce provided no protection at all, letting a single crafted response convince the device it holds a live WebSocket session and causing it to send application data to, and accept frames from, an unverified peer. There is no memory-safety consequence. The fix compares each delivered chunk against the expected value at the position reached so far, refuses a chunk that would overrun it, and accepts only once every byte of the expected value -- and no more -- has been matched; on_header_field() now also clears the flag for any other header so a partial value cannot be continued across an intervening header.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对数据真实性的验证不充分
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
zephyrproject zephyr 2.1.0 ~ 4.3.2 -

二、漏洞 CVE-2026-93673 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-93673 的情报信息

请登录查看更多情报信息。

CVE-2026-93673 其他参考 (2)

同批安全公告 · zephyrproject · 2026-11-16 · 共 8 条

CVE-2026-93668 6.5 MEDIUM Linux 蓝牙SDP服务器拒绝服务漏洞
CVE-2026-93667 5.9 MEDIUM Zephyr Virtual L2 VLAN帧处理类型混淆漏洞
CVE-2026-93666 5.3 MEDIUM 蓝牙经典SDP客户端缓冲区分配死锁漏洞
CVE-2026-93672 5.3 MEDIUM Linux 蓝牙 ATT 请求查找空指针解引用漏洞
CVE-2026-93669 4.7 MEDIUM ITE IT8xxx2 SHI后端空指针解引用漏洞
CVE-2026-93671 3.7 LOW Zephyr WebSocket客户端越界读取漏洞
CVE-2026-93670 3.5 LOW DesignWare I3C驱动越界写漏洞

IV. Related Vulnerabilities