PHP2Shell Working Exploit Built in Under a Day
By @sharedot · · 8 pages
- Programming
- Security
- Php
- Php2shell
- AI
Security startup Tolmo says AI let it build a working PHP2Shell exploit in under a day, work that once took its team multiple weeks.
A working exploit, in hours, not weeks
While governments worldwide pulled PHP servers offline after the PHP2Shell disclosures, the sharper development for developers is how fast the flaws went from theoretical to practical.
Matt Suiche, a researcher at cybersecurity startup Tolmo, says his team coded a working exploit in less than a day, and told CNBC that before today's AI models the same job would have taken his team multiple weeks.
That collapse in exploit-development time is what turned a decade-old latent bug into a global patching emergency within hours of disclosure.
The leak that fast-tracked the patch
The PHP Foundation had planned to ship its patches on Thursday, but the timeline collapsed. According to CNBC, news of the vulnerabilities leaked in online forums, and Calif then accidentally posted a proof-of-concept video on Tuesday demonstrating an exploit chain.
Though the video was taken down, exploit code claiming to work on any PHP server had already been posted to GitHub, and the Foundation fast-tracked the patches, releasing them 24 hours early at 10 a.m. ET on Wednesday — shortly before the NSA issued its warning.
Wiz calls it an AI inflection point
Wiz, whose researchers used Google's Gemini 4 Argon, its Wiz Atlas security agent and OpenAI's GPT-5.6 Sol during the research, said the episode marks an 'AI inflection point.'
The team wrote that a single researcher completed in a week what previously would have taken a world-class team months of work, and that the underlying flaws had been present for decades but demonstrating their exploitability required an exceptionally complex chain of steps at the edge of what human researchers could practically achieve.
Wiz compares PHP2Shell to 2014's Heartbleed as a potential turning point in cybersecurity.
A structural failure two years in the making
The flaws were not new knowledge. According to CNBC, Mihail Kirov, now a product security engineer at Tolmo, was on a Quarkslab team that found a vulnerability with the same root cause two years ago and alerted the PHP Foundation, but no fix was ever rolled out.
The Foundation acknowledged in a blog post that the delay was a 'structural failure, caused by both the security team's decision process and its lack of resources.' Both disclosed bugs are rated 9.2 out of 10 in severity, per Reuters reporting carried by NDTV Profit.
Breach detection blind spot
Even after patching, organizations may never learn whether data was taken.
CNBC reports Neatsun Ziv, CEO of Ox Security, said that without an application security platform preinstalled, a company cannot see suspicious requests made on its servers, and Suiche noted a company might only learn of a breach when its data appears for sale on the dark web.
Amazon Threat Intelligence separately reported identifying a PHP2Shell exploit attempt on Saturday on its MadPot telemetry network, per CNBC.
What PHP operators should do now
Patches are out and the PHP Foundation's Elizabeth Barron told CNBC there is currently no evidence of working exploits in the wild, only incomplete, misguided and non-working generated ones. CERT EU advised organizations unable to apply fixes to take affected sites offline, NDTV Profit reports.
For developers, the lasting lesson is operational: PHP still powers roughly 70% of websites with known server-side languages, many of them legacy systems running stale stacks, and the window between vulnerability discovery and active exploitation has now shrunk to hours.
Sources
- cnbc.com › Why governments pulled websites offline over the decades-old PHP programming language
- abc7chicago.com › Some websites shut down globally as operators address PHP issue after AI finds critical flaw
- ndtvprofit.com › Government Websites Go Offline In Europe After Critical PHP Flaws Uncovered Using AI