深翼判例库DeepWing Case Library · INC-047 · 门禁层Access Control
OpenClaw 控制界面无条件信任链接里的 gatewayUrl 参数:点开恶意链接即送出网关认证 token,可一键接管本地网关(CVE-2026-25253,CVSS 8.8)。 一句话(英):OpenClaw's Control UI trusted the gatewayUrl link parameter without validation: one click on a crafted link exfiltrated the gateway token and handed over the local gateway (CVE-2026-25253, CVSS 8.8).OpenClaw's Control UI trusted the gatewayUrl link parameter without validation: one click on a crafted link exfiltrated the gateway token and handed over the local gateway (CVE-2026-25253, CVSS 8.8).
本条在判例库中的登记行This entry in the Case Library: deepwingai.com/cases#INC-047
时间线Timeline
已证实事实Confirmed facts
OpenClaw(原名 Clawdbot、Moltbot)的控制界面(Control UI)无条件信任从链接查询字符串读到的 gatewayUrl 参数。用户点开攻击者构造的恶意链接或访问恶意站点后,界面自动向攻击者指定的地址发起 WebSocket 连接,并在连接载荷中送出本地保存的网关认证 token。攻击者拿到 token 后可连接受害者的本地网关,修改配置(沙箱、工具策略)并调用特权动作,在网关主机上执行任意命令,构成一键远程代码执行。即使实例只监听回环地址也不能幸免,因为发起外连的是受害者自己的浏览器。受影响版本为 2026.1.29 之前的全部版本,严重度 CVSS 8.8(顾问记录结构化字段,经 NVD 评分与多家逐字引述核对)。修复版本 2026.1.29 在界面加载新 gatewayUrl 前增加了用户确认步骤,静默发布于 2026 年 1 月底(各源所记日期在 01-29 至 01-31 之间,正文只锚版本号);顾问记录于 2026-02-02 公开,媒体公开披露为 2026-02-03(SecurityWeek)。漏洞引入版本未见顾问记录记载。发现方为 depthfirst,其分析帖被顾问原页列为引用来源。OpenClaw 官方未见单独发布的公告散文。
The Control UI of OpenClaw (formerly Clawdbot and Moltbot) trusted the gatewayUrl parameter taken from a link's query string without validation. When a user clicked an attacker crafted link or visited a malicious site, the UI auto-connected to the attacker supplied address over WebSocket and sent the locally stored gateway authentication token in the connect payload. With the token, an attacker could connect to the victim's local gateway, modify configuration (sandbox and tool policies) and invoke privileged actions, executing arbitrary commands on the gateway host: a one click remote code execution. Binding the instance to loopback only did not protect it, because the victim's own browser initiated the outbound connection. All versions before 2026.1.29 were affected; severity is CVSS 8.8 (the advisory's structured fields, checked against the NVD score and verbatim quotations by several vendors). The fixed version, 2026.1.29, added a user confirmation step before the UI loads a new gatewayUrl; it shipped quietly at the end of January 2026 (sources give dates between January 29 and 31, so this entry anchors on the version number). The advisory was published on February 2, 2026, with media disclosure on February 3 (SecurityWeek). The version that introduced the flaw is not recorded in the advisory. The finder was depthfirst, whose analysis post is listed as a reference on the advisory page. OpenClaw has published no separate announcement prose.
失效机制Failure mechanism深翼分析DeepWing analysis
门禁层失效,失效点落在网关关:网关连接目标由外部链接参数决定,且连接凭据随连接自动送出,等于把「连向谁」与「把钥匙交给谁」绑成了一个未经确认的动作。外部输入进入网关信任边界时没有校验与确认环节,这是本条的失效点。与同一生态的 INC-048(技能市场投毒,工具层)失效点不同,不合并。等级限定:核心机制、影响与修复方式已直读顾问原页逐项核对;CVSS 与版本边界出自顾问记录结构化字段,以多家逐字引述核对一致。
An access control layer failure, located at the gateway gate: the gateway's connection target was decided by an external link parameter, and the connection credential travelled with the connection automatically, tying "who do I connect to" and "who gets my key" into a single unconfirmed action. External input crossed the gateway trust boundary with no validation and no confirmation step. The failure point differs from INC-048 in the same ecosystem (marketplace poisoning, tool layer), so the two are not merged. Grade note: the mechanism, impact and fix were read directly on the advisory page and checked item by item; the CVSS score and version boundary come from the advisory's structured fields, cross-checked against verbatim quotations by several vendors.
工程启示Engineering lessons
连接目标要确认:网关连接地址来自外部输入时,先校验并经用户确认再连接。
凭据不随连接自动送出:token 的发送要与连接目标绑定校验,不能点开链接就交钥匙。
回环监听不是边界:浏览器发起的外连能绕过只监听本地的假设。
Confirm the connection target:when a gateway address comes from outside input, validate it and get user confirmation before connecting.
Credentials do not travel automatically:sending the token must be bound to a validated target; one click must not hand over the key.
Loopback binding is not a boundary:an outbound connection initiated by the victim's own browser defeats the local-only assumption.
你的系统里,Agent 的对外动作有人盯着吗?Is anyone watching what your agents do outside your system?
做 17 题免费自检Take the free 17-question self-check