Vulnerability Disclosure: Stealing Emails via Firefox’s AI Features
Firefox's AI sidebar features pasted the page title and selected text into a third-party chatbot prompt without sanitising them, so a malicious page could hide instructions in its title or text. An attacker could then make the chatbot extract and send the user's emails to an attacker-controlled destination.
insinuator.net
Published on insinuator.net
Imagine the following: You visit a webpage with a lot of text you don’t want to read and ask your AI assistant for a summary. A few moments later, the AI assistant has extracted one of your emails and sent it to an attacker without you ever knowing.
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
A malicious page could cause the AI assistant to extract one of the user's emails and send it to an attacker without the user knowing.
What the attacker needed
User uses a Firefox AI feature; attacker controls a webpage
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.
When you ask Firefox's built-in AI to summarise a page, Firefox builds a message for a third-party chatbot that includes the page's title and some of its text. If a page can put hidden instructions in that title or text, the chatbot may follow them as if they were your request. Here that let a page trick the chatbot into finding your emails and sending them to someone else.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.