Vulnerabilities in AI assistants
Cato AI Labs developed three zero-click attack chains, which they named ReLeak, to demonstrate how Microsoft 365 Copilot allows data theft from internal emails without any user interaction. These attacks expand on the EchoLeak attack disclosed last year by using agentic AI testing to investigate Copilot weaknesses and refine new attack methods. I find the fact that Copilot accesses work emails and chats to answer legitimate user requests while simultaneously parsing hidden malicious instructions in unread messages extremely dangerous for enterprise security. The attack chains rely on retrieving a malicious email, parsing attacker instructions embedded in the message, and disclosing confidential information. The attack requires no clicking of links or approval of permissions from the target. This vulnerability exists because Copilot retrieves the malicious email during its information-gathering process to fulfill a user request. Because Copilot integrates with apps like Word, Excel, Outlook, and Teams, the assistant accesses work emails, chats, and various files to answer user questions based on assigned permissions. These attack chains bypass existing prompt injection protections.
Data theft methods
The ReLeak vulnerabilities involve three distinct paths. In the first path, Copilot retrieves confidential information and embeds it in an image URL in its reply. Bing then acts as a relay to make a request to an attacker-controlled server and passes along the data embedded in the URL. In the second path, Copilot places a link containing private information into a file saved to OneDrive or SharePoint. Microsoft background processing then fetches that link and sends the data to an attacker: Cato AI Labs observed that requests arrived between one and eight minutes after the chat ended. In the third path, Copilot runs code that sends data directly to an attacker-controlled server. I find it unacceptable that this code execution succeeded despite Microsoft documentation stating the code interpreter’s sandbox blocks outbound network traffic. Cato AI Labs reported these findings to Microsoft between July 29 and August 20. Microsoft released patches on September 17, November 11, and November 15 to address these three attack paths. Cato AI Labs remains unaware of any exploitation of these flaws in the wild. The vulnerabilities targeted the way Copilot handles external instructions sent via email.
