AI-Assisted Or Not? Understanding The PHP2Shell Chain On Palo Alto
AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: AI-Assisted Or Not? Understanding The PHP2Shell Chain On Palo Alto on ThorstenMeyerAI.com

Buying for a business?Offer from Amazon

Get business pricing on tech for your team

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

TL;DR

Dream says an attacker exploited two PHP2Shell flaws and a previously disclosed Linux kernel bug to gain root access on 24 internet-accessible Palo Alto Networks firewalls, then reached a government-affiliated network. Palo Alto Networks says its Unit 42 researchers independently verified the attacker’s tools and results. Dream found AI tools on the attacker’s servers but says it has no direct evidence they wrote the exploit or scripts.

An attacker gained root access on 24 Palo Alto Networks firewalls by chaining two newly fixed PHP flaws with a previously disclosed Linux kernel vulnerability, according to Israeli security company Dream. Dream says the attacker then used compromised firewalls to enter a U.S. government-affiliated network and take over an internal server; Palo Alto Networks says its Unit 42 researchers independently verified the attacker’s tools and results.

Dream’s account, published October 26 and updated October 29, says the attack began on the evening of October 23, about two days after fixes for the PHP vulnerabilities became available. The attacker reportedly scanned and filtered potential targets before running an automated batch against 240 firewalls. Dream says 24 were compromised with root privileges. The targets were in the United States, Japan, Taiwan and South Korea.

The reported chain combined PHP2Shell vulnerabilities CVE-2026-109618 and CVE-2026-109619 with Fragnesia, a Linux kernel privilege-escalation flaw tracked as CVE-2026-46300 and made public in May. Dream says PHP2Shell allowed commands to run on the firewall’s management web server, while Fragnesia helped raise access to root. The company says the process, including installing a persistent back door, took less than 15 minutes. These technical details are Dream’s findings; the supplied account does not include a separate public forensic report from Palo Alto.

Dream says 22 of the 24 compromised firewalls were left with hidden web shells. Two were associated with the government-affiliated organization. After compromising one firewall, the attacker reportedly returned the next day, compromised another, and used a tunnel to reach an internal firewall-management server. Dream identifies that server as the 25th compromised machine and says the attacker then targeted the organization’s Active Directory, which controls access to accounts and systems.

At a glance
reportWhen: Attack activity reported for October 23…
The developmentDream reported that an attacker used a chain involving PHP2Shell and a Linux kernel flaw to compromise 24 Palo Alto Networks firewalls and access a government-affiliated network.
Thorsten Meyer AI
Timeline

Infographic 01 · PHP2Shell on Palo Alto firewalls

Two days from patch to root.

PHP fixed the bug on 21 October. Fixed firewall software for the attacked branches arrived almost a week later. The attack ran in between.

~2 daysfrom PHP’s fix (21 Oct) to the first rooted firewall (23 Oct), my count from the dates
24 +1firewalls rooted, plus one internal management server (Dream)
<15 minfor the whole chain, up to a root back door (Dream)
22rooted firewalls left “parked” with a hidden web shell (Dream)
  • 13–23 MayFragnesia goes public, kernel fix followsLinux privilege-escalation bug with a public exploit; CVE-2026-46300.
  • 8 OctAttacker sets up an AI platformaiscan configured with DeepSeek and Kimi, per Dream’s timeline.
  • 21 OctPHP fixes PHP2ShellPHP 8.5.12, 8.4.27, 8.3.36, 8.2.35. Palo Alto advisory the same day; PAN-OS fixes “upcoming”.
  • 23 Oct, evening UTCBatch run: 240 targets, 24 rootedFound via device search engine, filtered to US, Japan, Taiwan, South Korea.
  • 24 OctInto a government-affiliated networkTunnel, persistence, internal management server rooted (no. 25), Active Directory attacked.
  • 26 OctDream publishes · CISA lists PHP2ShellFederal deadline 29 Oct.
  • 27–29 OctFixed PAN-OS builds for 12.2 and 12.1CISA lists Fragnesia on 28 Oct; Unit 42 confirms Dream’s results on 29 Oct.

The fix for PHP existed. The fix for the firewall did not, yet. The open management page was the only door that mattered.Thorsten Meyer · my reading

Sources: Dream Research, 26 Oct 2026 (updated 29 Oct); php.net, 21 Oct 2026; Palo Alto Networks advisory (updated 29 Oct 2026); CISA KEV catalog, version 29 Oct 2026; oss-security, 13 May 2026; Unit 42, 29 Oct 2026. Day count: Thorsten Meyer.
Powered by Thorsten Meyer AI

Exposed Management Pages Enabled Access

The incident illustrates the risk of placing a firewall’s management interface on the public internet. Such interfaces are used to change security rules and administer the device; access to one can give an intruder a route to other systems if additional safeguards fail. Dream’s account describes the firewall as an initial foothold, followed by movement to an internal management server and attempts against Active Directory.

The timing also matters for defenders. Palo Alto issued an advisory on October 21, but Dream says fixed PAN-OS builds for the affected 12.1 and 12.2 branches were not released until October 27-29. That left a period when administrators needed to rely on interim protections, including restricting management access rather than exposing it to the internet. The account does not establish that every exposed firewall was vulnerable or compromised; it reports a selected set of targets and outcomes.

Dream’s evidence of AI tools on the attacker’s infrastructure has drawn attention, but it does not establish that artificial intelligence created the exploit. For organizations, the immediate security lesson is more concrete: patching, limiting management access and securing identity systems can reduce the paths an attacker can use, regardless of whether AI played any role.

Products Worth Considering

LG 27GS60QC-B Ultragear 27-inch Curved Gaming Monitor (QHD, 180Hz, 1ms, 1000R)

LG 27GS60QC-B Ultragear 27-inch Curved Gaming Monitor (QHD, 180Hz, 1ms, 1000R)

As an affiliate, we earn on qualifying purchases.

Patches Followed Two Different Timelines

The PHP project released updated versions on October 21, 2026, and Palo Alto Networks published an advisory the same day. According to Dream, PAN-OS uses its own PHP copy, listed in its report as version 8.0.30, so applying a general PHP update was not necessarily the same as installing a corrected PAN-OS build. Dream says fixes for the attacked 12.1 and 12.2 branches arrived between October 27 and 29.

The second vulnerability in the chain, Fragnesia, had been disclosed in May with a public exploit and a kernel fix, according to the source account. Dream says it identified roughly 19,000 PAN-OS firewalls with internet-facing management pages using the FOFA device-search service, obtained version responses from about 5,000, then narrowed its reported target set to 240 based on country and version. These are figures from Dream’s reconstruction, not a count of all vulnerable devices.

Dream says it found Claude Code installed on the attacker’s servers, along with DeepSeek and Kimi configured in an offensive-security platform called aiscan. The company says it has “no direct evidence” that AI tools wrote the exploit or scripts and that the operation did not appear to be fully autonomous. The reported presence of AI software is evidence of available tools, not proof of how they were used.

““no direct evidence””

— Dream

AI Use and Network Impact Remain Unclear

The available account does not show what specific role, if any, AI tools played in selecting targets, writing code or running the attack. Dream found tools and model configurations on the attacker’s servers, but expressly said it lacked direct evidence linking them to the exploit or scripts. Palo Alto’s reported verification of tools and results does not, in the supplied material, resolve that question.

It is also not clear from the source account whether the attacker successfully accessed, changed or removed data from the government-affiliated network, or how far the reported Active Directory activity progressed. The organization is not named, and the account does not provide a full inventory of affected customers or a complete public account of incident response. The number of vulnerable devices beyond the selected targets is also unknown.

Patch Builds and Incident Reviews

Organizations using PAN-OS should check Palo Alto Networks’ current security advisory for the affected versions and apply the relevant fixed build. Administrators should also restrict management interfaces to trusted networks or approved access paths, review logs for suspicious access and persistence, and investigate whether compromised firewall credentials or connected identity systems require response. These are defensive steps; the source account does not identify which individual customers have completed them.

Dream’s report says the attacker’s activity was discovered through analysis of artifacts on October 25, followed by its public report on October 26 and an update on October 29. CISA added both PHP2Shell CVEs to its Known Exploited Vulnerabilities catalog on October 26 and set a three-day deadline for federal agencies, according to the source. Further details about the government-affiliated organization, the scope of any data access and the attacker’s use of AI remain pending in the material provided.

Key Questions

What is PHP2Shell?

PHP2Shell is the name used for two PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619. Dream says they were chained with the Fragnesia Linux kernel flaw to gain root access on targeted firewalls.

Were 24 Palo Alto firewalls compromised?

Dream reports that an automated batch targeted 240 firewalls and gained root access on 24. Palo Alto Networks says Unit 42 independently verified the attacker’s tools and results. The supplied material does not provide a complete list of affected owners.

Did AI create or run the attack?

That is not established. Dream found AI-related tools and model configurations on the attacker’s servers, but said it had no direct evidence that AI wrote the exploit or scripts and that the attack did not appear fully autonomous.

What should PAN-OS administrators do?

Check Palo Alto Networks’ advisory and install the fixed PAN-OS build that applies to the environment. Restrict firewall management pages from public access and review systems for signs of unauthorized access, persistence or movement into connected identity infrastructure.

Source: ThorstenMeyerAI.com

You May Also Like

What Secure Model Serving Should Include by Default

Inevitably, understanding the essential elements of secure model serving is crucial to protect your data and ensure reliability—discover what should be included by default.

Automated Incident Response and Remediation in the Cloud

Keen automation in cloud incident response can transform cybersecurity, but discovering how to implement it effectively is crucial for your security strategy.

What To Patch Now As CISA Sets An Outlook Zero-Day Deadline

CISA added an actively exploited Outlook flaw to its KEV catalog. Federal civilian agencies must apply Microsoft’s available updates by Nov. 24.

Implementing Microsegmentation in Cloud Networks

Secure your cloud network with microsegmentation strategies that adapt to evolving threats—discover how to implement effective segmentation today.