ChatGPT Custom Instructions: Persistent Data Exfiltration Demo
ChatGPT's Custom Instructions feature can be abused to persistently append instructions that cause the model to render image markdown pointing to an attacker-controlled server, exfiltrating conversation data. The attacker can install a backdoor that only works because of the underlying image markdown injection vulnerability.
embracethered.com
Published on embracethered.com
ChatGPT is vulnerable to data exfiltration via image markdown injections. This. is. pretty well known.
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
Impact
An attacker could persistently exfiltrate conversation data from a victim's ChatGPT sessions by abusing Custom Instructions combined with image markdown injection.
What the attacker needed
Attacker can set Custom Instructions; victim uses ChatGPT with those instructions
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 lets users add 'Custom Instructions' that are automatically added to every conversation. If an attacker can set those instructions, they can make ChatGPT include a hidden image link in its replies. When the victim's browser loads that image, the attacker's server receives data from the conversation, leaking private information.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.