NewsCrawler.org

Chained PHP2Shell and kernel exploit roots 25 servers, including US government servers

Chained PHP2Shell and kernel exploit roots 25 servers, including US government servers
Operational timeline in ten steps across setup, exploitation, pivot and post-exploitation, from October 8 to October 24.
Attack path from the attacker across the internet to a firewall at the perimeter, through a tunnel to the firewall management server, and on to the domain controllers.
Image: dreamgroup.com

On October 25, Dream researchers uncovered artifacts of what appeared to be a Chinese AI-assisted campaign that rooted 25 servers in the United States, Japan, Taiwan and South Korea, including systems in a US government-affiliated environment. The attacker chained a custom PHP2Shell remote code execution exploit (CVE-2026-109618/CVE-2026-109619[1]) with a kernel privilege-escalation exploit named Fragnesia (CVE-2026-46300) to root firewalls from a large vendor through their exposed management interfaces; the vendor and the affected versions are not being disclosed, and the vendor has been notified. The recovered artifacts included target lists, exploitation logs, about 40 custom post-exploitation scripts and 11 JSON version profile files; after gaining root, the attacker extracted credentials and enumerated the directory in a US government organization's internal Active Directory domain. In the attack infrastructure the researchers found an installed Claude Code, an offensive security platform called aiscan configured with the Chinese LLMs DeepSeek and Kimi, and API keys for the reconnaissance platform FOFA[2]. They have no direct evidence that the AI tools wrote the exploit or the scripts, but the code structure, commenting style and consistency across roughly 40 scripts suggest AI-assisted development, and the operation does not appear to be a fully autonomous nation-state attack.

PHP2Shell abuses the session.upload_progress mechanism of PHP 8.0.30 on the firewall's appweb management server: four stages of memory manipulation leak the base address of libphp.so and end with a forged HashTable entry whose destructor points to PHP's system() function, so commands run as the nobody user. Because SELinux[3] confines the web server from modifying system files, code execution as nobody is not enough, so the chain adds Fragnesia, a Linux kernel vulnerability in the XFRM ESP-in-TCP subsystem, which overwrites /etc/pam.d/su with pam_permit.so through page-cache writes; the file is only 774 bytes and the exploit uses a per-byte splicing variant, after which su root succeeds without a password. Both exploits run in a single HTTP request, and the whole chain from an unauthenticated HTTPS connection to a persistent root webshell[4] takes under 15 minutes. The targeting funnel used FOFA to discover about 19,000 internet-facing firewalls with exposed management interfaces, fingerprinted versions with a 200-thread scanner that received responses from about 5,000 devices, filtered down to 240 firewalls in the four targeted countries running exploitable versions, and then ran automated exploitation. The researchers note that the United States, Japan, Taiwan and South Korea are the four primary strategic adversaries and intelligence targets for Chinese state-aligned cyber operations in the Pacific theater, which indicates potential nation-state efforts.

Read the original dreamgroup.comDiscussion

Discussion

Commenters question the decision not to disclose the vendor and the affected versions, and one guesses the firewall is from Palo Alto Networks based on a PAN-OS setting and the SELinux configuration. Others discuss the size of the Linux kernel's attack surface, asking why features like XFRM and MPTCP are enabled by default and whether the chain would still work on patched systems. One commenter notes that Dream is founded and led by Sebastian Kurz, who previously headed the Austrian government and stepped down over a corruption scandal.

Sources

  • dreamgroup.com

    Chained PHP2Shell exploit roots 25 servers, including US Government servers

    164 comments

  • KRGeekNews KO

    PHP2Shell 연쇄 공격으로 미국 정부 관련 서버 포함 25대의 루트 권한 탈취

    3 points1 comment

Published: First seen: Читать по-русски

Open as a page