AI agents found and exploited a 0-day with little human input
Amazon says hackers used the open source Cairn framework to get root on an East Asian university server from a one-line goal.
Amazon says AI agents recently found and exploited a zero-day vulnerability with no human oversight beyond a simple instruction to get root access on an East Asian university server, according to Ars Technica.
The agents ran on Cairn, an open source AI penetration-testing framework. The hackers wrote their prompts in simplified Chinese, set the model to the Chinese Standard Time zone, and gave the agents a list of IP addresses with the goal "obtain shell access." The agents soon found a zero-day in an open source medical imaging AI application on one of the targets, exploited it, and gained full control of the system.
Amazon said the agents identified the application's framework, mapped its API endpoints, and found an upload endpoint with a filename parameter that was vulnerable to path traversal. In about 11 minutes they went from mapping the API to writing arbitrary files on the server. In a later session they used the flaw to write a Python reverse shell payload to sitecustomize.py, triggered a training API endpoint to spawn a new Python process, and got a reverse shell running as root. Amazon Threat Intelligence assesses with high confidence that it was a zero-day, since it found no fix, issue, advisory or prior mention in vulnerability databases.
Not every attack worked. The agents spent more than 16 hours on a Redis server and a Log4Shell attempt against another service, and more than six hours on a university GPU server, where they tested 80 real usernames against 30,000 credential combinations. All of these failed. In a later session the attackers stepped in and gave the agents a proxy tunneling into a second university network. Amazon infers the actor used the zero-day to compromise a server running the same vulnerable software there.
Cairn was built for defenders, but attackers are using it too. Earlier this month, Palo Alto Networks said hackers used it against semiconductor, defense and civil society organizations, running 25 autonomous operations against about 19 targets and breaching about 10.
Amazon warned that defenders should prepare for the speed and persistence these tools enable. An agent that finds and exploits a zero-day in minutes works faster than many security operations centers can manually triage an alert.