Sorry, ChatGPT Is Under Maintenance: Persistent Denial of Service through Prompt Injection and Memory Attacks
An attacker can use prompt injection to make ChatGPT store a malicious memory, causing a persistent denial of service that lasts across chat sessions.
Published on embracethered.com
In this post we show how an attacker can use prompt injection to cause a persistent denial of service that lasts across chat sessions for a user.
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 memory tool can be invoked automatically via prompt injection without user confirmation, allowing untrusted content to write persistent instructions.
Impact
The denial of service persists across chat sessions and makes ChatGPT unusable for the affected user.
What the attacker needed
ChatGPT memory feature enabled; attacker can deliver prompt injection; user interacts with malicious content
The fix
The memory tool can be invoked automatically via prompt injection, allowing untrusted content to write persistent memories.
How it was found
- Create a document that tricks ChatGPT into creating a fake memory.
- Inject the memory via prompt injection from a website or uploaded document.
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 has a memory feature. An attacker can trick ChatGPT into saving a bad instruction by hiding it in a document or website, causing a persistent denial of service across chat sessions.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.