ChatGPT failure in public link to share OpenAI conversations corrects P1

Author: Published 6 min de lectura 18 reading

The images in this article were generated with artificial intelligence. How we publish

Researchers at the Parameter firm showed that a public link to share a ChatGPT conversation could become a vector to run code in the session of an already authenticated user with the ability to read private conversations. Done confirmed: The researchers reported the failure through the OpenAI rewards program on October 18; OpenAI corrected the problem eight days later, on October 26, and classified it as P1, the most serious category.

In simple terms, vulnerability took advantage of two legitimate functions of ChatGPT's web interface and the way the browser manages communication between frames. The first function - Preview - allows an HTML block included in a conversation to be shown as a small embedded "page." This Preview page is run in a separate origin and, under normal conditions, is isolated so that you cannot read the ChatGPT home page. The second function was an interactive component within the conversation (a graph) that loaded a mathematical bookstore called MathLive on the main page.

ChatGPT failure in public link to share OpenAI conversations corrects P1
Image generated with IA.

The weak link was not the Preview itself or MathLive separately, but the interaction between the two. Parameter found that MathLive left an active list that accepted messages between frames without verifying the origin of the issuer; in addition, that message could transport gross HTML content as part of what MathLive interpreted as the on-screen keyboard data. This was enough: Preview - from its restricted frame - could send HTML to the reliable list of the home page. That HTML built a new frame that the browser considered to be part of chatgpt.com (not sandboxing) and, taking advantage of the fact that the content security policy allowed to load scripts from YouTube, it ended up running code controlled by the attacker within the context of the main domain.

Once in that context, the malicious code directly called the APIs that ChatGPT itself exposes to the browser when the user is authenticated. What Parameter demonstrated in a controlled way was that these accesses could list recent conversations, open a private conversation that had never been shared with the attacker and send part of its content to an external server. The researchers stress that the test was carried out between laboratory accounts and that they do not report evidence of actual exploitation in the outside world.

OpenAI validated the reproduction of the attack, increased the severity from P2 to P1 and deployed corrections in two versions of the web front: both now reject the messages that the attack required. Confirmed: Parameter published his public analysis on October 28 and OpenAI paid $5,000 for the report.

What this means for users: in the worst technical scenario - the one that researchers played - a malicious shared link could act with the same privileges as the user authenticated on chatgpt.com. This allows not only to read private conversations but also to perform any action that the session allows, from editing chats to invoking internal APIs accessible to the browser in that session. Parameter explicitly indicates that "its scope was not limited to chats," which makes clear the impact potential on other calls that the browser can make in authenticated context.

What is confirmed: there was a chain of validation failures between frames that allowed unverified HTML to be entered on the main page, reproduction and partial exfiltering were demonstrated in controlled tests, and OpenAI implemented a remedy on the front to block the exploited messages. What remains an estimate or uncertain: there is no public evidence that malicious actors have exploited this vulnerability before the patch, and there is no public data on whether old versions of the web or particular integrations were affected in production beyond the repaired.

What should the reader do now? The good news is, according to OpenAI's report and confirmation, no required technical action by common users: the arrangement was applied on the server and on the deployed fronts. However, specific precautionary measures should be taken:

1) Avoid opening sharing links from unverified shipments. Although shared conversations are a legitimate feature, a link received by mail, message or support can be manipulated to include malicious interactive content. If you didn't expect that link, treat him as a suspect.

2) Do not press the Preview function if you do not trust the source of the link. The original reproduction was reliable in the version that required a click on Preview; in a later variant, Parameter got the Preview to open automatically, but until you know who sent the link, it avoids unnecessary interactions.

3) Close session on shared devices and review account activity. If you work in environments where others can access your machine or mail, close ChatGPT when you don't use it. Check the account activity and active sessions if the platform allows.

4) Enable strong authentication and review third-party authorizations. If OpenAI offers multi-factor authentication mechanisms in your account, please accept them. Check and revoke access to third party applications if you do not recognize them.

ChatGPT failure in public link to share OpenAI conversations corrects P1
Image generated with IA.

5) Keep the browser up to date and use insulation where possible. Vulnerabilities that cross boundaries between frames and origins depend in part on browser behaviors; keeping it updated reduces the risk surface. In more sensitive environments, using isolated browser profiles or virtual machines to open unknown links limits impact.

For those who want to understand the technique involved in greater depth, it is appropriate to review documentation on the post-Message API and content security policies (CSP), which are the browser technologies involved in this kind of problem. A good starting point is MDN documentation on window.post and Content Security Policy. It is also useful to know how bug bounty programs work; OpenAI uses the HackerOne platform to manage public reports and reward payments ( hackerone.com / openai).

In short: a technical chain was discovered and corrected that allowed a shared link to run code with the privileges of an authenticated ChatGPT session and read private conversations. The incident is resolved publicly and was treated as critical, but remember that the practical lesson does not change: it treats shared links with care, limits the exposure of your sessions and maintains basic active security measures.

Coverage

Related

More news on the same subject.