Advertisement

Someone Tried to Exploit PHP2Shell 4 Days Before the Vulnerabilities Were Publicly Disclosed

Summary: Amazon's Threat Intelligence team on Wednesday said it detected an attempt to exploit the newly disclosed PHP2Shell vulnerabilities on October 17, 2026, against its MadPot honeypot service, as the flaws come under broad exploitation in the wild following the release of the patches. "The exploit attempt originated from an IP address associated with a commercial anonymization network," CJ Moses,

PHP2Shell Exploitation Attempt Detected Four Days Before Public Disclosure

Amazon's Threat Intelligence team has uncovered evidence of an attempted exploitation of the critical PHP2Shell vulnerabilities on October 17, 2026, four days before emergency security patches became publicly available. The discovery raises concerns about how attackers may have obtained technical knowledge of the flaws while the vulnerabilities were still under coordinated disclosure, highlighting the increasingly narrow window organizations have to protect vulnerable infrastructure.

The suspicious activity targeted Amazon's MadPot honeypot infrastructure and originated from an IP address associated with a commercial anonymization service. According to Amazon, the incident appeared to be an isolated probing attempt rather than part of a broader campaign at that stage. However, its timing is particularly significant because detailed information about the vulnerabilities had not yet been publicly released, leaving unanswered questions about how the operator identified the exploitation technique.

The two vulnerabilities, tracked as CVE-2026-109618 and CVE-2026-109619, affect PHP's core memory-management and error-handling mechanisms. Both carry a CVSS severity score of 9.2 and can potentially enable unauthenticated remote code execution on vulnerable servers. Unlike application-specific security weaknesses, PHP2Shell affects the underlying runtime, meaning even websites with properly secured application code may remain exposed.

Advertisement

Evidence of Exploitation Before Public Disclosure

Amazon identified the October 17 attempt while analyzing traffic collected through MadPot, its global network of deception systems designed to detect emerging cyber threats. The activity originated from an IP address geolocated to Australia and associated with infrastructure used to conceal the operator's identity. Although this combination suggests potentially malicious intent, researchers have not established who conducted the attempt or whether the operator possessed advance knowledge of the vulnerabilities through an information leak, independent discovery, or another source.

The disclosure process became increasingly complicated as technical information began circulating ahead of the scheduled October 22 announcement. Details about the vulnerabilities and proof-of-concept exploitation material emerged prematurely, prompting the PHP Foundation to accelerate the official release by one day. The situation was further complicated when Chainguard published container images containing security fixes before the coordinated announcement, potentially allowing attackers to examine the corrected binaries while other organizations were still waiting for patches.

By October 21, Amazon was observing multiple exploitation attempts involving different proof-of-concept techniques. The earliest activity that day was detected around 02:00 UTC, followed by additional attempts originating from anonymized infrastructure. Researchers believe the diversity of payloads and sources suggests that multiple operators were investigating or attempting to exploit the vulnerabilities rather than a single actor conducting all the observed activity.

Other security organizations reported similar developments. Cloudflare detected malicious requests targeting its customers and observed attackers modifying payloads to evade protective rules, while VulnCheck identified hosts attempting to exploit the vulnerabilities against its honeypots. The monitoring provider Pantheon reported blocking more than 60,000 suspicious requests by the evening of October 21, demonstrating the speed with which exploitation activity expanded following the emergence of technical details.

These observations establish widespread malicious interest, but they do not necessarily indicate that every attempted exploit succeeded or that the affected production systems were compromised. <Cite refs={["turn596547view0"]}/>

Why PHP2Shell Is Particularly Difficult to Detect

The technical characteristics of PHP2Shell create significant challenges for traditional web application monitoring. The vulnerabilities exist within PHP's memory management and request-processing mechanisms, allowing certain exploitation paths to operate before normal application code begins executing. As a result, security controls implemented within frameworks, content management systems, or individual applications may have limited visibility into the malicious activity.

CrowdStrike has warned that successful exploitation can leave unusually few observable traces. According to its analysis, PHP worker processes may continue functioning normally, HTTP responses can appear successful, and application logs may contain no obvious evidence of malicious behavior. In some scenarios, the only visible server-side indication is a memory-limit error recorded in the web server's error log, an event that administrators might ordinarily dismiss as routine operational noise.

This makes PHP2Shell fundamentally different from attacks that depend on exploiting a specific login page, plugin, or application endpoint. Because the weakness affects the PHP runtime, attackers may be able to target ordinary requests without identifying a separate application-level vulnerability. A website can therefore remain exposed even when its WordPress installation, Laravel framework, or other application dependencies have been updated.

The scale of potentially affected infrastructure adds to the concern. VulnCheck identified PHP running on approximately 2.6 million internet-facing hosts, while Modat reported detecting 4.38 million publicly accessible PHP services. According to Modat, roughly 79% of those services were using PHP branches no longer supported by the upstream project. These measurements use different methodologies and should not be interpreted as confirmed counts of exploitable servers, but they illustrate the substantial challenge of identifying and updating PHP deployments across the internet.

Legacy environments are particularly problematic because organizations may depend on older applications that cannot easily migrate to supported PHP releases. In such cases, remediation may require distribution-maintained security backports, commercial extended support, or more extensive application modernization. The vulnerabilities demonstrate how technical debt can become a significant security liability when foundational software requires urgent corrections.

Emergency Patching and the Growing Threat of Rapid Exploitation

The seriousness of PHP2Shell has prompted warnings from cybersecurity agencies worldwide, including the U.S. Cybersecurity and Infrastructure Security Agency, the United Kingdom's National Cyber Security Centre, and several European and international authorities. Their guidance emphasizes the importance of rapidly deploying security updates, identifying exposed systems, and considering temporary service restrictions when immediate remediation is not possible.

Organizations should prioritize updating affected PHP installations through their official distribution or hosting providers. Security teams must also verify that corrected runtime packages are deployed across containers, virtual machines, web servers, and managed hosting environments. Updating application dependencies alone is insufficient because the vulnerabilities reside within the interpreter rather than the software running on top of it.

Detection requires additional attention. Administrators should examine web server error logs, unexpected PHP process behavior, suspicious command execution, and unusual outbound network activity. The FBI has specifically recommended monitoring PHP processes that unexpectedly launch command shells or download files, as these behaviors may indicate exploitation or subsequent malicious activity. However, the limited forensic visibility associated with certain PHP2Shell exploitation paths means that the absence of obvious indicators cannot conclusively establish that a vulnerable system was never attacked.

The incident also illustrates how vulnerability disclosure is becoming more difficult to coordinate. Security researchers and software vendors must balance the need to release patches quickly against the possibility that technical details will help attackers develop working exploits. Amazon has warned that AI-assisted analysis may further accelerate this process by reducing the time and expertise required to transform patch differences or advisories into operational exploitation techniques.

For defenders, the implications extend beyond these particular PHP vulnerabilities. Traditional vulnerability management often assumes that organizations will have at least several days to evaluate an advisory, schedule maintenance, and deploy updates. PHP2Shell demonstrates that attackers may begin probing weaknesses before disclosure and expand their activity almost immediately after technical information becomes available.

The discovery of an attempted PHP2Shell exploit four days before public disclosure underscores a fundamental change in the vulnerability landscape. Organizations can no longer assume that unpublished security flaws remain unknown to attackers, making continuous asset visibility, rapid patch deployment, and stronger runtime-level monitoring essential to modern cybersecurity defense.

Advertisement

Key facts

  • An exploit attempt targeting PHP2Shell vulnerabilities was detected on October 17, 2026
  • The exploit attempt occurred on Amazon's MadPot honeypot service
  • The vulnerabilities were publicly disclosed and patches released after the detected exploit attempt
  • The exploit attempt originated from an IP address associated with a commercial anonymization network

Why it matters

The rapid exploitation of PHP2Shell vulnerabilities, even before public disclosure and widespread patching, highlights the persistent threat posed by zero-day exploits. This incident underscores the critical need for organizations to maintain robust threat intelligence capabilities and proactive security measures to detect and respond to attacks targeting newly identified vulnerabilities, especially those originating from anonymized networks.