最新 微软与美国政府警告:重大技术故障还将持续 The Verge
安全与风险 ●●●●○

AI 发现 PHP 两个严重漏洞,影响约 70% 网站

AI-assisted php2shell exploit chain hits PHP runtime, forces coordinated defense across 70% of web

摘要Summary

NSA 警告 PHP 运行时存在两个严重漏洞(代号 php2shell),可导致未授权远程代码执行,PHP 基金会已发布补丁。漏洞由 OpenAI 的 GPT-5.6 Sol 与 Google Wiz 的 AI 安全代理发现,影响约 70% 的网站,无法立即修补的站点被建议下线。

The NSA warned of two critical PHP runtime flaws, dubbed php2shell, enabling unauthenticated remote code execution; patches have been issued by the PHP Foundation. The flaws were found using OpenAI's GPT-5.6 Sol and Google Wiz's AI security agents, and affect roughly 70% of websites, with unpatched sites advised to go offline.

  • 漏洞潜伏自 2004 年 PHP 5 起的所有版本
  • OpenAI 与 Wiz 用 AI 在黑客之前发现漏洞
  • 建议升级至 PHP 8.5.12,否则应暂时下线

全文对照Full text · 中 / EN

美国国家安全局周三发出令人震惊的警告,称在 PHP 中发现两个严重漏洞,PHP Foundation 已发布补丁。

The U.S. National Security Agency’s sent out an alarming warning on Wednesday that two critical holes had been found in PHP, with patches already issued by the PHP Foundation .

PHP 是一种广泛用于 Web 应用的服务器端编程语言,支撑着互联网上约 70% 的网站;据某些统计,这一数字超过 3300 万个站点。流行的内容管理系统如 WordPress 也在使用它。

PHP is a server-side programming language so widely used for web applications that it powers roughly 70% of the websites on the internet; by some accounts, that’s more than 33 million sites . It is also used by popular content management systems like WordPress.

NSA 警告称,这些漏洞非常严重,如果某个网站无法立即打补丁,就应将其下线,直到能够打补丁为止。这些漏洞允许攻击者侵入服务器的文件系统或 Web 应用可能使用的数据库。

The NSA warned that these holes are so severe that if a website can’t be patched immediately, it should be pulled off the web until it can be. The holes allow attackers to infiltrate the server’s file system or a database that may be used by the web app.

有趣的是,这些漏洞自 2004 年发布的 PHP 5 版本以来就一直潜伏在所有版本的 PHP 中。未运行较新版本 PHP 的网站需要做一些更新工作,因为 PHP 8.1 及更早版本已不再受支持。建议将 Web 服务器更新到当前版本的 PHP,即 8.5.12。

Interestingly, these holes have been tucked away in all versions of PHP since version 5, which was released in 2004. Websites not running relatively current versions of PHP will have some updating work to do, as PHP 8.1 and older versions are no longer supported. The recommendation is to update the web server to the current version of PHP, which is 8.5.12.

那么,这两个影响互联网上几乎所有网站、存在数十年之久的普遍漏洞,究竟是如何突然被发现的?自然是借助 AI,尤其是通过 OpenAI 和 Google 的 Wiz。

So how did two such ubiquitous, decades-old flaws that affect nearly every website on the internet suddenly come to light? AI, naturally, particularly via OpenAI and Google’s Wiz.

安全测试公司 Calif 参与了 OpenAI 的“Patch the Planet”计划,以寻找开源软件中的漏洞。OpenAI 在一篇博客文章中披露,该公司使用 GPT‑5.6 Sol 发现了其中一个漏洞。另外,Wiz 团队也使用了 AI,即其 Wiz Atlas 安全 AI 代理、Gemini 4 Argon 和 GPT-5.6 Sol,来发现 PHP 中的多个漏洞。

Security testing company Calif was engaged in OpenAI’s “Patch the Planet” initiative to find flaws in open source software. Using GPT‑5.6 Sol, it found one of the flaws, OpenAI disclosed in a blog post . Separately, the Wiz team also used AI, namely its Wiz Atlas security AI agent, Gemini 4 Argon, and GPT-5.6 Sol to find multiple vulnerabilities in PHP.

OpenAI 和 Wiz 都遵循了负责任的安全研究实践,并在公开披露漏洞之前与 PHP 合作开发补丁。随后,他们共同完善了发现的内容,并测试了补丁,还邀请了许多其他人提供帮助。

Both OpenAI and Wiz followed responsible security research practices and worked with PHP on patches before publicly disclosing the flaws. Then they all worked together to flesh out what they found, and test the patches, drawing in a host of others to help.

Wiz 对 Automattic、Akamai、AWS、Cloudflare、Fastly、Imperva、Microsoft 和 Vercel 表示感谢。(尽管 WordPress 网站使用 PHP,但 WordPress 已发表声明称,该漏洞并非 WordPress 特有,运行其 CMS 的网站必须修补服务器,并与网络托管公司合作以确保网站受到保护。)

Wiz thanked Automattic, Akamai, AWS, Cloudflare, Fastly, Imperva, Microsoft, and Vercel. (While WordPress sites use PHP, WordPress has issued a statement saying that the flaw isn’t WordPress specific, and sites running its CMS must patch their servers and work with their web-hosting companies to ensure their sites are protected.)

OpenAI 表示,这些漏洞是在黑客发现之前由研究人员发现的。因此,没有关于在野利用的报告。这在一定程度上也是因为,在 AI 出现之前,这些漏洞对黑客来说太难利用了。Wiz 在其关于这些漏洞的博客中警告说:“有了 AI,这不再是障碍。LLM 可以帮助将漏洞利用适配到不同的 PHP 版本、配置和内存布局。”

OpenAI says that these flaws were found by researchers before hackers discovered them. So there were no reports of exploits in the wild. This is also in part because, before AI, these flaws were too hard for hackers to exploit. “With AI this is no longer a barrier. LLMs can help adapt an exploit to different PHP versions, configurations and memory layouts,” Wiz warned in its blog about the flaws.

换句话说,这是一种因 AI 而被发现和阻止的安全问题,但也仅仅因为 AI 才成为高风险。

In other words, this is the kind of security issue that was found and prevented because of AI, but is also a high risk only because of AI.

既然该问题已被披露,黑客们已完全知情。互联网正在争分夺秒地在黑客攻击未修补的网站之前修补数千万个网站。因此,NSA 建议,如果你无法立即修补你的 PHP 网站,最好将其下线,直到你能修补为止。

Now that the issue has been disclosed, hackers are fully in the know. The race is on for the internet to patch tens millions of websites before hackers can attack the unpatched ones. Hence the NSA’s guidance that if you can’t patch your PHP website right away, you’re better off pulling it offline until you can.