Skip to content
Tech News
← Back to articles

Microsoft Copilot reveals secret input that allowed it to be hacked

read original more articles
Why This Matters

Researchers uncovered a critical vulnerability in Microsoft 365 Copilot Enterprise by engaging the AI assistant in a question-and-answer session, revealing an undocumented prompt parameter (?autorun=1) that bypassed user consent requirements. This discovery highlights potential security risks in AI-powered enterprise tools and underscores the importance of robust safeguards in AI deployment. The incident serves as a reminder for the tech industry to rigorously test and secure AI systems against unintended data leaks and exploits.

Key Takeaways

It’s not every day that attackers can force a frontier AI model to cough up user passwords and other sensitive data without user confirmation. That’s exactly what researchers recently did to Microsoft 365 Copilot Enterprise. Even more unusual is the source they tapped to discover the critical vulnerability that made their exploit possible. Rather than employing reverse engineering or other traditional vulnerability-hunting methods, they asked Copilot. The LLM assistant readily complied.

Researchers at security firm Varonis knew they wanted to create an exploit that would exfiltrate user data when a user did nothing more than click on a link. Like most AI assistants today, Copilot steadfastly refused and made clear that sensitive prompts like that require explicit user consent in the form of a gesture, such as pressing a return key or other key. In response, the researchers peppered Copilot with questions about the guardrails that required user confirmation before the assistant can execute powerful commands.

Loose lips sink ships

The dialog was like a game of 20 questions. Each answer provided a new clue that divulged information about the complex safety mechanism. Why was auto-execution impossible, they asked. What URL structures and deep links were involved? What happens when a page is loaded with input already in the prompt field? Each answer provided a deeper view into the guardrail and its limits. Eventually, Copilot provided a stunning Microsoft trade secret—an undocumented prompt parameter that completely bypassed the requirement for user consent.

“At the beginning, Copilot kept refusing, but every refusal revealed technical details about its internal architecture,” Varonis Senior Researcher Lior Adar said in an interview. “Copilot eventually disclosed undocumented parameters. I took those parameters and used them for prompts for running automatically.”

The parameter was the string ?autorun=1. When accompanied by the separate, well-known parameter ?q=, the researchers’ prompt silently fired the moment the target clicked on the malicious URL. Microsoft silently mitigated the vulnerability in February, three months after Varonis reported it, by no longer allowing ?q= to inject text into the chatbot input. The user instead had to click and type manually, a requirement that prevented third-party browser integrations from using the parameter as intended. Microsoft introduced more comprehensive fixes on Tuesday.