A Shared ChatGPT Link Could Run Attacker Code in Your Session and Read Private Chats
A malicious ChatGPT share link could run attacker code in a user's session to read private conversations, a flaw OpenAI fixed.
Overview
Researchers at the security firm Parameter discovered a flaw in ChatGPT that allowed a malicious shared link to run attacker code in a user's logged-in sessionAn active logged-in period of communication between a user or device and a server. This vulnerability let the code access private conversations and perform any action on behalf of the victim's account. The attack worked by exploiting a feature that turns chat content into a web page, which normally runs in a locked-down frame. However, a second feature loaded a math library into the main page, leaving a listener that accepted messages without checking the sender. OpenAI fixed the issue eight days after the report and rated it P1, its most serious category. Any person who opened a shared ChatGPT link and clicked the Preview button was at risk of having their private data accessed.
Terms in this story
- Session
- An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
- bug bounty program
- A reward program where a company pays independent researchers who responsibly report security flaws in its systems. Through a bug bounty program, ethical hackers can test a company's websites and apps under clear rules and earn cash rewards for finding bugs before criminals do. Security+ objective 4.3 lists the term
- server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- APIs
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
- Sandbox
- An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- content security policy
- An HTTP response header that tells browsers which domains are allowed to load scripts on a web page. When a website sets a strict Content Security Policy, a visitor's browser refuses to run unauthorized inline scripts or send stolen data to an attacker's server during a cross-site scripting attack.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"OpenAI fixed it eight days later..." Found by reading the article; these exact words are in it - Who is affected: "...anyone who opened it..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"......firm Parameter showed. The researchers reported the flaw through OpenAI's bug bounty program on October..." Found in the opening sentences - Security+ 4.3 Explain various activities associated with vulnerability management.
"......The researchers reported the flaw through OpenAI's bug bounty program on October 18, and OpenAI fixed it..." Found in the opening sentences - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"......The researchers reported the flaw through OpenAI's bug bounty program on October 18, and OpenAI fixed it..." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"A Shared ChatGPT Link Could Run Attacker Code in Your..." Found in the headline
How a story is connected to the course, and every objective, week and job role