# Researchers say PHP2Shell and Fragnesia chain reached a US government firewall server

Dream says attackers chaining the PHP2Shell and Fragnesia flaws rooted 25 PAN-OS servers, including a US government-affiliated firewall management server and its Active Directory.

Source: https://junglewise.ai/news/researchers-say-php2shell-and-fragnesia-chain-reached-a-us-government-firewall  
Byline: Junglewise News Desk, https://junglewise.ai/news  
Topic: Vulnerabilities and exploitation  
Published: 25 November 2026  
Reading time: 6 min

![A dark server rack with green-lit network cables bundled through switches](https://images.unsplash.com/photo-1680992046626-418f7e910589?ixid=M3w0NDU4NjF8MHwxfHNlYXJjaHw1fHxzZXJ2ZXIlMjB3aXJpbmclMjBjbG9zZXQlMjBjYWJsZXN8ZW58MXwwfHx8MTc5NTcwNDIwNnww&ixlib=rb-4.1.0&w=1600&q=80&fm=jpg&fit=crop)

Picture: Photo by [Tyler](https://unsplash.com/@tylergm?utm_source=junglewise&utm_medium=referral) on [Unsplash](https://unsplash.com/?utm_source=junglewise&utm_medium=referral)

A campaign that chained two freshly disclosed PHP flaws with a Linux kernel bug reached the firewall management server of a United States government-affiliated organisation, giving the attacker the configurations, credentials and network settings of every firewall that server managed. According to research firm Dream, whose findings [Infosecurity Magazine reported](https://infosecurity-magazine.com/news/chinese-us-government-chained-php2), the access also reached into the organisation's internal Active Directory, where credentials and other data were taken. Researchers said they could not establish how much was accessed.

Twenty-five servers were rooted in total, 24 firewalls and one internal firewall management server, across the United States, Japan, Taiwan and South Korea. Twenty-two of the rooted firewalls received a webshell and nothing more. Two belonged to the government-affiliated environment, and from one of those the attacker reached the third machine, the one that ran the whole firewall estate. [Palo Alto Networks](/threats/vendors/palo-alto-networks), whose [PAN-OS](/threats/technologies/pan-os) firewalls were the targets, has now patched both halves of the chain.

The initial access half is PHP2Shell, the collective name for two critical remote code execution vulnerabilities in PHP. The privilege escalation half is Fragnesia, a Linux kernel bug disclosed in May 2026 that lets an unprivileged attacker overwrite sensitive system files and become root. Dream said the attacker used Fragnesia to overwrite authentication rules so that root access needed no password at all, and that the full sequence, from an unauthenticated HTTPS connection to a persistent root webshell, took under 15 minutes in a single HTTP request.

Only firewalls with the management interface exposed to the internet were affected. Palo Alto Networks put that population at "Only a small fraction of a percent (approximately .02%) of our global installed base has internet-facing management interfaces configured and were impacted", and said each of those customers was contacted individually. The attacker found roughly 19,000 internet-facing PAN-OS firewalls, filtered them down to 240 in the four target countries running the specific versions it had profiled, and fed that list to an automated runner that worked through five at a time, with a 1800-second timeout per target.

## What to do now

1. Check whether any PAN-OS management interface can be reached from the internet, and do the same for any dataplane interface that has a management profile attached to it. If one is reachable, treat the device as urgent: upgrade immediately and restrict access to trusted internal IP addresses, as [Palo Alto Networks instructs](https://security.paloaltonetworks.com/PAN-SA-2026-0015).
2. Apply the PHP2Shell fixes listed in the [CVE-2026-109618 advisory](https://security.paloaltonetworks.com/CVE-2026-109618). Customers already on one of those fixed versions are protected against the observed chain, because the fixes break it at the entry point.
3. Apply the Fragnesia fixes in PAN-SA-2026-0015 as well. Palo Alto Networks is not aware of any way to exploit Fragnesia on PAN-OS without first getting in through PHP2Shell, but it still recommends upgrading, at the next maintenance interval if management access is already restricted to internal addresses.
4. Do not put the management interface on the public internet. The vendor's position is that access should come from the management network or over VPN, and that is also the default configuration.
5. If a management interface was exposed during the relevant window, investigate rather than assume. The Cyber Security Agency of Singapore [advises](https://csa.gov.sg/alerts-and-advisories/alerts/al-2026-157) checking systems for signs of unauthorised access, privilege escalation and persistence. In this campaign that meant webshells, a reverse SSH tunnel and activity against Active Directory.
6. Look beyond PAN-OS. PHP2Shell also affects products from Cisco (Duo Access Gateway, Expressway Series), Citrix (NetScaler ADC and Gateway), F5 (BIG-IP Access Policy Manager and Configuration utility), Siemens (RUGGEDCOM APE1808 devices running affected PAN-OS versions) and Fortinet (FortiSOAR and FortiSOAR PaaS).

## Technical details

PHP2Shell covers [CVE-2026-109618](/threats/cve-2026-109618-gcp-2026-070) and [CVE-2026-109619](/threats/cve-2026-109619-php-has-various-global-state-that-temporarily-points-into), both rated 9.2 on CVSS 4.0. CVE-2026-109618 concerns out-of-memory handling where a `longjmp()` leaves request memory uninitialised, which allows reliable remote code execution by triggering OOM conditions. CVE-2026-109619 concerns fatal error handling where a `longjmp()` leaves global memory pointing at freed regions that can later be read or branched on. The weakness class is CWE-754, improper check for unusual or exceptional conditions. Palo Alto Networks found the issues internally and published its advisory on 21 October 2026, updating it on 29 October with confirmation of active exploitation against internet-exposed management interfaces.

On PAN-OS the flaw strictly affects the management web interface, meaning the HTTPS web UI and the XML API service, on PA-Series and VM-Series firewalls and on Panorama (virtual and M-Series). No special configuration is needed to be affected. GlobalProtect portal, gateway and Clientless VPN, and the Captive Portal, are not impacted. A dataplane interface is affected only if a management profile is attached to it. Dream said the exploit was tailored to PHP's `session.upload_progress` mechanism on the management web server.

Fragnesia is CVE-2026-46300, a privilege escalation flaw in the Linux kernel's XFRM ESP-in-TCP subsystem. CISA added it to the Known Exploited Vulnerabilities catalog on 28 October 2026, noting that it "can be chained with CVE-2026-109618 and CVE-2026-109619 to implant PHP webshells and run commands as root", with a federal remediation deadline of 31 October 2026 [according to Help Net Security](https://helpnetsecurity.com/2026/10/29/php2shell-fragnesia-vmware-esx-zero-day).

Fixed PAN-OS versions for PHP2Shell include 12.2.4-h1, 12.1.10-h3, 12.1.7-h11, 12.1.4-h13, 11.2.16-h1, 11.2.13-h4, 11.2.10-h16, 11.2.7-h23, 11.2.4-h23, 11.1.16-h4, 11.1.13-h16, 11.1.10-h36, 11.1.7-h12, 11.1.6-h40, 11.1.4-h38, 10.2.18-h13, 10.2.16-h12, 10.2.13-h27, 10.2.10-h42 and 10.2.7-h39.

The Fragnesia fixes [released by Palo Alto Networks](https://securityweek.com/palo-alto-networks-patches-fragnesia-flaw-used-to-root-firewalls) are a separate and later set of hotfixes. In the 12.x line they are 12.2.4-h3, 12.1.10-h6, 12.1.7-h15 and 12.1.4-h15. In the 11.2 line, 11.2.16-h3, 11.2.13-h6, 11.2.10-h19, 11.2.7-h25 and 11.2.4-h25. In the 11.1 line, 11.1.16-h6, 11.1.13-h18, 11.1.10-h38, 11.1.7-h14, 11.1.6-h42 and 11.1.4-h40. In the 10.2 line, 10.2.18-h15, 10.2.16-h14, 10.2.13-h29, 10.2.10-h45 and 10.2.7-h41. All later releases also contain the fix.

Dream dates the exploitation activity to 23 and 24 October 2026, against the 12.1 and 12.2 branches running PHP 8.0.30. It describes an operation that obtained and decrypted PAN-OS firmware, extracted PHP libraries, built memory profiles for nine software versions and calibrated the exploit in a lab, with target lists, exploitation logs and roughly 40 custom post-exploitation scripts. In the government-affiliated environment the attacker set up an eight-port reverse SSH tunnel for persistence. Dream attributes the campaign to a Chinese-speaking, China-nexus actor and cites the choice of targets and the use of Chinese services, the DeepSeek and Kimi language models and the FOFA reconnaissance platform, as indicators; that attribution is the firm's own and is not independently confirmed. Unit 42 did confirm the technical side, stating that it "has independently verified the same attacker's tooling and confirmed the reported results".

Dream said it could not tell whether the attacker's attempts at password spraying, backdoor account creation or SAML key extraction worked: "What we cannot determine is whether the password spray, backdoor account creation, or SAML key extraction succeeded." If any did, the compromise would extend into the organisation's identity infrastructure. The affected organisation has not been named.

## On Junglewise Threat Intelligence

- [CVE-2026-109618: PHP Memory Corruption Vulnerability](https://junglewise.ai/threats/cve-2026-109618-gcp-2026-070)
- [CVE-2026-109619: PHP use-after-free in global state handling](https://junglewise.ai/threats/cve-2026-109619-php-has-various-global-state-that-temporarily-points-into)
- [Palo Alto Networks PAN-OS](https://junglewise.ai/threats/technologies/pan-os)
- [Palo Alto Networks](https://junglewise.ai/threats/vendors/palo-alto-networks)

## The story so far

- [PHP2Shell: Palo Alto firewall management interfaces attacked for remote code execution](https://junglewise.ai/news/php2shell-palo-alto-firewall-management-interfaces-attacked-for-remote-code)

## Related articles

- [Microsoft: Chinese and North Korean groups among those using ARTEX AI tool](https://junglewise.ai/news/microsoft-chinese-and-north-korean-groups-among-those-using-artex-ai-tool)
- [Attackers are running AI agent frameworks that turn patches into exploits](https://junglewise.ai/news/attackers-are-running-ai-agent-frameworks-that-turn-patches-into-exploits)
- [Broadcom patches second critical vCenter authentication bypass in a week](https://junglewise.ai/news/broadcom-patches-second-critical-vcenter-authentication-bypass-in-a-week)
- [CISA adds critical VMware vCenter bypass to its exploited vulnerabilities catalog](https://junglewise.ai/news/broadcom-patches-critical-vcenter-bypass-that-mandiant-says-a-china-linked-group)
