
Java 存在一个严重缺陷,可让攻击者在无需登录的情况下,在广泛使用的商业软件上运行自己的代码。安全初创公司 Calif 于周二披露了该漏洞,并将其命名为 “Java4Shell”,同日 Oracle 和 OpenJDK 项目发布了修复补丁。据 Calif 称,Java 为 90% 的《财富》500 强企业提供支持。
A critical flaw in Java can let attackers run their own code on widely used business software without logging in. Security start-up Calif disclosed the bug, which it calls Java4Shell, on Tuesday, when Oracle and the OpenJDK project released fixes. Java powers 90% of Fortune 500 companies, according to Calif.
Calif 利用 AI 发现了该漏洞。研究员 Quang Luong 在文中写道,他将 OpenAI 的 Codex 智能体指向 Java 内部机制,在一小时内找到了该缺陷,又花了两个小时构建了首个可用的利用代码,AI token 成本不足 200 美元。据《纽约时报》报道,Calif 使用了 OpenAI 的 GPT-6 Cyber 模型。《纽约时报》在一项耗时不足一小时的测试中独立验证了该攻击。
Calif found it with AI. Researcher Quang Luong pointed OpenAI’s Codex agent at Java’s internals, he wrote. He found the flaw in an hour and built the first working exploit in two more, for less than $200 in AI tokens. Calif used OpenAI’s GPT-6 Cyber model, The New York Times reported. The Times independently verified the attack in a test that took less than an hour.
该漏洞编号为 CVE-2026-114938。据《The Hacker News》报道,美国网络安全和基础设施安全局(CISA)已敦促组织立即修补该漏洞。
The flaw is tracked as CVE-2026-114938. The US Cybersecurity and Infrastructure Security Agency (CISA) has urged organisations to patch it immediately, The Hacker News reported.
64 个字母和一个等号该漏洞位于 Java Base64 解码器的一个快速版本中,该解码器将文本转换回二进制数据。HTTP 头、文件上传和网络消息都使用 Base64。Calif 称,64 个 “A” 字符后跟一个 “=” 会导致解码器在其内存末尾之后写入 62 字节。Java 会拒绝该输入,但只有在破坏已经造成之后才会拒绝。
64 letters and an equals sign The bug sits in a fast version of Java’s Base64 decoder, which turns text back into binary data. headers, file uploads and network messages all use Base64. Calif says that 64 “A” characters followed by one “=” make the decoder write 62 bytes past the end of its memory. Java rejects the input, but only after the damage is done.
Calif 称,在默认设置下,它无需账户即可在 Keycloak、Atlassian 的 Jira 和 Confluence、JFrog Artifactory、Jenkins 和 PingFederate 上运行代码。在特定条件下,它在 Apache Kafka、Apache Solr、Elasticsearch、Gerrit 和 Spinnaker 上也做到了这一点。该公司表示,上述列表并不详尽。
Calif says it ran code without an account on Keycloak, Atlassian’s Jira and Confluence, JFrog Artifactory, Jenkins and PingFederate, in their default settings. With a, it did the same on Apache Kafka, Apache Solr, Elasticsearch, Gerrit and Spinnaker. The lists are incomplete, the company said.
有缺陷的代码存在于 OpenJDK 17.0.6 及更高版本中,因此来自 Amazon、Microsoft、Red Hat、Azul、SAP 等厂商的发行版也受影响。该漏洞仅在具有 AVX-512 VBMI 特性的 Intel 和 AMD 芯片上触发。ARM 芯片不受影响。
The faulty code is in OpenJDK 17.0.6 and later, so distributions from Amazon, Microsoft, Red Hat, Azul, SAP and others are affected too. It runs only on Intel and AMD chips with a feature called AVX-512 VBMI. ARM chips are safe.
“Java 无处不在,”Calif 首席执行官 Thai Duong 对《纽约时报》表示。
“Java is everywhere,” Thai Duong, Calif’s chief executive, told the Times.
Calif表示,不存在通用漏洞利用,每个应用程序都需要自己的攻击方式。该公司正在暂缓发布其产品特定的漏洞利用,直到用户有时间进行升级。
There is no universal exploit, Calif said, and each application needs its own attack. The company is holding back its product-specific exploits until users have had time to upgrade.
Calif在X上表示,Oracle发布修复程序之前,该漏洞的消息就已经泄露,The报道称。触发漏洞的代码已经公开。一个导致溢出的畸形输入于9月9日在一份拟议的OpenJDK修复程序中被发布。The Hacker News发现,其作者后来在未合并的情况下关闭了该提交。
A leak, and the first attempts Calif said on X that news of the flaw had leaked before Oracle released its fix, The reported. The trigger was already public. A malformed input that causes the overflow was posted on 9 September in a proposed OpenJDK fix. Its author later closed it without merging, The Hacker News found.
攻击者现在正在探测。安全公司watchTowr表示,它正在看到针对其传感器的利用尝试。其他实验室已经复现了崩溃和内存泄漏,但尚未复现代码执行,The Hacker News报道称。
Attackers are now probing. Security firm watchTowr said it was seeing exploitation attempts against its sensors. Other labs have reproduced crashes and memory leaks, but not yet the code execution, The Hacker News reported.
并非所有人都喜欢这种喧嚣。Akamai的Jan Schaumann在Openwall邮件列表上指责Calif进行“流量最大化”,The报道称。Calif的文章开头称,它之所以攻击Java,是因为许多人不知道PHP是什么。Oracle将该漏洞评为10分中的8.1分,且难以利用;Calif将其评为9.2分。
Not everyone likes the noise. Akamai’s Jan Schaumann accused Calif of “publicity-maxxing” on the Openwall mailing list, The reported. Calif’s write-up opens by saying it went after Java because many people did not know what PHP was. Oracle rates the flaw 8.1 out of 10 and hard to exploit; Calif rates it 9.2.
AI发现漏洞的浪潮。Java4Shell是Calif在几周内发现的第二个重大漏洞,此前是10月份的PHP2Shell漏洞。周三,F5修补了NGINX中的10个漏洞,NGINX是支撑大约三分之一所有网站的Web服务器。其中两个是严重漏洞,研究人员在AI的帮助下发现了它们,The报道称。
A wave of AI-found flaws Java4Shell is Calif’s second major find in weeks, after the PHP2Shell flaws in October. On Wednesday, F5 patched 10 bugs in NGINX, the web server behind about a third of all websites. Two are critical, and researchers found them with AI help, The reported.
补丁的匆忙也有其代价。银行和美国国家安全局告诉国会,本周美国的科技中断事件源于针对AI发现漏洞的仓促修复,The Washington Sun报道称。
The rush to patch has its own cost. Banks and the NSA have told Congress that this week’s US tech outages came from rushed fixes for AI-found flaws, The Washington Sun reported.
Calif的答案是删除代码。它称这一想法为“氛围去码化”:使用AI来发现系统不需要的功能和优化,然后将其删除。导致Java4Shell的Base64快捷方式对少数应用程序有帮助,该公司表示,但它会发布给所有人。
Calif’s answer is to delete code. It calls the idea “vibe-uncoding”: using AI to find features and optimisations a system does not need, then removing them. The Base64 shortcut that caused Java4Shell helps few applications, the company said, but ships to everyone.