Exfiltrating Your ChatGPT Chat History and Memories With Prompt Injection
A bypass in OpenAI's safe URL rendering feature allowed ChatGPT to send personal information to a third-party server. An attacker could exploit this via prompt injection in untrusted content to exfiltrate chat history and memories.
embracethered.com
Published on embracethered.com
In this post we demonstrate how a bypass in OpenAI’s “safe URL” rendering feature allows ChatGPT to send personal information to a third-party server. This can be exploited by an adversary via a prompt injection via untrusted data.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the safe URL rendering feature could be bypassed, allowing ChatGPT to make requests to attacker-controlled servers despite the intended restriction.
Impact
An attacker could exfiltrate any information in the prompt context, including past chat history, by injecting instructions into untrusted content.
What the attacker needed
User processes untrusted content; attacker controls that content
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
ChatGPT can read documents or websites you give it. If a bad person hides instructions in that content, ChatGPT might follow them and send your private chats to the bad person's server. This report shows a way around a safety feature that was supposed to stop that.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.