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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-13214— OCPP GetConfiguration密钥解析栈缓冲区溢出漏洞

一分钟漏洞结论

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

OCPP 1.6 客户端中, 文件中的 函数存在栈缓冲区溢出漏洞。当处理来自中央系统的 (获取配置)请求时,处理程序使用无界拷贝函数 ,将攻击者可控的 JSON “key”(键)字符串拷贝到调用者的固定大小为 50 字节的栈缓冲区 中(该缓冲区定义在 中)。解析后的键值直接指向接收缓冲区,因此其长度仅受消息大小限制(由 定义,默认值为 2048 字节)。 消息通过充电桩(charge point)向其配置的中央系统建立的 WebSocket 连接进行传输。阅读器线程 将消息读入 ,并通过 PDU 函数表将其分派给

CVSS 9.8 · Critical
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Stack buffer overflow in OCPP GetConfiguration key parsing
来源: CVE Program / CVE List V5
Vulnerability Description
The OCPP 1.6 client in subsys/net/lib/ocpp/ocpp_j.c contains a stack buffer overflow in parse_getconfig_msg(). When handling a GetConfiguration request from the central system, the handler copied the attacker-controlled JSON "key" string into the caller's fixed 50-byte stack buffer (skey[CISTR50], declared in subsys/net/lib/ocpp/ocpp.c) using an unbounded strcpy(). The parsed key value points directly into the receive buffer, so its length is bounded only by the message size (CONFIG_OCPP_RECV_BUFFER_SIZE, default 2048). The GetConfiguration message is delivered over the WebSocket connection that the charge point opens to its configured central system. The reader thread ocpp_wsreader() reads the message into ui->recv_buf and dispatches it to parse_getconfig_msg() via the PDU function table. An attacker who controls the central system endpoint, or a man-in-the-middle on an unencrypted connection, can send a GetConfiguration request whose "key" field exceeds 50 bytes and overflow the reader thread's stack with attacker-chosen bytes. The consequence is a remotely triggerable stack smash on the OCPP reader thread: at minimum a denial of service, and plausibly remote code execution depending on build-time hardening such as stack canaries and MPU configuration. The fix replaces the strcpy() with a bounded strncpy(key, payload.key[0], CISTR50 - 1) followed by explicit NUL termination, matching the bounded copies already used by the sibling handlers.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
zephyrproject zephyr 4.3.0 ~ 4.4.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-13214 补丁与修复 (1)

CVE-2026-13214 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-13214

暂无评论


发表评论