From Summarize Button to Full AI Jailbreak
A normal user could not chat directly with the site's AI bot, but the Summarize button available to everyone fed user-controlled text into the same backend model. By putting an instruction inside a chat message and summarising it, the user made the model follow their instruction instead of summarising, effectively bypassing the restriction.
Published on medium.com
Hey from the laziest, most inconsistent bug hunter on planet Earth — to all bug hunters and security people out there.
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 summariser passed raw user message text to the same LLM as the restricted chatbot without separating instructions from data, so injected text was obeyed.
Impact
A normal user could make the restricted AI follow their own instructions, though the program treated it as out of scope and paid no bounty.
What the attacker needed
A normal user account; Summarize button available to all users
How it was found
- Log in as a normal user who cannot chat with the AI bot directly.
- Post a chat message containing an instruction telling the model to ignore the summarise task and answer a question instead.
- Click the Summarize button on that message.
- Observe the model answering the question rather than summarising.
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.
A chatbot follows written instructions, and anything a user types can be treated as an instruction. Here the AI was meant to be off-limits to normal users, but a 'Summarize' button sent their text to the same AI, so they could sneak instructions in through that button. This is called prompt injection: hiding commands in content the AI reads.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.