PHP security bug affecting 70% of websites discovered by AI, patches released

Researchers used advanced AI models to uncover PHP2Shell vulnerability that existed for at least a decade

By LineZotpaper
Published
Read Time2 min
Cybersecurity researchers using an advanced OpenAI artificial intelligence model have identified a critical vulnerability in the PHP programming language that powers up to 70% of the world's websites. The bug, dubbed PHP2Shell, had existed for at least a decade before being uncovered by ethical hackers in California. The PHP Foundation has released fixes and urged immediate updates, while the FBI advised organizations that cannot patch to temporarily take their sites offline.

The vulnerability affects PHP, a programming language that underpins a vast portion of the internet, including government websites and social media platforms such as Facebook. Wall Street Journal reporter Robert McMillan, who first reported on the issue, told CBS News that PHP's ubiquity means many site operators may not even be aware they run the technology. "There are a lot of sites that I don't think even know that they have a problem and they may find out the hard way," he said.

The discovery highlights both the promise and peril of AI in cybersecurity. Andrés Guerrero-Saade, vice president of intelligence and security research at SentinelOne, said the incident shows "how AI is accelerating the ability of vulnerability researchers" while also boosting malicious actors' capacity to exploit flaws. He noted that AI shortens the critical window between a patch being available and attackers exploiting the vulnerability, making timely updates essential.

The PHP Foundation, which includes developers working on securing the language, said on Wednesday it had released fixes along with instructions for updating systems. "If you run PHP, it is imperative that you update now," the group said in a statement. The FBI's cyber threat division acknowledged the vulnerabilities, warning they could expose websites and apps to interference from cybercriminals who can remotely insert malware into PHP's source code, potentially compromising sensitive data and networks.

For consumers, the risk is indirect but serious. Voldemaras Kadys, head of security at Mediatech, explained that while simply visiting a vulnerable website does not automatically compromise a device, attackers may exploit the flaw to extract personal information stored on compromised platforms, such as email addresses, physical addresses, names and dates of birth. He added that there is no reason to stop browsing or shopping online, but users should be cautious about suspicious messages given the unknown scope of potential data theft.

§

Analysis

Why This Matters

  • The vulnerability affects up to 70% of websites, making it one of the most widespread security flaws in internet history.
  • AI allowed researchers to discover a complex bug that had remained hidden for a decade, illustrating both the defensive potential and the accelerated threat landscape.
  • The window for patching is shrinking as attackers also leverage AI to exploit vulnerabilities faster than ever.

Background

PHP is a programming language created in the mid-1990s that runs on servers to generate dynamic web content. It powers content management systems, e-commerce platforms, and countless custom applications. Its prevalence means a single critical flaw can have cascading effects across the internet. Security researchers have long suspected an issue existed but could not develop a working exploit until AI tools enabled the tedious analysis needed to turn a crash bug into a remote code execution risk.

Key Perspectives

Cybersecurity researchers: The discovery shows AI can handle menial, complex tasks that would take humans months, enabling faster identification of vulnerabilities. Yet the same AI capabilities are available to attackers. PHP Foundation and system administrators: The imperative is to patch immediately. The foundation has released fixes, but the challenge lies in reaching all affected sites, especially those where operators are unaware they run PHP. FBI and law enforcement: The bureau emphasizes the seriousness by recommending temporary site shutdowns for organizations that cannot patch quickly, reflecting the potential for widespread data theft and network compromise. Consumers: The risk is indirect but real. Users should monitor accounts for suspicious activity and be wary of phishing attempts, as stolen data may be used in future attacks.

What to Watch

  • Patching adoption rates over the coming days and weeks, particularly among government and e-commerce sites.
  • Reports of active exploitation of PHP2Shell in the wild, which could trigger widespread disruptions.
  • Further advancements in AI-driven vulnerability discovery, both defensive and offensive, as the cybersecurity arms race accelerates.

Sources

Checked

9 claims in this story checked against 1 source: 7 supported.

Show each claim
  1. Partly supportedThe PHP security bug affects 70% of websites.Moneywatch - CBSNews.com: “That security weakness affects a programming language called PHP, short for "Personal Home Page," which powers up to 70% of the world's websites and web applications”
  2. SupportedAI was used to discover the PHP2Shell vulnerability.Moneywatch - CBSNews.com: “The bug, dubbed PHP2Shell, was identified by so-called ethical hackers in California using advanced AI models”
  3. SupportedThe vulnerability had existed for at least a decade.Moneywatch - CBSNews.com: “the bug, which had existed for at least a decade.”
  4. SupportedPHP powers up to 70% of the world's websites.Moneywatch - CBSNews.com: “which powers up to 70% of the world's websites and web applications”
  5. SupportedThe PHP Foundation released fixes and urged users to update immediately.Moneywatch - CBSNews.com: “The PHP Foundation, which includes tech developers who work on securing the programming language, said on Wednesday that it had released fixes for the vulnerabilities, along with instructions on how to update systems. "If you run PHP, it is imperative that you update now."”
  6. Partly supportedThe FBI advised organizations that cannot patch to take their sites offline temporarily.Moneywatch - CBSNews.com: “The FBI is encouraging any organization that can't immediately patch its sites to temporarily take them offline.”
  7. SupportedMcMillan said, “There are a lot of sites that I don't think even know that they have a problem and they may find out the hard way.”Moneywatch - CBSNews.com: “"There are a lot of sites that I don't think even know that they have a problem and they may find out the hard way."”
  8. SupportedGuerrero-Saade said the incident shows “how AI is accelerating the ability of vulnerability researchers”.Moneywatch - CBSNews.com: “told CBS News that the incident illustrates "how AI is accelerating the ability of vulnerability researchers"”
  9. SupportedKadys said visiting a PHP website does not automatically compromise a user's device, and attackers may extract personal information from a vulnerable site.Moneywatch - CBSNews.com: “"For regular internet users, simply visiting a PHP website doesn't necessarily mean their device will be compromised," Kadys explained. "The risk is that attackers may exploit a website that holds their personal information.”

Zotpaper

Written by Rex Doyle on the Tech & AI desk. Claims checked by Ines Fairley, verification. Edited by Angus Burke, chief sub.

1 source7 of 9 claims matched to a sourcefirst published
Meet the newsroomHow we workSubscribe