Shared ChatGPT Link Could Hijack Sessions and Read Private Chats
Researchers at Parameter demonstrated a malicious ChatGPT link that executed attacker code inside a victim's signed-in session and accessed private conversations. OpenAI fixed the flaw within eight days and rated it P1, its highest severity.
A malicious ChatGPT link could run attacker code inside a logged-in session and read private conversations, researchers at Parameter demonstrated. The security firm reported the flaw through OpenAI's bug bounty program on October 18. OpenAI fixed it eight days later and rated it P1, its most serious category.
The trap looked like any ordinary shared ChatGPT conversation. An attacker could send it by email, chat message, support ticket, or social post. The victim did not need to install software, join a workspace, or sign in through the attacker. In the most reliable version, the victim opened the link and clicked ChatGPT's Preview button. In a later version, Parameter set the page to open Preview on its own, so opening the link triggered the attack.
Once the link opened, the attacker's code ran inside the victim's signed-in session with the same access as the real ChatGPT site. It listed recent conversations and opened a private chat that had not been shared with the attacker, sending a portion of it to a server the researchers controlled. The code called ChatGPT's signed-in APIs rather than scraping the screen. The code could access far more than those chats. "Essentially, we could perform any action on behalf of the victim's ChatGPT account," the researchers wrote.
Parameter ran this as a controlled test. The firm reports no real-world exploitation, and it ran the private-chat proof between separate accounts rather than against real users.
ChatGPT turns HTML blocks in a chat into small web pages through Preview. The feature runs that code in a locked-down frame on a separate address, so it cannot read the main ChatGPT page. That sandbox held.
The entry point came from a second feature in the same conversation. The shared chat contained an interactive graph, and ChatGPT loaded MathLive into the main page to draw it. A listener remained active that accepted messages its on-screen keyboard. Messages pass safely between frames only when the receiver verifies the sender. Parameter found that an attacker could update the listener's settings by sending messages from any frame, and those messages could carry raw HTML disguised as keyboard-layout data.
The attacker used the Preview frame to deliver that HTML across the boundary to the trusted main page. The attacker then used that HTML to build an unsandboxed frame that inherited the chatgpt.com identity. The attacker loaded a script from YouTube to supply the running code. ChatGPT's content security policy blocks inline scripts but allows scripts from YouTube, which made that final step possible.
Parameter traced the problem to three design choices. The MathLive integration allowed messages to change listener settings without verifying the sender. Those messages could carry raw HTML disguised as keyboard-layout data. The attacker used that HTML to build an unsandboxed frame inheriting the chatgpt.com identity. The YouTube script was the final workaround, not the root cause. Blocking YouTube alone would still leave an untrusted Preview able to inject HTML into the main site.
ChatGPT users do not need to take action. The fix sits on OpenAI's side, with nothing to install or reset. Parameter published its writeup on October 28, after the fix. OpenAI paid $5,000 for the report.
Source : thehackernews.com
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
