Attackers turned PHP2Shell break-ins into root on 24 firewalls with an old Linux bug. Boot a fixed kernel by Saturday

By George Bailey   Published: 10/29/26   6 min read

We flagged PHP2Shell on Tuesday as the PHP bug that hands attackers a shell. A new report shows what one group did next. It paired PHP2Shell with Fragnesia, a Linux kernel bug from May, and turned a low-privileged web process into root on 24 internet-facing firewalls.

Get the CyberExperts Daily Brief: the day's top security news in 5 minutes. Free.

CISA added Fragnesia to its exploited list on Wednesday and gave federal agencies until Saturday, October 31, to fix it. That is three days, and CISA also wants them to check for a break-in, not just patch.

PHP2Shell got the attackers in as “nobody.” A five-month-old Linux kernel bug, Fragnesia, made them root on 24 firewalls. CISA wants it fixed by Saturday.

CISA lists Fragnesia after it finished a PHP2Shell break-in

On October 28 CISA added CVE-2026-46300, the Linux kernel flaw known as Fragnesia, to the Known Exploited Vulnerabilities catalog. The due date for federal civilian agencies is October 31, and the catalog marks it for forensic triage. CISA’s entry says it can be chained with the two PHP2Shell flaws, CVE-2026-109618 and CVE-2026-109619, “to implant PHP webshells and run commands as root.”

The chain comes from Dream Research. In a report dated October 26, Dream says an operator it links to China used the FOFA search engine to find about 19,000 internet-facing firewalls from one large vendor, narrowed them to 240 targets in the US, Japan, Taiwan and South Korea, and rooted 24 of them on October 23 and 24 with a single unauthenticated HTTPS request each. A 25th server, the firewall management system of a US government-affiliated organization, fell next, and the attacker moved on to its Active Directory. Dream did not name the vendor.

Fragnesia itself is old news to kernel teams. It was disclosed with a public exploit on May 13, and fixed stable kernels and distribution packages followed within weeks.

Linux servers and appliances that run PHP on an old kernel

Fragnesia is a local bug: it needs code already running on the machine. PHP2Shell, or any web shell, stolen SSH login or compromised build job, supplies that. On the firewalls, PHP ran as nobody and SELinux stopped it from editing system files. Fragnesia went around that by writing into the kernel’s in-memory copy of /etc/pam.d/su so that su root accepted any password.

Two groups are exposed. The first is any Linux server that runs PHP or other internet-facing code on a kernel without the May fix. The second is harder to fix: firewalls, VPNs and storage boxes whose web interface runs PHP on Linux, where you cannot install a kernel yourself and the vendor has to ship firmware. The firewalls Dream describes ran PHP 8.0.30 on their management server.

Boot a fixed kernel, but check memory before the reboot

Forward this

For whoever runs our Linux servers and our firewalls: attackers chained the PHP2Shell bug with a Linux kernel flaw called Fragnesia to take full control of 24 firewalls, and CISA wants it fixed by October 31. Can we confirm every Linux server is booted into a fixed kernel, ask our firewall and VPN vendors in writing whether their firmware has the fix, and keep their management pages off the internet until then?

Details

Hunt / verify

Source: CISA KEV addition, October 28; Dream Research: the PHP2Shell and Fragnesia chain

Sources

George Bailey

George Bailey is the byline of the CyberExperts editorial desk, the team behind the CyberExperts Daily Brief. The desk covers vulnerabilities, breaches and security news from vendor advisories, CISA alerts and other primary sources, and links those sources in every story. Questions or corrections: [email protected].