China-linked hackers chain PHP2Shell bugs to take over Palo Alto firewalls
A suspected China-nexus group chained PHP2Shell with a Linux kernel bug to root 25 Palo Alto Networks systems, including firewalls tied to a U.S. government-affiliated network.
PHP2Shell is the nickname for two critical PHP flaws (CVE-2026-109618 and CVE-2026-109619) that the PHP project fixed on October 21. Within days, attackers were using them.
On October 28, Palo Alto Networks confirmed active exploitation against PAN-OS firewalls whose management interface is exposed to the internet. The company says only about 0.02% of customers expose that interface.
The campaign
Security firm Dream described a suspected China-nexus operation that used the FOFA search engine to find about 19,000 internet-facing Palo Alto firewalls. It then chained PHP2Shell with Fragnesia (CVE-2026-46300), a Linux kernel privilege-escalation bug, to gain root access. The group rooted 25 systems, 24 perimeter firewalls and one internal management server, some belonging to a U.S. government-affiliated organization.
At that organization, the attackers set up a reverse SSH tunnel and moved to the internal server that manages every firewall, gaining access to all of their configurations and credentials. Researchers found traces of AI tools in the attack workflow. Palo Alto's Unit 42 independently verified the tooling.
What to do
Apply Palo Alto's hotfixes. Where none exist yet, use its mitigations, and keep management interfaces off the internet.
Who's affected
Organizations with Palo Alto Networks firewalls whose management page is reachable from the internet.
What to do
Patch the firewall, and never expose its management interface to the internet.