Critical PHP flaws spark global alarm as authorities urge urgent patching

The PHP2Shell vulnerabilities could let attackers take over servers; Amazon says exploitation attempts were detected before disclosure

By LineZotpaper
Published
Updated
Read Time3 min
Sources3 outlets
Reactions1 on X
Governments worldwide are urging organizations to patch critical security flaws in PHP, the open-source programming language that powers much of the internet, after researchers found the vulnerabilities could let attackers remotely execute malicious code on affected servers. The two flaws, collectively known as PHP2Shell, prompted alerts from U.S., UK, Singapore, Australian, Canadian and EU cybersecurity authorities, and drew responses from Google, OpenAI, Amazon and Cloudflare.

The PHP development team has released security fixes for two critical vulnerabilities in the language, widely used to power websites and web applications. Cybersecurity researchers say the flaws, together known as PHP2Shell, could allow hackers to remotely execute malicious code on affected servers, potentially exposing sensitive data. Not every site running PHP is necessarily vulnerable, but the language's widespread use has raised concerns about the scale of potential attacks.

The U.S. National Security Agency on Wednesday urged organizations using PHP to prepare security updates, warning that the flaws could provide attackers with direct access to server file systems and databases. The agency recommended taking affected systems offline until the vulnerabilities are fully addressed if immediate updates are not possible. The FBI separately warned that malicious actors could exploit the flaws to execute code remotely, putting sensitive data and networks at risk. Cyber authorities in Singapore, the UK, Australia, Canada and the European Union issued similar alerts.

Amazon said its threat intelligence team had detected attempts to exploit the vulnerabilities before they were publicly disclosed, using its MadPot threat detection system, which monitors suspicious activity across internet-facing infrastructure. The company said the findings suggest malicious actors were already attempting to exploit the flaws, though it remains unclear how they learned of them ahead of disclosure.

Google and OpenAI highlighted the growing role of artificial intelligence in identifying and responding to such threats. Google said its cybersecurity unit Wiz used AI models to help find and investigate the vulnerabilities, while its Gemini AI contributed to assessing the flaws, testing potential attacks and verifying security patches. OpenAI said researchers working with its AI models had helped uncover critical vulnerabilities in PHP, and that it had spent the past two months leading a coalition of software maintainers, cybersecurity researchers and security providers to coordinate fixes before public disclosure. The company described the flaws as among the most significant security issues in recent memory, while noting the risk that similar AI capabilities could be exploited by cybercriminals.

Cloudflare said it had deployed protections against PHP2Shell through its web application firewall, designed to block malicious requests targeting affected systems and providing an extra layer of defense while organizations install updates. Authorities are urging website operators to identify affected versions of PHP and apply the fixes as quickly as possible.

ยง

How it's landing

๐Ÿšจ Two critical PHP core vulnerabilities (CVSS 9.2) expose web apps to RCE and memory disclosure across PHP 5.4โ€“8.5.11. Use our guide to patch and hunt for compromise. @googlecloud advisory: goo.gle/4idT13I @wiz_io research: goo.gle/4BiQgGX

Posts on X from people the desk follows. Their words, unedited.

Analysis

Why This Matters

  • PHP underpins a large share of the world's websites, so a remote-code-execution flaw in it creates a broad attack surface for malicious actors.
  • Amazon's detection of attempted exploitation before public disclosure indicates attackers were already moving against the vulnerable systems.
  • The episode shows AI working on both sides of the security fight: helping defenders find and fix bugs while raising the risk that similar capabilities fall into criminal hands.

Background

PHP is an open-source, server-side scripting language used to build websites and web applications, and it forms the foundation of many content management systems. Because it runs behind a large portion of the internet, flaws in the language can ripple across industries and borders at once. Open-source security fixes are typically coordinated among maintainers, researchers and major technology companies before public disclosure, and this case appears to have involved an unusually large coalition organized over several months.

Key Perspectives

Security agencies: The NSA, FBI and authorities in Singapore, the UK, Australia, Canada and the EU are treating the flaws as urgent, calling for immediate patching and, where necessary, taking systems offline.

Tech companies: Google, OpenAI, Amazon and Cloudflare emphasize the role of AI-assisted research and early threat detection in finding the flaws and preparing defenses, with OpenAI describing the vulnerabilities as among the most significant in recent memory.

Critics and skeptics: The disclosure leaves open questions, including how attackers obtained knowledge of the flaws before they were announced. More broadly, the episode underscores the risk that AI tools capable of discovering vulnerabilities could be turned to offensive use, and that the speed of patching across the wider web may lag behind the speed of discovery.

What to Watch

  • How quickly website operators worldwide apply the PHP security patches, and whether unpatched systems come under attack in the coming days.
  • Any further reporting on how attackers learned of the flaws ahead of public disclosure.
  • Whether this coordinated, AI-heavy disclosure model becomes standard practice for critical open-source vulnerabilities.

Sources

Checked

12 claims in this story checked against 1 source: 12 supported.

Show each claim
  1. SupportedCritical PHP flaws prompted global alarm, with authorities urging urgent patching.Tech: โ€œThe discovery of the flaws prompted urgent warnings from governments worldwideโ€
  2. SupportedPHP2Shell could let attackers take over servers.Tech: โ€œThe PHP vulnerability allows attackers to take over entire servers.โ€
  3. SupportedAmazon said it detected attempts to exploit the vulnerabilities before public disclosure.Tech: โ€œAmazon said its threat intelligence team had detected attempts to exploit the vulnerabilities before they were publicly disclosedโ€
  4. SupportedThe vulnerabilities could allow remote code execution on affected servers and potentially expose sensitive data.Tech: โ€œcould allow hackers to remotely execute malicious code on affected servers, potentially exposing sensitive data, according to cybersecurity researchers.โ€
  5. SupportedThe U.S., UK, Singapore, Australia, Canada and EU cybersecurity authorities issued alerts about the flaws.Tech: โ€œCybersecurity authorities in Singapore, the United Kingdom, Australia, Canada and the European Union have issued similar alertsโ€
  6. SupportedThe PHP development team released security fixes for the vulnerabilities.Tech: โ€œThe PHP development team has released security fixesโ€
  7. SupportedOn Wednesday, the NSA urged PHP users to prepare security updates and recommended taking affected systems offline if immediate updates were not possible.Tech: โ€œThe U.S. National Security Agency on Wednesday urged organizations using PHP to prepare security updates addressing the vulnerabilities, warning that the flaws could provide attackers with direct access to server file systems and databases. The agency recommended taking affected systems offline until the vulnerabilities are fully addressed if immediate updates are not possible.โ€
  8. SupportedThe FBI warned that attackers could exploit the flaws to execute code remotely, putting sensitive data and networks at risk.Tech: โ€œThe Federal Bureau of Investigation also warned that malicious actors could exploit the vulnerabilities to execute code remotely, putting sensitive data and networks at risk.โ€
  9. SupportedAmazon said its MadPot system monitors suspicious activity across internet-facing infrastructure and detected exploit attempts before disclosure.Tech: โ€œusing its MadPot threat detection system, which monitors suspicious activity across internet-facing infrastructure.โ€
  10. SupportedGoogle said Wiz used AI models to help find and investigate the flaws, while Gemini AI helped assess them, test potential attacks and verify patches.Tech: โ€œGoogle said its cybersecurity unit Wiz used AI models to help find and investigate the vulnerabilities, while its Gemini AI contributed to efforts to assess the flaws, test potential attacks and verify security patches.โ€
  11. SupportedOpenAI said its researchers helped uncover PHP vulnerabilities and that it had spent the past two months leading a coalition to coordinate fixes before public disclosure.Tech: โ€œOpenAI said researchers working with its AI models had also helped uncover critical vulnerabilities in PHP. The company said it had spent the past two months leading a coalition of software maintainers, cybersecurity researchers and security providers to coordinate fixes and prepare protective measures ahead of public disclosure.โ€
  12. SupportedCloudflare said it deployed PHP2Shell protections through its web application firewall to help block malicious requests.Tech: โ€œCloudflare, which provides cybersecurity and website infrastructure services, said it had deployed protections against the PHP2Shell vulnerabilities through its web application firewall. The company said its measures were designed to help block malicious requests targeting affected systemsโ€

Zotpaper

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

2 sources12 of 12 claims matched to a sourcefirst published updated once
Meet the newsroomHow we workSubscribe