Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OpenClaw 一键远程代码执行 (AML.CS0050)

一句话通俗理解

点一个链接就 RCE——OpenClaw 的 1-click 漏洞让「恶意链接」直接通向系统 shell。

案例速览

维度内容
案例类型演练 / 安全研究
发生时间2026-02-01
攻击者DepthFirst
受害目标OpenClaw

事件经过

安全研究者演示了 OpenClaw AI 智能体的一键远程代码执行漏洞:一个包含 JavaScript 脚本的恶意链接,用户只需点击即可在 OpenClaw 运行环境执行任意代码——AI 助手的「便捷交互」成为攻击入口。

运用的 ATLAS 技术

以下攻击链映射来自 MITRE ATLAS 官方数据(AML.CS0050 的 employs 关系),按官方步骤编号排序;技术名称链接至本库对应技术文档,引用文字为官方对本次运用的描述。

S00

S01

S02

  • 恶意链接 (AML.T0011.003)

    When the victim clicked the link to the researchers’ website, the malicious JavaScript script executes in the user’s browser.

S03

  • 凭证访问漏洞利用 (AML.T0106)

    The malicious script opened a background window to the victim’s OpenClaw control interface with the gatewayUrl set to a WebSocket address on the researcher’s server. OpenClaw’s control interface trusts the gatewayUrl query string without validation and auto-connects on load, sending the Gateway token to the researcher’s server.

S04

  • 防御规避漏洞利用 (AML.T0107)

    The malicious script performed Cross-Site WebSocket Hijacking (CSWSH) to bypass localhost network restrictions. It opened a new WebSocket connection to the OpenClaw Gateway server on localhost.

S05

  • 有效账户 (AML.T0012)

    The malicious script used the stolen Gateway token to authenticate, allowing subsequent calls to OpenClaw’s Gateway API on the victim’s system.

S06

  • 修改 AI 智能体配置 (AML.T0081)

    The malicious script disabled OpenClaw’s security feature that prompts users before running potentially dangerous commands. This was done by sending the following payload to OpenClaw’s Gateway API:

{ "method": "exec.approvals.set",
  "params": { "defaults": { "security": "full", "ask": "off" } }
}

S07

  • 逃逸到宿主机 (AML.T0105)

    The malicious script disabled OpenClaw’s sandboxing, forcing the agent to run commands directly on the host machine instead of inside a docker container. This was done by sending a config.patch request to OpenClaw’s Gateway API to set tools.exec.host to “gateway”.

S08

关联战术

参考资料

以下为 MITRE ATLAS 官方案例收录的参考来源:


版本: ATLAS 2026.09 | 更新: 2026-10-24 | 模板: ATLAS 案例研究 v1.0