Expert View
November 25, 2026
5 minutes

PHP2Shell, Part Two: WordPress Held. The Firewalls Didn't.

PHP2Shell was patched on October 21. Five weeks later, the confirmed root compromises are not on WordPress sites. They are on Palo Alto Networks and Check Point firewalls, where PHP runs inside the appliance and a "local" privilege escalation finished the job.
Sylvain CORTES
Vice President of Strategy
Article
On this article
Topic part 1

When we wrote about PHP2Shell on patch day, the obvious targets were on the web: 22.6 million exposed PHP instances, WordPress, Drupal, Joomla. Attackers went there first. Defiant logged more than 77,000 exploitation requests against WordPress sites from over 2,000 IP addresses, and as of October 28 it knew of no site compromised that way.

The chains that worked landed somewhere else: on the boxes that are supposed to protect the network.

The web was harder to hit than expected

PHP2Shell is a memory-corruption bug. To turn it into code execution, an exploit has to land in a precise heap layout. Defiant found that working exploits usually have to be adjusted to each target, depending on ASLR, the PHP build, loaded extensions, memory limits and how the server handles requests.

Across millions of differently configured web servers, that is friction. Cato Networks found that most of the attempts it blocked were scanning or broken proofs of concept. watchTowr saw successful exploitation from a single IP address, which ran a curl command to prove it worked and stopped there.

Appliances remove that friction.

Same PHP bug, very different odds: a WordPress server versus a PAN-OS firewall

A firewall is a monoculture

Every firewall on a given PAN-OS build runs the same binary, with the same PHP and the same memory geometry. Dream Research recovered the attacker's toolkit and found 11 version profiles with exact offsets per build: PHP 8.0.30 on PAN-OS 12.1 and 12.2, PHP 7.4.33 on 11.1. Calibrate once, and the exploit works on every identical box.

Both PHP branches are past end of life. PHP's fixed releases start at 8.2; for 7.4, 8.0 and 8.1 it only published minimal source backports. On an appliance, the fix arrives when the vendor rebuilds its firmware.

Dream reconstructed the campaign from the attacker's own target lists and logs. Out of about 19,000 exposed firewalls, 240 were targeted and 24 were rooted, plus one management server.

One PAN-OS campaign, from 19,000 exposed management interfaces to a government network (Dream Research)

Palo Alto Networks notes that the management interface is not exposed by default, and that about 0.02% of its installed base had an internet-facing one and was impacted. For those devices, the outcome was full root.

Two chains, one pattern

Two firewall chains, one pattern: PHP2Shell for entry, a 7.8 "local" bug for root

On PAN-OS, the attacker sent PHP2Shell and Fragnesia (CVE-2026-46300) in a single HTTP request. PHP2Shell gave code execution as nobody, an account SELinux keeps away from system files. Fragnesia, a Linux kernel bug, overwrote the cached copy of /etc/pam.d/su so that su root accepted any password. The full chain took under 15 minutes. From one rooted firewall at a US government-affiliated organization, the attacker built a reverse tunnel, exploited the internal firewall management server, decrypted a directory service password and enumerated Active Directory.

On Check Point, the entry point was the Mobile Access portal. Check Point Research saw a first wave on October 30 against Israeli organizations, about a week after a fix for the PHP flaws had become available, then a broader, opportunistic wave on November 2. PHP2Shell gave the portal's service account, and a zero-day in the Gaia OS DynamicCLI interface (CVE-2026-123039) gave root. Webshells went into the portal's login templates, a backdoor called TSGA hid inside appliance processes, and in the first wave the attackers moved over SSH to VMware ESXi hosts and ran a wiper. Check Point told CSO Online that "a couple of dozen" customers were affected, and shipped hotfixes on November 12.

Attribution remains open. Dream describes what appeared to be a Chinese, AI-assisted campaign. Check Point links the implants to a toolkit previously associated with a China-nexus group, but explicitly keeps false-flag and access-broker scenarios on the table. The note the wiper left behind even borrowed Dream's name.

The "local" bug did the decisive work

Both privilege escalations score 7.8. Both are "local": they need code already running on the box. In a backlog sorted by CVSS and attack vector, that is where they end up, below the critical, network-reachable flaws.

"A firewall is supposed to be the strongest point in the network." Frank Dickson, Dickson Research

Fragnesia shows what that habit costs. It belongs to the same page-cache-write family as Copy Fail, which we covered in May, and its proof of concept went public on May 13. Hackuity SmartEx² recorded a first threat actor in August and botnet activity in September. CISA added it to its KEV catalog on October 28: 168 days after the exploit was public, two days after Dream showed what it could do on a firewall.

Fragnesia: 168 days from public exploit to CISA KEV, with every signal recorded in between

A local privilege escalation is not low risk on an internet-facing appliance. It is the second half of a chain whose first half gets published every month.

PHP is inside more boxes than your inventory knows

PHP2Shell's footprint in Hackuity SmartEx²: 35 vendors, 198 product entries, mostly appliance firmware

When PHP2Shell broke, most teams asked which of their servers ran PHP. Their CMDB and their scanners answered with web servers. Firewalls, VPN portals, load balancers and industrial gateways rarely show up in that answer: their PHP is an implementation detail behind a firmware version.

SmartEx² maps CVE-2026-109618 to 35 vendors and 198 product entries, and more than 160 of those entries are network, security or industrial firmware. On November 3, Singapore's Cyber Security Agency named Palo Alto Networks, Cisco, Citrix, F5, Siemens and Fortinet among the affected vendors, and said the list was not exhaustive.

And the PHP patch train has not stopped. On November 19, PHP shipped 8.5.13, 8.4.28, 8.3.37 and 8.2.36, fixing 12 to 18 CVEs per branch, including CVE-2026-115560, the third session flaw disclosed on October 23. PHP says its critical issues this time require non-default or uncommon setups. Every appliance vendor still has to assess them, and backport what applies.

What to do now

Patching the appliance is necessary. It does not remove an attacker who is already on it.

Six moves for anyone running PAN-OS or Check Point gateways

Check Point's workaround for CVE-2026-123039, stopping the dynamic_server process, costs some CLI commands, so treat it as a bridge to the hotfix. For step 3, these are the indicators published so far:

What this means for vulnerability operations

PHP2Shell's second act is a lesson about where exposure lives. The vulnerable code was the same on a WordPress server and on a firewall. The exposure was not: one had a varied stack, often a WAF in front and a short patch path; the other had uniform firmware, an internet-facing management page and a vendor release schedule.

That is why we build Hackuity around exposure context rather than CVE lists. SmartEx², our Smart Exposure Explorer, ties PHP2Shell to the products that embed it, and keeps Fragnesia's exploit, threat actor, botnet and KEV history next to its 7.8 score. It rates Fragnesia 724 on our 1,000-point True Risk Score scale, which is how a "local" bug on an internet-facing appliance can climb the queue before it reaches the KEV catalog.

CVE-2026-109618 in Hackuity SmartEx²: TRS 893, weaponized exploit, CISA KEV, and the vendors whose products embed PHP

The next question is whether a chain can actually run on a given asset. That is what Probe, our AI agent for exploit validation, is built to answer. Probe is available today in feature preview, with general availability planned for January 2027.

The firewall is a server too. Inventory what runs inside it, and patch it like one.

Want to see how Hackuity finds the exposure your inventory misses? Book a demo.

‍

Sources:

‍

Sylvain CORTES
Vice President of Strategy
Sylvain Cortes is Vice President of Strategy at Hackuity and an internationally recognized expert in identity and cybersecurity. A 17-time Microsoft MVP, he has held roles including Security Strategist at Tenable and Security Evangelist at Alsid. He is a frequent speaker and contributor on vulnerability management, identity security and cyber resilience.
Ready to see Hackuity in action?
See how Hackuity maps to your tools, teams, and remediation workflows.
Book a demo
Share this post
VR-1
Property
Model type

Post-trained cyber reasoning model

Primary specialization

Multi-domain enterprise attack-chain discovery

Starting condition

A scoped foothold and a concrete objective

Operating surfaces

Cloud, identity, runtime, code, CI/CD, SaaS, and organizational context
xxxxxx

Success signal

Execution-verified completion of the objective

Primary evaluation

IntrusionBench

Preliminary result (preview)

More than 2× black-box pass@3 over the strongest evaluated frontier baseline

Trajectory budget

Two-hour wall-clock limit per trajectory, or 250 agent turns (whichever comes first)

Most recent articals

Expert View
Article
5minutes
After Mythos: Three Rules for Keeping Your Mogwai Safe
A rather unusual survival guide to vulnerability management, based on Sylvain Cortes’ talk at SANS CyberThreat 2026 in London.
Sylvain CORTES
Vice President of Strategy
November 30, 2026
Expert View
Article
3 minutes
Digital dependencies: companies know they're taking a risk… but are they really measuring it?
A new survey by CESIN and Campus Cyber of 192 members, mostly from large enterprises and mid-sized companies, confirms that digital sovereignty is now a strategic issue. Yet while around 80% have mapped at least part of their IT dependencies, only 26% have fully mapped what their cybersecurity actually relies on. Awareness is there. Measurement isn't, and what isn't measured rarely gets weighed in decisions.
Pierre SAMSON
Co-Founder and Chief Revenue Officer
November 26, 2026
Expert View
Article
8 minutes
A Thousand Fixes, One Zero-Day. It Was the Only One Rated Moderate.
Microsoft's November 10 Patch Tuesday fixed 1,094 of its own vulnerabilities. Exactly one was already being exploited: CVE-2026-124194, an Outlook flaw that hands attackers the user's NTLMv2 hash. It was also the only one in the release that Microsoft rated Moderate.
Wilfrid BLANC
Co-founder & CPTO
November 24, 2026

See Hackuity in action

Schedule a personalized demo to see how Hackuity maps to your environment.
Illustration of hackuity presention, Screenshot of the Hackuity Exposure Overview dashboard showing 1 critical, 474 high, and 2.6k other open findings, alongside a 12-month bar chart of findings by severity and a video call panel