NewsCrawler.org

Story · 2 entries · –

PHP2Shell: AI is forcing developers to pay off 40 years of technical debt

PHP2Shell: AI is forcing developers to pay off 40 years of technical debt

Latest in the story ·

In late October, researchers disclosed the PHP2Shell[1] vulnerability, which threatened websites running PHP, including those of NASA, Wikipedia, the White House and sites built on WordPress or Drupal, with exploits able to read sensitive data and run malicious code on the host server. The underlying bug was reported to the PHP Foundation as far back as 2024: it caused an out-of-memory error[2], which normally just crashes a program, so it went unaddressed. Earlier this year the cybersecurity firm Calif conducted an independent audit of PHP sponsored by OpenAI, and within two weeks a researcher there, aided by AI tools, found a way to turn the bug into arbitrary code execution on the host server. Wiz confirmed and expanded the vulnerabilities, and a team of four engineers then spent two months developing a patch that was released before attackers obtained the exploit. Matt Suiche, AI security research lead at the cybersecurity startup Tolmo, frames the episode as a warning: legacy software written by humans over the last 40 years is being exposed, and now the technical debt has to be paid off.

Columbia University associate professor Suman Jana explains that exploiting such a bug requires working out exactly which bits to overwrite in memory and in what order — painful reasoning for humans that AI now handles well, though it cannot yet do the job alone. He stresses the asymmetry between finding and fixing bugs, since a fix must close every attack path without breaking existing functionality, a burden heaviest for open-source projects like PHP that lack revenue streams, and he wants leading AI labs to donate more of their AI budgets to defenders. He expects formal verification[3] to make patching nearly as automatable as bug-finding, pointing to an Anthropic release of 22 October in which an LLM generates both the patch and a proof of its correctness, checked by a separate proof checker because LLMs hallucinate. Matthew Green of Johns Hopkins University's Information Security Institute is less optimistic, predicting real change only after a major incident that he guesses could come in early 2027, and meanwhile advises installing security updates immediately. Jana expects more vulnerabilities of this kind and hopes white-hat hackers[4] find them first.

Open the entry

All entries of the story

Open as a page