Amazon's AI hacking tool found a zero-day and took root access in 11 minutes

Agents running on the open-source Cairn framework needed only a list of IP addresses and a one-line goal to breach a university server running vulnerable medical imaging software.

AIVIO News Desk 2 min read
AIVIO News cover illustration for: Amazon's AI hacking tool found a zero-day and took root access in 11 minutes

After Wells Fargo told customers in late November that using AI agents carries risk, as reported earlier, Amazon has published a case in which AI agents did real harm largely on their own, finding and exploiting a previously unknown security flaw known as a zero-day with almost no human direction.

According to Amazon, hackers running agents on Cairn, an open-source framework built for automated penetration testing, gave the system a list of IP addresses and a single instruction: obtain shell access, meaning remote command-line control of a machine. The prompts were written in simplified Chinese, and the operators set the system clock to China Standard Time, Amazon said. Beyond that starting goal, the hackers gave no further direction.

Some attempts failed outright. Amazon said the agents spent more than 16 hours trying to abuse a Redis database server’s replication feature and a separate Log4Shell code-injection flaw on the same machine, with no success. In a different operation lasting over six hours, the agents compiled a list of 80 real usernames from public university resources and tested them against 30,000 password combinations over SSH, a remote login protocol, also without success.

Against a third target, an open-source medical imaging AI application, the agents succeeded. They mapped the application’s interfaces, found an upload feature with a filename setting, and discovered it was vulnerable to path traversal, a flaw that lets an attacker write files outside an intended folder. Amazon said the agents went from mapping the application to writing files on the server in about 11 minutes. In a later session, the agents used the same flaw to plant a script that Python loads automatically at startup, then triggered a training feature to run it, giving them a remote command shell with root, or full administrator, privileges.

Amazon’s threat intelligence team said it has high confidence the flaw was a genuine zero-day, since no advisory, patch or earlier public mention of it existed in any vulnerability database for the affected open-source project.

The case follows a separate finding, cited by Amazon, from the security firm Palo Alto Networks, which said hackers using Cairn ran 25 autonomous operations against at least 19 organizations in sectors including semiconductors, defense and civil society, breaching at least 10 of them.

What this means

Amazon’s account shows that the gap between an AI agent finding a flaw and exploiting it, about 11 minutes in the medical imaging case, can be shorter than the time many security teams need to notice and investigate an alert. Amazon said directly that this speed “compresses the window available for defensive response.”

What the account leaves open is how often such agents succeed against well-defended systems, since two of the three operations Amazon described, the Redis attack and the university credential attempts, ran for hours and produced no breach at all.

In a later session, the same hackers gave the agents access to a proxy that tunneled into a second university network. Amazon said the server on the other end was running the same vulnerable software, suggesting the attackers had already used the zero-day to compromise it and set up the tunnel. As Amazon put it, “the actor directed the agents to use the tunnel to target other machines in that network.”

Sources

Ars Technica