November 19, 2026

PHP2Shell Finds the Firewall: Root on Palo Alto and Check Point Gateways

No items found.

Attackers chained PHP2Shell with local privilege escalation bugs to root Palo Alto and Check Point firewalls, then pivoted inward. This blog post helps answer who is exposed, what to hunt for, and what to patch.

Last month, we closed our PHP2Shell post by noting that nobody knew whether the public exploits would mature into something reliable. That turned out to be the wrong question. A prepared operator built its own exploit, and the first firewall fell the day that post went up. Two separate campaigns have used CVE-2026-109618 and CVE-2026-109619 against the PHP running inside firewall web interfaces, one against Palo Alto Networks PAN-OS and one against Check Point Security Gateways. Both followed the same script: PHP2Shell for a low-privilege foothold, a local bug for root and then the firewall for a launch point into the network it was supposed to protect.

The Palo Alto Campaign: Management Interfaces

Dream Research documented the first campaign. Between October 23 and 24, an operator rooted 25 servers in the United States, Japan, Taiwan and South Korea: 24 PAN-OS firewalls and one internal firewall management server. The exploit was custom, not a public proof of concept. PHP2Shell gave code execution as the low-privilege user on the management web server. Fragnesia (CVE-2026-46300), a Linux kernel privilege escalation, then overwrote /etc/pam.d/su so that su root succeeds without a password. Dream says the full chain completes in under 15 minutes.

Twenty-two of those firewalls were left with a small PHP root webshell, owned and parked. At one US government-affiliated organization, the operator went further: an eight-port reverse SSH tunnel exposing domain controllers, the firewall management server and GlobalProtect infrastructure. From there, it decrypted an LDAP service account password and enumerated every Active Directory user and group. 

Dream also found attempted password spraying against a domain with no lockout threshold, and attempted machine account creation through the default MachineAccountQuota. CISA added Fragnesia to KEV on October 28, noting it can be chained with PHP2Shell “to implant PHP webshells and run commands as root.”

The Check Point Campaign: Portals That Must Face the Internet

Check Point Research released a PHP2Shell hotfix and, about one week later, documented the second campaign, which began on October 30 against Security Gateways running Mobile Access portals. PHP2Shell gave code execution as the portal service account. CVE-2026-123039 (CVSS 7.8) took it to root: The Gaia dynamic_server process runs as root, listens on a world-writable socket, and executes any command it receives without checking who sent it.

The attackers planted PHP webshells in the Mobile Access template folder and installed a backdoor called TSGA that can tamper with binary firewall logs. In a first wave aimed at Israeli organizations, they moved over SSH from the gateway to VMware ESXi hosts using the vpxuser account, and ran a wiper called destroy_v6. Its note explicitly rejects ransom negotiation. A broader second wave on November 2 reached multiple countries and sectors with no destruction observed. Check Point says it saw exploitation against “a couple of dozen customers,” and CISA added CVE-2026-123039 to KEV on November 13 with a three-day federal deadline.

Hold attribution loosely. The implants share lineage with PhiliKit, which ESET has tied to the China-nexus cluster UNC5221, but the wiper note uses the branding of Dream, the firm behind the Palo Alto research. Check Point Research says the evidence does not support a high-confidence assessment.

Who Is Exposed

On Palo Alto, PHP2Shell affects the management web interface (HTTPS UI and XML API) of PA-Series and VM-Series firewalls and Panorama across PAN-OS 10.2 through 12.2, including any dataplane interface with a management profile attached. Palo Alto states that “no special configuration is required to be affected.” GlobalProtect portals and gateways, Clientless VPN and Captive Portal are not affected. Unit 42 says roughly 0.02% of Palo Alto’s installed base had internet-facing management and was impacted.

On Check Point, the entry point is the gateway’s web-facing features, with Mobile Access being used in these attacks. That is the harder case, because a remote access portal is supposed to face the internet. CVE-2026-123039 also affects Management and Log Servers, Multi-Domain servers and Maestro Orchestrators on R81 through R82.20. R81 and R81.10 are end of support and will not receive a fix.

These are two vendors among many: the Dutch NCSC’s PHP2Shell tracker listed 972 products as of November 12.

What To Do This Week

Take management off the internet. Restrict PAN-OS and Panorama management to trusted internal addresses or a jump box. Palo Alto’s advisory scores the issue lower when management is restricted in this way.

Patch Palo Alto to a fixed hotfix for your train: 12.2.4-h1, 12.1.10-h3, 11.2.16-h1, 11.1.16-h4 or 10.2.18-h13 or later, or the branch-specific hotfix in the advisory. On 11.2.10, choose h17 over h16, which carries the PHP fix but not the Brotli fix.

Patch Check Point with the November Jumbo Hotfix on every gateway and management server, prioritizing internet-facing Mobile Access first. For CVE-2026-123039, that means R82.20 Take 14, R82.10 Take 52, R82 Take 132, or R81.20 Take 174 or later. On R81 and R81.10, apply the sk1000362 workaround that disables dynamic_server and plan the upgrade.

Hunt on the box, then corroborate off it. On Check Point, look for upload_progress_pwn in PHP session files, any CPconfigdaemon process, a /tmp/dynamic_socket that is not mode 0660, unusual entries in /var/log/dynamicCli.log, and unexplained gaps in firewall logs. On Palo Alto, look for /unauth/php/change_password.php and /usr/local/lib/.panops/. A rooted appliance cannot vouch for itself, so check upstream logs for SSH originating from the firewall, and treat SSH from a gateway to an ESXi host as a breach until proven otherwise.

If you find anything, assume the device’s secrets are gone. Dream found private keys harvested from the firewall filesystem and a decrypted LDAP service account password. Rotate service account credentials, certificates, and VPN and SAML keys, and treat the network behind the firewall as part of the incident.

The Firewall is a Server Too

A firewall management page or VPN portal is a web application on a general-purpose operating system, and it inherits that stack’s bugs. The first Palo Alto firewall was rooted on October 23, the same day Palo Alto’s advisory was still adding estimated dates for fixed hotfixes. Check Point customers were hit within a week of a fix. 

In that window, what protected organizations was architecture, not patch speed: management planes the internet could never reach, and segmentation that kept a compromised edge device away from domain controllers and hypervisors. If your firewall can SSH to ESXi or talk to a domain controller, now is the time to reevaluate.

Sources

Dream Research. “Chained PHP2Shell Exploit Roots 25 Servers.” 26 October 2026, updated 29 October 2026. dreamgroup.com/blog/chained-php2shell-exploit-roots-25-servers

Palo Alto Networks. “Impact of the critical PHP vulnerabilities CVE-2026-109618 and CVE-2026-109619 on Palo Alto Networks products.” 21 October 2026, updated 29 October 2026. security.paloaltonetworks.com/CVE-2026-109618

Palo Alto Networks Unit 42. “Threat Brief: Critical Vulnerabilities in PHP: CVE-2026-109618, CVE-2026-109619 (Updated October 29).” 29 October 2026. unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619

Check Point Research. “PHP2Shell Exploitation on Check Point Gateway.” 12 November 2026. research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway

Check Point. Lotem Finkelstein, “Security Advisory: Active Exploitation of PHP2Shell and Local Privilege Escalation.” 12 November 2026. blog.checkpoint.com/security/security-advisory-active-exploitation-of-php2shell-and-local-privilege-escalation

Check Point. sk1000362, “CVE-2026-123039: Local Privilege Escalation to Root via Dynamic CLI Socket.” 8 November 2026, updated 12 November 2026. support.checkpoint.com/results/sk/sk1000362

CISA. “CISA Adds Two Known Exploited Vulnerabilities to Catalog.” 13 November 2026. cisa.gov/news-events/alerts/2026/11/13/cisa-adds-two-known-exploited-vulnerabilities-catalog

BleepingComputer. Sergiu Gatlan, “CISA warns of Fragnesia Linux flaw chained in PHP2Shell attacks.” 29 October 2026. bleepingcomputer.com/news/security/cisa-warns-of-fragnesia-linux-flaw-chained-in-php2shell-attacks

BleepingComputer. Bill Toulas, “Check Point gateways hacked via PHP2Shell to deploy VMware ESXi wiper.” 13 November 2026. bleepingcomputer.com/news/security/check-point-gateways-hacked-via-php2shell-to-deploy-vmware-esxi-wiper

NCSC-NL. “php2shell: Operational information regarding the 2026 php2shell vulnerabilities.” Status as of 12 November 2026. github.com/NCSC-NL/php2shell

‍

Publish Date: November 19, 2026

Published By: Daniel Parker, VP of Ethical Hacking, NetWorks Group

Think We Can Help?

Let’s Talk
‍