恶意 ChatGPT 分享链可接管账号
Parameter Labs 演示称,打开恶意公开分享链接可让攻击者 JavaScript 在受害者的认证会话中运行,进而枚举会话、读取私聊并以受害者身份调用认证 API。攻击链串联了使用 MathLive 的交互图表、HTML Preview、跨框架消息传递和 YouTube JSONP,以绕过脚本执行限制。Parameter Labs 称 OpenAI 已于 10 月 26 日修复问题,将其定为 P1 并支付 5,000 美元赏金;所给证据未显示已发生真实用户滥用。
这项受控验证表明,多项单独看似无害的 ChatGPT 功能组合后可能暴露私聊和认证账号操作,分享链接因此成为 AI 产品必须重视的安全边界。
In October 2026, we found a way to turn an ordinary public ChatGPT share into attacker-controlled JavaScript running inside the signed-in session of whoever opened it.
An attacker could create a malicious conversation, publish it using ChatGPT's normal sharing feature, and send the link to another user. When the victim opened the share, the payload executed as chatgpt.com with access to the victim's authenticated web session.
We confirmed that this code could enumerate the victim's conversation list, retrieve content from a private conversation that had never been shared with the attacker, and send data from that conversation to an external server. The payload was not limited to modifying the page or displaying an alert—it could directly call ChatGPT's authenticated APIs as the victim, essentially allowing us to take over the victim's ChatGPT account.
The victim did not need to install an App, join a Project, paste code, or open developer tools. Opening the shared link was the only required action.
OpenAI fixed the issue on October 26 and classified the report as P1.
The chain started with two features that looked harmless on their own: a graph and an HTML Preview.
#ChatGPT#OpenAI#Parameter Labs#MathLive#YouTube#HTML Preview