Amazon claims that autonomous artificial intelligence agents, operated by a China-linked threat actor, discovered and exploited a ‘zero-day’ vulnerability in MONAI Label, an open-source AI-assisted medical image annotation tool. A ‘zero-day’ vulnerability refers to a flaw unknown to the software vendor, meaning no patch is available at the time of its exploitation.
According to Amazon, its threat intelligence team detected the activity in September, after stumbling upon an exposed instance of Cairn, an open-source distributed AI-powered penetration testing framework. This instance had no authentication: anyone could view the operator’s instructions and the results produced by the agents.
The logs showed a campaign lasting about 48 hours targeting IP addresses belonging to East Asian universities outside mainland China. The operator had provided the agents with a target list and asked them to obtain ‘shell’ access, meaning the ability to command the machine remotely.
A ‘path traversal’ vulnerability
After identifying the software on a first target and mapping its application programming interface (API), the agents spotted a ‘path traversal’ vulnerability in a file upload function. This type of flaw allows access to server locations normally inaccessible.
‘Within about ten minutes, the agents progressed from mapping the application’s API to arbitrary file writing on the server,’ Amazon states. During a later session, the agents used this vulnerability to obtain root access, meaning administrator-level privileges on the machine.
The operator then provided the agents with a proxy, a relay allowing them to pass through an intermediate machine, which brought them into a second university’s network to target other equipment. ‘The server the proxy connected to was running the same vulnerable software, and we infer the actor used the zero-day to compromise it and establish the tunnel,’ Amazon specifies.
A critical flaw and a patch announced
The developers of MONAI Label published a security advisory this week in which they classify the flaw as critical. It affects versions 0.8.5 and earlier. Authentication is disabled by default, allowing anyone who can reach the server over the network to exploit it. A patch has been developed and will be included in the next version of the software.
Amazon attributes the attack to an unidentified China-linked actor, with moderate confidence. This attribution is based on the language used in the instructions, the timezone present in the scripts, and the fact that the targeted universities could be of strategic interest to China.
