OpenAI paid $5000 for this account takeover vulnerability that could also leak your private chats
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
OpenAI paid a hacker $5,000 for finding a way to take over chatgpt accounts with one shared link. All you had to do was open a real conversation on chatgptt.com and their code runs in your logged in session with your access. And they proved it by reading a private chat that the recipient had never shared. So how do you go from a shared chat to somebody else's account? Well, the conversation had a graph in an HTML preview. The graph loaded a math library called Math Live on Chat GPT's main page. A preview was sandboxed, but it could still send math live a message. Well, Math Live didn't check who was actually sending it. It rendered the researcher's HTML as a virtual keyboard layout, and that HTML created a new frame without the sandbox, which the browser treated as chatgpt.com. Well, chatgpt CSP blocked the JavaScript written directly into the frame, but allowed scripts from YouTube.
A YouTube endpoint echoes the researcher's code back as an allowed script and once it has been ran it could call chat GPT's APIs with the recipients access. According to parameters writeup, open AI rated this as a P1 and fixed it on October 26. And this was all a part of OpenAI's bug binding program where companies pay security researchers to find and report vulnerabilities in their products. So, if you think you have what it takes to find bugs like this, you should go ahead and give it a





