AI helped find a Java defect in about one hour
Oracle repaired the defect, rated 9.2 out of 10, on the day of the report. No attack is known.
Calif Research, a research group, published the Java4Shell defect on Tuesday. The defect is in OpenJDK, the free Java runtime. Calif says it operates at 90% of Fortune 500 companies. An attacker with no password can get control of a server. Quang Luong found it in about one hour with Codex from OpenAI, for less than $200.
How it works
The bug is in the Base64 decoder. This part turns data into text characters. It is in hand-written code that makes the decoder faster on AVX-512 processors. ARM64 systems do not have the defect.
A bad input makes the code write 64 bytes into a buffer of 50 bytes. The attacker puts data in the memory around it and gets control.
The numbers
Calif gave the defect a score of 9.2 out of 10. Calif shows a break-in on Keycloak, a login system, with no password. It also reports code execution with no password in 4 more systems, for example Jira.
What is not known
Calif says there is no universal exploit. Each target has different steps. Calif does not give system data until users can upgrade. No attack in the wild is known.
Insight: Finders and attackers use the same AI tools
Calif found php2shell last month and Java4Shell at this time, each with AI. Unit 42 says that an attacker used AI agent software after the PHP2Shell defects. The attacker got password hashes from a European government in less than 2 hours. This reads as a contest between repair and AI attacks, and held data gives users only a short time. Repair servers that face the internet first.
Sources
Posted