PHP2Shell flaws exploited against servers, firewalls and gateways
php2shell-exploitation / README.md
Read itEach line of main (version 4) with the version that last wrote it. 47 of 114 lines are new or rewritten in version 4.
AI-generated summary. May contain factual errors. Check the linked sources. Report an error.
README.md › What happened
v129 October 2026
v425 November 2026
- On 26 October 2026, the U.S.
v129 October 2026
- Cybersecurity and Infrastructure Security Agency (CISA) added them to its Known Exploited Vulnerabilities catalog.1
v425 November 2026
- Dream, in a post dated 26 October 2026 and updated 29 October 2026, says an attacker chained PHP2Shell with the Linux kernel flaw CVE-2026-46300 to root 25 PAN-OS firewalls and management servers, three of them in a U.S. government-affiliated environment.34
- Palo Alto Networks' bulletin, published on 24–25 November 2026, confirms exploitation of CVE-2026-46300 against management interfaces exposed to the internet, and Check Point Research reports a separate campaign against its gateways from 30 October 2026.56
README.md › Where it stands
v425 November 2026
- Palo Alto's bulletin PAN-SA-2026-0015 confirms the kernel step of the chain, and Dream says Palo Alto's Unit 42 has independently verified the attacker's tooling and the results it reported.53
- CISA has listed both PHP2Shell flaws as exploited, and Perplexity's detection lead reports remote code execution against honeypot systems.1
- Dream did not name the government-affiliated organization, could not determine the full extent of the compromise, and said it is working with the vendor and relevant authorities; CISA declined to comment on the Dream report.47
- Check Point Research's report on its gateway campaign mentions Dream's research only as a possible motive and does not establish a link to the PAN-OS campaign.6
README.md › Exploitation, patches and listings
v129 October 2026
- CVE-2026-109618 and CVE-2026-109619 are each rated 9.2 on CVSS and allow unauthenticated remote code execution.1
- Perplexity's detection and response lead, Adel Karimi, reported remote code execution against honeypot systems on 24 October 2026.1
- Karimi said the honeypot response included an 800 KiB decoded cookie dump.1
- GreyNoise said it has seen at least six successful exploitations of the two flaws.7
v330 October 2026
- Defiant says it was not aware of any WordPress site compromised via PHP2Shell exploitation as of 28 October 2026, though it recorded over 77,000 related requests from more than 2,000 IP addresses.8
- Defiant says the exploits often need to be adjusted to work on targeted servers, depending on ASLR, PHP build, running extensions, memory limits and request handling.8
- WatchTowr says it has observed successful PHP2Shell exploitation from a single IP address in Germany, which ran a simple curl command and stopped there.8
- Cato Networks says roughly 96% of the attacks it blocked targeted CVE-2026-109618, and 41% of them attempted remote code execution.8
v425 November 2026
- The PHP Foundation released fixed PHP versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on 21 October 2026.1
- CISA added CVE-2026-46300, the Linux kernel flaw known as Fragnesia, to its catalog on 28 October 2026, with fixes due by 31 October 2026.92
- CISA ordered civilian federal agencies to fix their systems within three days, TechCrunch reports.10
- According to CSO Online, the Fragnesia fix is not included in the Dirty Frag patches.11
- The Hacker News reports that Palo Alto said on 28 October 2026 that active exploitation had been observed against internet-exposed management interfaces. This statement is reported, not verified: the earliest Palo Alto document checked is its bulletin published 24–25 November 2026.25
- Dark Reading reports that PHP's 19 November 2026 security release fixed seven flaws rated critical, and that PHP's maintainers say they require non-default configurations or uncommon setups.12
- Dark Reading reports that Upwind's analysis says two of the new flaws cover cases the October fix for CVE-2026-109619 did not, and a third became remotely reachable through a change made in PHP 8.5.12. These November flaws are treated here as separate issues from PHP2Shell.12
README.md › What Palo Alto says
v229 October 2026
- Palo Alto says the issue strictly affects the management web interface, including the HTTPS web UI and XML API service.2
- Palo Alto says the risk is highest when management access is allowed from external IP addresses on the internet.2
- Palo Alto says customers who applied the available patches are not affected.2
- Palo Alto says that customers with Frontier Virtual Patching on PAN-OS 12.2.4 and later received advance coverage through Threat ID 543004, released at 10:21 PM PT on 20 October 2026.2
- Palo Alto says less than.01% of its global installed base has internet-facing management interfaces configured.2
- For some PAN-OS versions no fix was available when the advisory was updated, so Palo Alto recommended mitigations such as routing management traffic through a data-plane interface.2
v330 October 2026
- Palo Alto says approximately.02% of its global installed base has internet-facing management interfaces configured and was impacted by the campaign.813
- Palo Alto says patches resolving the PHP2Shell flaws are available for PAN-OS 12.2, 12.1, 11.2, 11.1 and 10.2 on PA-Series and VM-Series firewalls and on Panorama.8
- Palo Alto's Unit 42 says it has independently verified the same attacker's tooling and confirmed the results Dream reported.813
v425 November 2026
- Palo Alto's bulletin PAN-SA-2026-0015 says exploitation of the Fragnesia kernel flaw, CVE-2026-46300, has been observed against its management interface exposed to the internet, and that all observed exploitation targeted devices with that exposure.5
- The bulletin says the only known way to exploit CVE-2026-46300 requires first exploiting PHP2Shell through an internet-exposed management interface, and that Palo Alto knows of no other method.5
- The bulletin lists fixed builds of CVE-2026-46300 for PAN-OS branches 10.2, 11.1, 11.2, 12.1 and 12.2.5
README.md › The reported firewall campaign
v229 October 2026
- Dream says the attacker used FOFA, a search engine similar to Shodan, to find about 19,000 internet-facing firewalls, then narrowed them to 240 targets.47
- Dream says the attacker paired PHP2Shell with the Fragnesia Linux kernel privilege escalation flaw to gain root access.4
- For 22 of the 24 firewalls Dream describes, the attacker only planted webshells for later access.7
v330 October 2026
v425 November 2026
v330 October 2026
- Dream says both exploits run in a single HTTP request, and the chain from an unauthenticated connection to a persistent root webshell completes in under 15 minutes.1311
- Dream says the third government server centrally managed all of the government organization's firewalls, so compromising it gave access to every managed firewall's configuration, credentials and network settings.13
v425 November 2026
- Dream says its researchers recovered artifacts of the campaign on 25 October 2026, including a custom, non-public PHP2Shell build that is not a copy of any known public exploit.3
- Dream says a reverse SSH tunnel from a compromised government firewall reached domain controllers, the firewall management server and GlobalProtect infrastructure.3
- Dream says the attacker used the management server to decrypt an LDAP service account password, list every user and group in the domain, and try a password spray and backdoor account creation.3
- Dream says Unit 42 tracks the activity as CL-UNK-1280 and attributes it to a Chinese-speaking attacker in the UTC+8 time zone, while Dream names no actor itself.3
- Dream's indicators of a Chinese-nexus operation include the four target countries, the FOFA service, DeepSeek and Kimi models configured in an AI tool, and UTC+8 timestamps.3
README.md › The Check Point gateway attacks
v425 November 2026
- Check Point Research says that from 30 October 2026 an attacker targeted unpatched Check Point Security Gateways, starting with Israeli organizations that used vulnerable Mobile Access portals.6
- Check Point says the attacker used PHP2Shell for initial access, then exploited CVE-2026-123039, a local privilege-escalation flaw in the DynamicCLI interface, to reach root.6
- Check Point says the attacker then deployed PHP webshells, the TSGA backdoor and its TSProxy component, and used SSH to move to a VMware ESXi host using the vpxuser account.6
- Check Point says the destroy_v6 wiper deletes files regardless of extension, overwrites them with zeros by default, and leaves a DREAM_ANNEXATION.txt note in each directory it processes.6
- Check Point says TSGA and TSProxy are modified variants of PhiliKit, a toolkit that ESET associated with the China-nexus group UNC5221.6
- Check Point says a second wave on 2 November 2026 reached organizations in several countries and sectors, with no destructive activity seen.6
- Check Point says it cannot assess the operation's true nature with high confidence, and lists the actor running the whole campaign, an initial access broker, a false flag or a smoke screen as plausible.6
- Check Point says the wiper note uses the Dream Security brand, and that this timing raises the possibility of retaliation but does not establish a clear motive.6
README.md › Who was hurt
v129 October 2026
v330 October 2026
- Many websites were taken down, including some government and enterprise sites, while emergency fixes were applied.1311
- Dream says the attacker could use the third server's connectivity to Active Directory to steal data such as credentials, though the full extent of the accessed data cannot be determined.13
README.md › What is unconfirmed
v425 November 2026
v229 October 2026
- Whether the attacker obtained valid credentials is unclear: one article reports account credentials and private keys were obtained, while another says it is unclear whether valid credentials were found.74
- The attribution to a Chinese actor rests on Dream's reading of Chinese language use, known Chinese tools and Chinese AI models.7
v425 November 2026
- Dream says it has no direct evidence that AI tools wrote the exploit or the post-exploitation scripts, though their structure suggests AI-assisted development.3
- Dream says only one of the 11 version profiles it recovered was calibrated against a running system; the other 10 were calculated from binaries without being checked on a live instance.3
v229 October 2026
v330 October 2026
- Dream says it cannot determine whether the password spray, backdoor account creation or SAML key extraction succeeded.13
- CSO Online reports that Dream confirmed the attacker held a full Active Directory user group listing and decrypted service account credentials, while Infosecurity Magazine quotes Dream as unable to determine whether some of the follow-on attacks succeeded.1113
- Securonix's Aaron Beardslee says attribution of the campaign is 'openly contested'.11
- Palo Alto's share of affected installed base is reported as less than.01% in one article and as approximately.02% in two others.2813
- Palo Alto's telemetry counts over 22.6 million exposed PHP instances as of 29 October 2026, against Censys's estimate of more than 32.51 million; both measure exposure, not compromise.81
v425 November 2026
- Check Point does not say how many organizations or devices its gateway campaign reached.6
- The bulletin's publication date is 24 or 25 November 2026: its header says 25 November and its timeline says 24 November.5
- The Palo Alto PHP2Shell advisory and its 28 October 2026 update were not among the pages checked for this version, so claims attributed to them rest on The Hacker News.2
README.md › Where sources disagree
v129 October 2026
- The State espionage framing argues the operation is aimed at U.S. government systems, pointing to three servers in a government-affiliated environment that the attacker focused on after mass scanning.94
- The State espionage framing argues the infrastructure points to a Chinese-linked operator, citing Claude Code, FOFA API keys and an AI platform configured with DeepSeek and Kimi models.4
- The Limited exploitation framing argues that most exploitation needs customized code, as dozens of experts have said custom work will be necessary for most exploitation of the PHP bugs.7
- The Limited exploitation framing argues the reported reach is small: 22 of 24 firewalls were left with planted webshells, and only one target's servers went past the initial stage.7
- The Limited exploitation framing argues the public proof of concept is not usable as is: a forum member quoted by Flare says it needs offsets from libphp.so that differ for every build.4
README.md › Timeline
v129 October 2026
- 2026-10-20: Palo Alto releases advance protection for PAN-OS 12.2.4 and later through Threat ID 543004, at 10:21 PM PT.2
- 2026-10-21: The PHP Foundation releases PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 with fixes for the flaws.1
- 2026-10-23: According to Dream, the attacker roots the first of the government-affiliated servers at 6:14 p.m. UTC.4
- 2026-10-24: According to Dream, the attacker roots a second government-affiliated server at 10:09 a.m. UTC.4
- 2026-10-24: According to Dream, a third government server is compromised through a reverse SSH tunnel at 11:35 a.m. UTC.4
- 2026-10-24: Perplexity's Adel Karimi reports remote code execution against honeypot systems.1
- 2026-10-26: CISA adds CVE-2026-109618 and CVE-2026-109619 to its Known Exploited Vulnerabilities catalog.1
- 2026-10-28: Dream's campaign report is published and reported in the press.4
- 2026-10-28: Palo Alto updates its advisory to say active exploitation has been observed against internet-exposed management interfaces.2
- 2026-10-28: CISA adds CVE-2026-46300 (Fragnesia) to its catalog, with fixes due by 31 October 2026.92
- 2026-10-29: Recorded Future News reports GreyNoise's six successful exploitations and Dream's account of the campaign.7
v330 October 2026
v425 November 2026
- 2026-10-25: Dream says its researchers recovered artifacts of the campaign.3
- 2026-10-26: Dream dates its post on the 25-server campaign, which it updates on 29 October 2026.3
- 2026-10-30: Check Point Research says its gateway campaign begins, with a first wave against Israeli organizations.6
- 2026-11-02: Check Point says a second wave targets organizations in several countries and sectors.6
- 2026-11-12: Check Point Research publishes its report on the gateway attacks.6
- 2026-11-24: Palo Alto publishes bulletin PAN-SA-2026-0015 on CVE-2026-46300 (Fragnesia); the page header gives 25 November.5
README.md › Open questions
v330 October 2026
v129 October 2026
- Is a ransomware group using PHP2Shell against Palo Alto firewalls? Kevin Beaumont says he is aware of one, but no source gives evidence for it.9
- Did the attacker obtain valid credentials or create backdoor accounts? The articles disagree on credentials, and it is unclear whether backdoor accounts were created.74
v330 October 2026
- Answered: When did the campaign take place? One article says Dream observed the activity on 25 October 2026, while its own timeline gives 23 and 24 October.4
v129 October 2026
- Were the 22 other firewalls with planted webshells cleaned up? Dream said they remained parked with active webshells, and no source reports their status since.4
v330 October 2026
- Answered: Does the exploit work beyond the tested setup? Perplexity's test covered one profile, and the sources do not show reliability on other builds.1
v129 October 2026
v330 October 2026
v425 November 2026
- Who ran the Check Point gateway campaign, and is it linked to the PAN-OS campaign? Check Point cannot assess the operation's true nature with high confidence, and the evidence does not establish a link.6
- How many organizations and devices did the Check Point gateway campaign reach? Check Point gives no count.6
- Have any of the seven critical PHP flaws in the 19 November 2026 release been exploited? Dark Reading does not say.12
Sources cited
- The Hacker News · CISA Confirms Active Exploitation of Two PHP2Shell Flaws Enabling Remote Code Execution · Ravie Lakshmanan · 27 October 2026
The evidence demonstrates this chain on the intentionally favorable single-worker mod_php profile; it is not a measurement of exploit reliability on other worker counts, PHP builds, or applications.
1234567891011121314 - The Hacker News · Attackers Exploit PHP2Shell Flaws in Internet-Exposed Palo Alto Networks Management Interfaces · 29 October 2026
Active exploitation has been observed targeting the Palo Alto Networks management interface exposed to the internet
1234567891011121314151617 - Dream · Chained PHP2Shell Exploit Roots 25 Servers | Dream Research · Dream Research · 26 October 2026
On October 25, Dream researchers uncovered artifacts of what appeared to be a Chinese AI-assisted campaign that rooted 25 servers, including systems in a US government-affiliated environment.
12345678910111213 - The Hacker News · PHP2Shell Attack Roots 25 Servers, Breaches U.S. Government-Affiliated Network · Ravie Lakshmanan · 28 October 2026
The name of the affected vendor was not disclosed, but the Israeli company said it notified the entity.
1234567891011121314151617181920 - Palo Alto Networks Product Security Assurance · PAN-SA-2026-0015 Security Bulletin: OSS CVEs Fixed in PAN-OS · PAN PSIRT · 25 November 2026
Exploitation of CVE-2026-46300 has been observed targeting the Palo Alto Networks management interface exposed to the internet.
12345678 - Check Point Research · PHP2Shell Exploitation on Check Point Gateway - Check Point Research · 12 November 2026
Taken together, the evidence does not allow us to assess with high confidence the true nature of this operation.
1234567891011121314151617 - The Record · Limited reports of PHP bug exploitation emerge · Jonathan Greig · 29 October 2026
Cybersecurity firm GreyNoise said it has seen at least six successful exploitations of CVE-2026-109618 and CVE-2026-109619, colloquially known as “PHP2Shell.”
1234567891011121314 - SecurityWeek · PHP2Shell Attacks Root Palo Alto Firewalls but Fail Against WordPress · 30 October 2026
Standing out are Palo Alto Networks firewalls, which have been rooted by a China-linked hacking group in attacks chaining PHP2Shell with the Fragnesia kernel privilege escalation bug.
1234567891011 - Help Net Security · Chinese hackers used VMware ESX zero-day; PHP2Shell and Fragnesia chained to root firewalls · 29 October 2026
Dream did not name the maker of the rooted firewalls.
12345 - TechCrunch · US government says hackers are now exploiting critical PHP web bugs · Zack Whittaker · 27 October 2026
U.S. cybersecurity agency CISA has confirmed that hackers are now actively exploiting a pair of critical security vulnerabilities in the widely used PHP web software
- CSO Online · PHP2Shell plus Fragnesia: A dangerous new route from web server to root · 30 October 2026
The Dream researchers noted that the breach did not appear to be a fully autonomous nation-state attack, but did include some AI-assisted tooling like Claude Code
12345 - Dark Reading · Critical PHP Flaws Allow Code Execution, But Don't Panic 'PHP2Shell'-Style · Alexander Culafi · 19 November 2026
PHP ties CVE-2026-129481 and CVE-2026-129182 to cases the October fix for CVE-2026-109619 did not cover,
123 - Infosecurity Magazine · Chinese Actor Compromises US Government Network Via Chained PHP2Shell Exploit · 30 October 2026
There was a particular focus on three specific servers in a US government-affiliated environment, resulting in persistent access to a US government organization's internal Active Directory domain.
1234567891011121314