Dream: China-linked attacker chained PHP2Shell with a Linux kernel flaw to root 25 PAN-OS firewalls
Dream Research says it found artifacts of a campaign, which appears to be Chinese and AI-assisted, that rooted 25 Palo Alto Networks PAN-OS firewall and management servers in the US, Japan, Taiwan and South Korea. The attacker chained a custom PHP2Shell exploit with the Fragnesia Linux kernel flaw (CVE-2026-46300) in a single unauthenticated request, then went after a US government-affiliated Active Directory domain.
Dream found the artifacts on October 25: a custom, non-public build of the PHP2Shell chain (CVE-2026-109618 and CVE-2026-109619) tuned to the PAN-OS management web server, which also fronts the GlobalProtect portal, plus the Fragnesia exploit, target lists, exploitation logs and about 40 post-exploitation scripts. PHP2Shell gives code execution as the nobody user, and because SELinux confines that user, the attacker added Fragnesia, a kernel bug in the XFRM ESP-in-TCP code, which overwrites the su PAM file in the page cache so that su root succeeds without a password. Dream says the whole chain runs in one HTTP request and takes under 15 minutes from an unauthenticated connection to a persistent root webshell.
The attacker had version profiles for 11 PAN-OS builds, only one fully calibrated in a lab. Starting from about 19,000 internet-facing PAN-OS devices found through the Chinese search engine FOFA, about 5,000 answered a version scan, 240 matched the targeted countries and the PAN-OS 12.1 and 12.2 builds with an exploitable PHP version, and an automated runner rooted 24, with Dream counting 25 rooted servers in all. The attacker then focused on three servers in a US government-affiliated environment, extracted credentials and enumerated Active Directory.
Dream saw Claude Code installed, an AI offensive-security platform called aiscan configured with the Chinese models DeepSeek and Kimi, and FOFA API keys. It has no direct evidence that AI wrote the exploit or scripts, though their structure and consistency suggest AI-assisted development, and it says the operation does not look like a fully autonomous attack. Dream says Palo Alto Networks' Unit 42 independently verified the tooling and results, and that Palo Alto is releasing fixed PAN-OS versions across the affected branches.
CISA added the Fragnesia flaw, CVE-2026-46300, to its Known Exploited Vulnerabilities catalog on October 28 with a federal due date of October 31.