Chained PHP2Shell Exploit Roots 25 Servers, Including US Government Systems

Chained PHP2Shell Exploit Roots 25 Servers, Including US Government Servers

Chained PHP2Shell Exploit Roots 25 Servers, Including US Government Systems

Dream researchers uncovered a Chinese AI-assisted campaign that chained the PHP2Shell exploit (CVE-2026-109618/109619) with the Fragnesia kernel privilege escalation (CVE-2026-46300) to gain root on 25 firewalls across the US, Japan, Taiwan, and South Korea. Starting from roughly 19,000 internet-exposed devices found via FOFA, the attacker narrowed to 240 targets and rooted 24 in an automated batch. Two belonged to a US government-affiliated organization; from one, the attacker tunneled into the internal network, compromised a central firewall management server, and launched Active Directory attacks.

The total chain — from unauthenticated HTTPS connection to persistent root webshell — completes in under 15 minutes.
  1. jakobdabo

    > the attacker chained in a second exploit: a Linux kernel vulnerability in the XFRM ESP-in-TCP subsystem

    Linux seems to have a huge attack surface that doesn't necessarily need to be there for every user/server.

    E.g. this came out today: CVE-2026-98432: Linux TCP Use-After-Free Risk and Patch Validation [1].

    I just disabled mptcp on my systems since I don't use it. Why was it enabled by default?

    Can I disable this XFRM thing too?

    [1] https://www.penligent.ai/hackinglabs/cve-2026-98432/

  2. fierycatnet

    That's wild, I remember in early 2000s it was super easy to upload a PHP file with a shell. Back when hostings were shared, one shell could get you access to the whole host.

  3. athrowaway3z

    > A1 — Memory Exhaustion (~383MB):

    I'm actually somewhat surprised at the clumsiness here.

    I'm a complete amateur that had DeepSeek build a PHP2Shell exploit, and once the stealmybitcoin site went up and set an upload limit, i had DeepSeek try to shrink/amplify it.

    DeepSeek couldn't find anything but a 2x reduction, but reading the report of how it was done - https://github.com/KillaBoi/StealMyBitcoin-PoC - I was somewhat surprised it didn't find it, and equally horrified at PHP allowing such a memory bomb of creating nested objects by parsing `f[0][x][x]...` from random requests.

    Point being; these aren't amateurs but i kind of expect most well funded pros to have found this method to avoid sending massive filenames and session progress data.

  4. colemannugent

    Reading this I'm almost certain the firewall vendor is Palo Alto Networks. They included a PAN-OS setting verbatim and the SELinux config matches my experience.

  5. xxmarkuski

    Dream is btw founded and led by Sebastian Kurz, who was head of the Austrian government. He had to step down because of a corruption scandal.

  6. tensegrist

    perhaps i was wrong

    https://news.ycombinator.com/item?id=50272530

  7. mentalgear

    Maybe we going to have to shut down the Internet soon. Maybe it won’t be such a bad thing to become more local and decentralized again.

  8. codegeek

    I am confused. Is this attack possible even after the PHP patches OR these servers just didn't patch ?

More from this day

2026-10-29