Zero Day Room
Live
Incidents

Chinese APT Breaches US Government Firewalls with PHP2Shell

A Chinese nation-state actor rooted 25 Palo Alto Networks firewalls, including two in a US government environment, by chaining PHP2Shell and Fragnesia exploits in under 15 minutes.

A Chinese nation-state actor rooted 25 Palo Alto Networks firewalls, including two in a US government environment, by...

A Chinese-linked advanced persistent threat group compromised 25 Palo Alto Networks firewall and management servers in late October, gaining persistent root access to two systems within a US government-affiliated network. The attack, which unfolded from October 23-24, chained two PHP2Shell zero-days with a Linux kernel flaw to achieve complete control of vulnerable devices in under 15 minutes.

The campaign demonstrated highly automated and targeted exploitation. Attackers used the Chinese FOFA search engine to identify 240 potential targets across the United States, Japan, Taiwan, and South Korea. They then processed targets in automated batches of five, allowing a 30-minute timeout per attempt. The operation successfully rooted 24 firewalls, with 22 receiving a webshell and two in the US government environment gaining persistent access to an internal Active Directory domain. This impacted approximately 0.02% of Palo Alto's global installed base with internet-facing management interfaces.

Scope and targets

The breach had a clear strategic focus on government systems. While 25 servers were compromised in total, the most significant penetration occurred within a US government-affiliated environment. There, the attackers moved beyond initial access to establish a foothold on the domain. The geographic targeting spanned key US allies in the Asia-Pacific region, including Japan, Taiwan, and South Korea, indicating intelligence-gathering objectives.

Target LocationFirewalls TargetedFirewalls RootedGovernment Environment Breached
United StatesPart of 240 totalPart of 24 totalYes, 2 servers with AD access
JapanPart of 240 totalPart of 24 totalNo
TaiwanPart of 240 totalPart of 24 totalNo
South KoreaPart of 240 totalPart of 24 totalNo

Exploited vulnerabilities

The attack chain combined three critical vulnerabilities to bypass security controls. The initial entry used two PHP remote code execution flaws, collectively dubbed PHP2Shell (CVE-2026-109618 and CVE-2026-109619), which affect PAN-OS versions 12.1 and 12.2 running PHP 8.0.30. Researchers noted that reliably exploiting PHP2Shell is difficult due to its need for precise, version-specific memory offsets, with no universal exploit available.

To achieve full system control, the actors chained these with a local privilege escalation vulnerability known as Fragnesia (CVE-2026-46300). This Linux kernel flaw, disclosed in May 2026, allowed the attackers to escalate to root privileges after the initial PHP code execution. Dream researchers described the overall attack as a necessary two-stage chain, where the PHP2Shell exploit alone was insufficient for persistent root access.

Attribution and methods

Evidence strongly links the campaign to a Chinese nation-state actor. The attackers used Chinese-based services and infrastructure, including the AI models DeepSeek and Kimi, and the Claude Code tool, suggesting AI-assisted post-exploitation activity. The level of preparation, precise targeting of government systems, and use of a previously unseen exploit chain point to capabilities beyond those of opportunistic cybercriminals.

This activity aligns with that of known Chinese APT groups, such as Warp Panda, which was documented exploiting a VMware ESX zero-day earlier in 2026. The use of FOFA, a Chinese counterpart to the Shodan search engine, for target identification further supports the attribution. The operation's sophistication indicates advanced preparation specifically for breaching these strategic network devices.

Response and context

The US Cybersecurity and Infrastructure Security Agency moved swiftly following the disclosures. It added the Fragnesia vulnerability (CVE-2026-46300) to its Known Exploited Vulnerabilities catalog on October 30, 2026, mandating federal agencies to address it by October 31 and conduct forensic triage. This followed a similar action days earlier for a related VMware flaw.

Palo Alto Networks updated its PHP2Shell advisory to confirm active exploitation targeting internet-exposed management interfaces. Industry tracking showed exploit attempts scaling rapidly from thousands to hundreds of thousands within hours of public disclosure. Security researcher Kevin Beaumont separately confirmed awareness of both a ransomware group and a Chinese state group exploiting PHP2Shell, the latter for espionage against the US government. The breach shows the acute risk following the disclosure of the two critical PHP vulnerabilities, each rated 9.2 in severity. In a related threat landscape development, Cisco also confirmed exploitation of a separate critical flaw, CVE-2026-76418, which allows unauthenticated remote attackers to crash firewalls via crafted SSL VPN requests.

The endgame for such intrusions typically involves persistent access and credential theft, though actors could also deploy backdoors or exfiltrate sensitive information. Dream researchers identified the core technical achievement as the two-stage chain that combined the initial PHP2Shell exploit with the Fragnesia local privilege escalation vulnerability.

Related coverage

More from Incidents