CODERED VTA

Palo Alto Firewalls Rooted as Attackers Chain PHP2Shell With Fragnesia Kernel Flaw

High
Cabling behind data centre racks
Photo by D Coetzee on Flickr

Palo Alto Networks has confirmed that attackers are using Fragnesia, a Linux kernel privilege escalation flaw tracked as CVE-2026-46300, to gain root on PAN-OS firewalls after breaking in through the PHP2Shell vulnerabilities. The flaw lets a locally authenticated, low-privileged user escalate to root, and the vendor's 25 November bulletin PAN-SA-2026-0015 states that exploitation has been observed against management interfaces exposed to the internet. Fixed builds are listed for every supported PAN-OS branch from 10.2 through 12.2, arriving roughly six months after the bug was patched upstream in Linux. Notably, the bulletin is labelled Informational and carries no CVSS score. PHP2Shell is the collective name for CVE-2026-109618 and CVE-2026-109619, two flaws in the PHP runtime behind the PAN-OS management web interface that the vendor rated 9.2 on CVSS 4.0 and that affect PA-Series and VM-Series firewalls as well as Panorama.

The attack chain is straightforward and has been public for roughly a month. Attackers first exploit PHP2Shell against the internet-facing management web interface to execute code as the web service account, then use the Fragnesia kernel flaw to escalate that foothold to root on the appliance. With full control of the firewall, the observed activity moved on to tunnelling into internal networks and harvesting credentials, private keys and network topology data from the compromised device. The kernel bug itself is not new — it was disclosed on 13 May alongside a proof-of-concept exploit and an upstream kernel patch, and Fedora shipped a fixed kernel the following day, meaning 195 days elapsed before PAN-OS builds carried the fix. Public exploit code for Fragnesia exists, including a Metasploit module, so any other code execution flaw reaching the appliance would make the kernel bug usable again even where PHP2Shell is closed. Palo Alto's position is that the October PHP2Shell hotfixes, released between 25 and 29 October, break the only known route to the kernel flaw, and that devices running a fixed PAN-OS listed in the CVE-2026-109618 advisory are protected.

All three CVEs in this chain are confirmed exploited in the wild. CISA added CVE-2026-109618 and CVE-2026-109619 to its Known Exploited Vulnerabilities catalog on 26 October, and CVE-2026-46300 followed on 28 October. FIRST EPSS currently places the probability of exploitation in the next 30 days at 45.1% for CVE-2026-109618, 20.8% for CVE-2026-109619 and 3.0% for CVE-2026-46300 — the lower figure for the kernel flaw reflecting that it is reached through a prior compromise rather than attacked directly. The wider pattern is what should concern defenders: in November, Check Point reported that roughly two dozen customers were hit when attackers chained PHP2Shell with a Gaia OS privilege escalation flaw to take over gateways and deploy a wiper, showing that the same web-shell-to-root recipe travels across vendors. Industry analysts quoted on the incident framed it as a trust model problem rather than a patching problem, arguing that a firewall running Linux, PHP and other third-party components deserves the same scrutiny as any privileged internet-facing server, and that a vendor label such as Informational should not override an enterprise's own risk analysis when flaws can be chained to root. The practical exposure is that a hotfix applied after the attack window does not retroactively establish trust in the appliance: where a device sat exposed and root compromise cannot be ruled out, administrative access, stored credentials, certificates and persistence mechanisms are all in question. Palo Alto declined to say why the kernel fix took six months to reach PAN-OS or whether Panorama is affected by the kernel issue, offering no further information beyond the advisory.

Attack Surface

Infrastructure, Web Application, Server OS, System Management Service

Tactics

Initial Access, Execution, Privilege Escalation, Credential Access, Discovery, Lateral Movement, Command and Control

Techniques

  • T1190 – Exploit Public-Facing Application
  • T1068 – Exploitation for Privilege Escalation
  • T1505.003 – Server Software Component: Web Shell
  • T1552.004 – Unsecured Credentials: Private Keys
  • T1572 – Protocol Tunneling
  • T1016 – System Network Configuration Discovery

SuperPRO's Threat Countermeasures Procedures

  1. Upgrade PAN-OS to a build listed as fixed in advisory PAN-SA-2026-0015, which covers every supported branch from 10.2 through 12.2 and is the first to carry the Fragnesia kernel fix for CVE-2026-46300; the October hotfixes do not include it.
  2. Verify the PHP2Shell hotfixes released between 25 and 29 October for CVE-2026-109618 and CVE-2026-109619 are installed on all PA-Series and VM-Series firewalls and on Panorama, since the vendor states that a fixed release listed in the CVE-2026-109618 advisory breaks the only known route to the kernel flaw.
  3. Remove the PAN-OS management interface from direct internet exposure and restrict it to trusted internal IP addresses, a jump host or an out-of-band management VLAN; the vendor confirms all observed attacks targeted devices with the management interface reachable from the internet.
  4. For any firewall whose management interface was internet-exposed before patching, rotate everything the appliance holds or can reach: local administrator passwords, API keys, SSH keys, device certificates and private keys, and LDAP or RADIUS bind credentials, as the observed activity stole credentials, private keys and network topology data.
  5. Hunt for post-root persistence on affected appliances by reviewing administrative account additions, configuration commits, scheduled jobs and filesystem changes made since 25 October, and reimage the device from a known-good PAN-OS build where root compromise cannot be excluded.
  6. Alert on outbound tunnelling or unexpected sessions originating from the firewall management plane towards internal hosts, since the attackers used root on the appliance as a pivot point into internal networks rather than as an end goal.
  7. Treat the publicly available Fragnesia proof-of-concept and Metasploit module as live tooling and build detection for local privilege escalation attempts launched from the PAN-OS web service account, because any future code execution flaw on the device would re-enable CVE-2026-46300 even with PHP2Shell patched.

Source

Code Red Cyber / VTA – coderedcyber.ai