Cybersecurity news

Jessica Doner

Back to the list

Researchers Discover High-Severity ChatGPT Flaw That Exposed Private Conversations to Attackers

GBHackers,

A flaw in shared links let attackers run code in users' sessions, a bug OpenAI fixed and paid a bounty for.

Vulnerabilities and patchesAI and security

Overview

Researchers found a chain of flaws that turned an ordinary public ChatGPT share link into attacker-controlled JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers running inside the victim's signed-in sessionAn active logged-in period of communication between a user or device and a server. OpenAI fixed the issue on October 26 and classified it as P1. The Parameter researchers' full technical write-up says the bug earned a $5,000 bounty. An attacker published a crafted conversation using ChatGPT's sharing feature, and the victim only needed to click the link to be affected. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend allowed the attacker to replace the keyboard layout with raw HTML and execute scriptsA short program written in an interpreted language to automate tasks in a browser, shell, or application that accessed the session tokenA secret string a server gives a browser or app to keep a user logged in and account ID. The injected code listed recent conversations through the /backend-api/conversations endpointAny user device or server, such as a laptop, phone, or workstation, connected to a network and retrieved a private chat the attacker was not authorized to access.

Terms in this story

JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
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.
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
scripts
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.
session token
A secret string a server gives a browser or app to keep a user logged in. Because a valid session token proves the user already logged in, attackers who steal session tokens from browser memory can step straight into an account without needing the password. Security+ objective 4.6 lists the term
endpoint
Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
iframe
An HTML element that embeds one web page inside a frame on another web page. Online services use an iframe to embed videos or payment forms, and attackers sometimes hide an invisible iframe on a compromised site to load exploit kits or phish clicks.
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.
validation
Checking that data sent by a user matches the expected format and size before using it. Many injection and overflow vulnerabilities happen because a program skips input validation and trusts whatever string or file size an outside user sends. Security+ objective 4.1 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.
payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
Threat actors
A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term

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 GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (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.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related