Friday, November 27, 2026

Briefs

Two PHP bugs nearly triggered mass internet exploitation this week

Security researchers at Calif found two PHP bugs, dubbed PHP2Shell, letting attackers remotely seize unpatched systems without a password, pushing banks, hospitals, and governments worldwide to pull services offline.

Close-up of programming code displayed on a computer screen showing PHP array data structures.
Photo: Pexels / Muhammed Ensar

PHP, the decades-old open-source language that still runs an estimated 70% of the web — including WordPress, Drupal, Joomla, and Wikipedia’s MediaWiki — carried two flaws that sat undiscovered as exploitable since researchers first spotted them in 2024. Calif, participating in OpenAI and Wiz’s “Hack the Planet” security-research initiative, found a way to weaponize them this year and alerted the PHP Foundation, which coordinated a confidential patch-and-disclosure process, giving major internet companies and web hosts early access before Wednesday’s public release. The bugs allow unauthenticated remote code execution: an attacker anywhere can seize an unpatched server without a password or a victim clicking anything, making them, in the words of one security reporter, among the most damaging bug classes to exploit.

The embargo didn’t hold cleanly. Amazon said in a blog post that it detected PHP2Shell exploitation roughly a week before patches became public, and recommended defenders check for signs of compromise as early as October 17. The PHP Foundation blamed one company for pushing its patch live hours before the embargo lifted, though that doesn’t explain the activity Amazon tracked days earlier; researchers floated a possible embargo leak or independent discovery by attackers as alternatives. By late Friday, Palo Alto Networks and Trail of Bits had confirmed actual compromises and post-exploit activity tied to the bugs, and Cloudflare chief executive Matthew Prince said the company has seen an exponential rise in exploitation attempts since disclosure.

Calif’s own write-up credited AI with assisting the exploit work but said the bulk of it relied on researchers’ existing deep knowledge of PHP’s codebase, cautioning that “no model is simply capable of unearthing ‘all bugs’ with simple prompts” today. Beyond web servers, PHP also runs inside developer tools, command-line packages, routers, storage devices, and security hardware like firewalls and VPNs, meaning exposure will linger as slower-moving IT teams and legacy systems catch up on patching. PHP’s open-source maintainers, like those behind many aging internet technologies, aren’t paid for this work and can’t easily fund third-party security reviews despite being relied on by well-funded companies that don’t contribute financially.

Why it matters

Researchers note PHP is “memory unsafe” like many older languages — the U.S. National Security Agency attributes around 75% of actively exploited vulnerabilities to memory-related flaws — which is accelerating the industry’s shift toward memory-safe languages such as Rust, Python, and Swift. Expect AI-assisted vulnerability research to surface more of these dormant, decades-old bugs in legacy internet infrastructure going forward.