02Nov

PHP2Shell Exploitation: Active Attacks, Vendor Patches, and Chained Kernel Flaws

The main risk is unauthenticated remote code execution in PHP-backed systems. That risk became concrete when researchers confirmed in-the-wild exploitation of the PHP2Shell flaws, CVE-2026-109618 and CVE-2026-109619, against an Apache mod_php installation running PHP 8.4.26, and CISA later added both flaws to its Known Exploited Vulnerabilities catalog. Because PHP powers roughly 70% of websites and is embedded in many network appliances, the risk reaches firewalls, VPNs, and management interfaces that customers often cannot patch directly.

WHAT HAPPENED

PHP2Shell refers to two critical remote code execution vulnerabilities in the PHP engine, tracked as CVE-2026-109618 and CVE-2026-109619. They allow unprivileged attackers to execute code on unpatched PHP systems. The PHP security team patched them on October 21 with releases 8.5.12, 8.4.27, 8.3.36, and 8.2.35, after details and non-functional proof-of-concept exploits had leaked online. Exploitation attempts began before the patch: Amazon observed an attempt on October 17, and Cloudflare later reported millions of attempts. Perplexity researchers recorded confirmed remote code execution on honeypots, including 35 shells launched across three servers on October 24. The observed traffic matched a public proof-of-concept exploit and was consistent with CVE-2026-109618. CISA published a Sigma detection rule on October 23 and added both PHP2Shell flaws to its Known Exploited Vulnerabilities catalog on October 26. A separate unpatched RCE flaw, CVE-2026-115560, was also disclosed, with mitigation to set session.upload_progress.enabled=0. Industrial and network vendors, including Siemens, Schneider Electric, ABB, Rockwell Automation, Johnson Controls, Belden, HMS Networks, Wibu-Systems, Hitachi Energy, and Moxa, published advisories or patches for products that embed PHP. A China-linked actor chained the PHP2Shell flaws with the Linux kernel privilege-escalation bug CVE-2026-46300, known as Fragnesia, to root firewalls and deploy persistent webshells. The actor used FOFA to identify 19,000 firewalls and exploited 25 of them on October 23-24, dropping root webshells on 24 devices and progressing further on two servers in a US government-affiliated environment. Palo Alto Networks confirmed the findings and released patches for PAN-OS 12.2, 12.1, 11.2, 11.1, and 10.2. Juniper Networks noted that CVE-2026-109618 affects Junos OS but is not exploitable. WordPress sites appeared largely unaffected, although Defiant recorded over 77,000 related requests from more than 2,000 IP addresses.

HOW THE STORY DEVELOPED

The flaws had existed in PHP since 2012. Researchers at Calif and Wiz found them in August with help from OpenAI and Google models, and disclosed them jointly with OpenAI. On October 17, Amazon observed the first exploitation attempt. On October 21, PHP shipped patches, one day after urging admins to prepare. On October 23, CISA updated its PHP2Shell alert with a Sigma detection rule but had not yet observed successful exploitation. On October 24, Perplexity honeypots recorded 35 shells across three servers, confirming remote code execution. On October 26, CISA added both PHP2Shell flaws to its KEV catalog and ordered federal civilian executive branch agencies to remediate by Thursday under Binding Operational Directive 26-04. Around the same time, industrial vendors published advisories: Schneider Electric confirmed three affected products, Siemens identified Ruggedcom APE1808 devices running vulnerable Palo Alto PAN-OS versions, ABB warned that MES deliveries using DokuWiki and B&R APROL are affected, Johnson Controls released patches for several Illustra product lines, Belden recommended disabling the web interface while a patched version was pending, and Moxa determined that none of its products were impacted. On October 29, CISA added the Fragnesia Linux kernel flaw, CVE-2026-46300, to KEV and ordered federal agencies to patch by the following Saturday. The same day, Palo Alto Networks confirmed the Dream Research findings and released PAN-OS patches. Defiant reported that WordPress sites had not been confirmed compromised, while Cato Networks said 96% of blocked attacks targeted CVE-2026-109618 and 41% attempted remote code execution.

WHY IT MATTERS

PHP2Shell matters because PHP is embedded in a large share of the web and in network appliances. VirusTotal estimates that PHP is used by roughly 70% of websites, with more than 5.1 million exposed PHP hosts and about 3.8 million with at least one open port. Censys counted 32.5 million internet-facing PHP services on potentially vulnerable versions and more than 60 million that do not report a version. Palo Alto's telemetry identified over 22.6 million exposed PHP instances potentially vulnerable. The KEV listing gives organizations a clear prioritization signal: these flaws are actively exploited, not merely theoretical. The chaining with Fragnesia shows how a remote code execution flaw can be combined with a local privilege-escalation bug to obtain root access on edge devices such as firewalls. Remediation is slower than exploitation: Verizon's 2026 DBIR states a median 43-day time-to-fix for known exploited vulnerabilities, and Qualys reports that 63% of critical vulnerabilities remain open after a week. For enterprises, the practical implication is that patching closes the initial hole, but identity controls determine how far an attacker can move after compromise. A shell on a PHP server can expose environment variables, cloud keys, tokens, and service accounts; limiting those identities reduces the blast radius.

WHAT IT MEANS FOR YOU

1. If you run a website or web application on PHP, check your PHP version and install the latest patched release: 8.5.12, 8.4.27, 8.3.36, or 8.2.35. If you are on PHP 8.1 or older, there are no official builds, so plan an upgrade.

2. If you manage a firewall, VPN, or other network appliance with a PHP management interface, check the vendor advisory and apply the vendor firmware or software update. If a patch is not yet available, restrict internet exposure of the management interface.

3. If you use WordPress or another CMS, update PHP and monitor for unusual requests. Defiant recorded over 77,000 PHP2Shell-related requests but had not confirmed a WordPress compromise.

4. If you are an employee or customer of an organization that uses industrial or operational technology products, ask IT whether products from Siemens, Schneider Electric, ABB, Johnson Controls, Belden, or other vendors are affected and whether vendor patches are available.

5. If you use cloud or internal systems, review the service accounts, API keys, cloud roles, and tokens reachable from a compromised PHP host. Scope access, remove dormant credentials, and govern the identity lifecycle.

WHAT ORGANIZATIONS SHOULD CONSIDER

1. Prioritize remediation of KEV-listed flaws: patch PHP2Shell (CVE-2026-109618 and CVE-2026-109619) and Fragnesia (CVE-2026-46300) according to CISA deadlines under BOD 26-04.

2. Inventory all PHP services and appliances, identify internet-facing management interfaces, and restrict or disable them while vendor firmware updates are pending.

3. Track vendor advisories for embedded PHP in firewalls, VPNs, application delivery controllers, and storage devices; apply vendor updates when available, and use mitigations such as disabling web interfaces where patches are not yet released.

4. Monitor for exploitation attempts and successful shells using CISA's Sigma detection rule and vendor telemetry; investigate webshells, reverse SSH tunnels, LDAP access, and Active Directory backdoor attempts.

5. For the unpatched RCE flaw CVE-2026-115560, apply the recommended mitigation by setting session.upload_progress.enabled=0 until a patch is released.

6. Reduce blast radius by inventorying AI agents and non-human identities, scoping access to purpose and intent, removing dormant credentials, and continuously governing the identity lifecycle.

WHAT TO WATCH NEXT

Watch for vendor firmware updates for appliances that embed PHP, including pending patches from Belden and ABB, and confirm whether Rockwell Automation and Hitachi Energy identify affected products. Monitor CISA KEV additions and BOD 26-04 deadlines for federal agencies. Track continued exploitation attempts, new payloads, and appliance-specific exploits, as WatchTowr expects more public reporting of successful exploitation of edge appliances. Also monitor the patch status of CVE-2026-115560, which currently has only a mitigation, and watch for further confirmation of successful PHP2Shell exploitation beyond honeypots and Palo Alto firewalls.

About the Author

Related

AI Agent Security and Runtime Controls: From Exposed Keys to Dynamic Permissions

As organizations increasingly deploy autonomous AI agents to execute code and manage tools, security...

Read More >

Critical Vendor Security Patches: Urgent Fixes Across Network, Web, and Enterprise Software

In October 2026, a massive wave of critical security updates was released across major enterprise so...

Read More >

Atlassian CVE-2026-21589: Active Exploitation Attempts Hit Self-Hosted Data Center Products

In early October 2026, Atlassian disclosed CVE-2026-21589, a critical (CVSS 9.3) unauthenticated fil...

Read More >

AI Governance, Industry Surveys, and Zero Trust Shape 2026 Cybersecurity Policy

In late September and early October 2026, U.S. cybersecurity policy underwent a major shift toward s...

Read More >

Zero-Permission Monitoring: How Built-In File Notifications Leak User Activity

Security researchers at Graz University of Technology have discovered that standard file-change noti...

Read More >

Actively Exploited Vulnerabilities in Enterprise Software and Development Platforms

CISA is tracking a surge in actively exploited vulnerabilities across enterprise software, developme...

Read More >
Cookie settings