Patched ChatGPT Flaw Allowed Account Hijacking Through Shared Links

image 15
🔊 Listen to the summary

OpenAI has patched a severe vulnerability in the ChatGPT web application that could have exposed a user’s private chat history and allowed account takeovers when clicking a shared conversation link. Discovered by security firm Parameter, the exploit relied on a chain of weaknesses triggered within an authenticated browsing session, though the researchers found no evidence that any real users were targeted.

The attack took advantage of MathLive, a third-party library used by ChatGPT to render mathematical formulas and charts. The component’s on-screen keyboard accepted input from external windows and injected unverified HTML into an unsandboxed frame recognized as part of the official chatgpt.com domain. By exploiting that weakness alongside website security rules that permitted YouTube scripts, the researchers were able to execute arbitrary JavaScript within a victim’s active session. In its most advanced form, simply opening the shared link was enough to trigger the script, enabling it to retrieve private chat lists, read confidential conversations, and call internal APIs on the victim’s behalf.

Parameter submitted the vulnerability through OpenAI’s bug bounty program on October 18. OpenAI subsequently elevated the report’s severity from P2 to P1 on October 21 before rolling out a fix across both versions of the web interface by October 26, awarding the researchers a $5,000 bounty. MathLive separately addressed the behavior on October 31 with version 0.111.2, configuring the virtual keyboard to reject cross-origin messages by default.

Because the remediation occurred on the server side, users do not need to take manual action to protect against this specific attack vector. However, OpenAI’s shared links cannot be restricted to specific individuals or set to expire automatically. Users can review or delete previously generated links at any time by navigating to Settings and selecting Data controls within the ChatGPT interface.

Source: Notebookcheck