
Executive Summary
In a sophisticated cyber operation, a group of hackers linked to China has been exploiting vulnerabilities in PHP2Shell to gain root access to firewalls, thereby deploying web shells for persistent access. This incident highlights the ongoing threat posed by state-aligned cyber operations, particularly against strategic adversaries in the Pacific region.
What Happened
Cybersecurity firm Dream has reported that attackers successfully exploited two vulnerabilities in PHP, tracked as CVE-2026-109618 and CVE-2026-109619, alongside a privilege escalation flaw in the Linux kernel known as Fragnesia (CVE-2026-46300). The attackers utilized the Chinese internet asset search engine FOFA to identify approximately 19,000 internet-facing firewalls from a specific vendor, ultimately targeting 25 of these devices between October 23 and 24.
Initially, the attackers filtered their targets to focus on servers located in the U.S., Japan, Taiwan, and South Korea, particularly those running newer PHP versions. This filtering process narrowed their potential targets down to 240 firewalls. Using automated tools, they executed the PHP2Shell-Fragnesia exploit chain, successfully deploying a PHP root web shell on 24 devices to maintain access.
While most of the exploited firewalls showed no signs of post-exploitation activity, two servers affiliated with a U.S. government organization were compromised. The first server crashed shortly after the attack, prompting the attackers to launch a second wave against another firewall, which successfully connected back to the attackers.
Technical Root Cause
The vulnerabilities exploited in this attack stem from flaws in the PHP programming language, specifically in the PHP2Shell framework. The attackers leveraged these weaknesses to gain root access to firewalls, allowing them to deploy malicious web shells. The Fragnesia vulnerability further enabled privilege escalation within the Linux kernel, facilitating deeper access into the targeted systems.
These vulnerabilities underscore the critical need for organizations to maintain updated software and to implement robust security measures to defend against such sophisticated attacks.
Exposure and Affected Environments
The primary targets of this attack were firewalls from a specific vendor that were exposed to the internet. The attackers focused on environments likely to yield sensitive information, particularly those associated with U.S. government operations. The compromised servers allowed the attackers to access configurations, credentials, and settings of all firewalls managed by the organization.
While the exact number of affected environments remains undisclosed, the incident serves as a stark reminder of the vulnerabilities present in widely used software and the potential consequences of exploitation.
Patch and Mitigation Playbook
Organizations should take immediate action to mitigate the risks associated with the PHP2Shell and Fragnesia vulnerabilities:
- Update Software: Ensure that all PHP installations are updated to the latest versions that patch known vulnerabilities.
- Firewall Configuration: Review and harden firewall configurations to limit exposure to the internet.
- Monitor Network Traffic: Implement robust monitoring solutions to detect unusual activity or unauthorized access attempts.
- Incident Response Plan: Develop and regularly update an incident response plan to address potential breaches effectively.
Security Program Lessons Learned
This incident highlights several critical lessons for cybersecurity programs:
- Proactive Vulnerability Management: Regularly assess and patch vulnerabilities in software and systems to reduce the attack surface.
- Threat Intelligence Utilization: Leverage threat intelligence to stay informed about emerging threats and vulnerabilities.
- Collaboration and Information Sharing: Engage in information sharing with industry peers and government agencies to enhance collective security efforts.
“The sophistication of these attacks demonstrates the need for organizations to adopt a proactive security posture and continuously adapt to evolving threats.”
Sources
- China-Linked Hackers Exploit PHP2Shell to Root Firewalls
- Hackers Start Probing Fresh Oracle EBS Vulnerability
- Long-Hidden Flaws Patched in EPICS Research Facility Control Software
Recent cyberattacks linked to Chinese threat actors have exploited PHP2Shell vulnerabilities to gain root access to firewalls, impacting U.S. government-affiliated servers.
internet asset search engine FOFA to identify approximately 19,000 internet-facing firewalls from a specific vendor, ultimately targeting 25 of these devices between October 23 and 24. Initially, the attackers filtered their targets to focus on servers located in the U.S., Japan, Taiwan, and South Korea, particularly those running newer PHP versions. This filtering process narrowed their potential targets down to 240 firewalls. Using automated tools, they executed the PHP2Shell-Fragnesia exploit chain, successfully deploying a PHP root web shell on 24 devices to maintain access. While most of the exploited firewalls
This report consolidates available public details and highlights where evidence is still limited, helping teams prioritize immediate defensive action while additional technical indicators are collected.
Operational Security Context
showed no signs of post-exploitation activity, two servers affiliated with a U.S. government organization were compromised. The first server crashed shortly after the attack, prompting the attackers to launch a second wave against another firewall, which successfully connected back to the attackers. Technical Root Cause The vulnerabilities exploited in this attack stem from flaws in the PHP programming language, specifically in the PHP2Shell framework. The attackers leveraged these weaknesses to gain root access to firewalls, allowing them to deploy malicious web shells. The Fragnesia vulnerability further enabled privilege escalation within
the Linux kernel, facilitating deeper access into the targeted systems. These vulnerabilities underscore the critical need for organizations to maintain updated software and to implement robust security measures to defend against such sophisticated attacks. Exposure and Affected Environments The primary targets of this attack were firewalls from a specific vendor that were exposed to the internet. The attackers focused on environments that were likely to yield sensitive information, particularly those associated with U.S. government operations. The compromised servers allowed the attackers to access configurations, credentials, and settings of all firewalls
Based on observed patterns in recent campaigns, the likely attacker objective is to establish durable access, exploit trust relationships, and later pivot toward higher-value systems. Where specific attribution or tooling data is absent, these details are not publicly disclosed and should be treated as unknown.
SOC Detection and Triage Workflow
managed by the organization. While the exact number of affected environments remains undisclosed, the incident serves as a stark reminder of the vulnerabilities present in widely used software and the potential consequences of exploitation. Patch and Mitigation Playbook Organizations should take immediate action to mitigate the risks associated with the PHP2Shell and Fragnesia vulnerabilities: Update Software: Ensure that all PHP installations are updated to the latest versions that patch known vulnerabilities. Firewall Configuration: Review and harden firewall configurations to limit exposure to the internet. Monitor Network Traffic: Implement robust monitoring
solutions to detect unusual activity or unauthorized access attempts. Incident Response Plan: Develop and regularly update an incident response plan to address potential breaches effectively. Security Program Lessons Learned This incident highlights several critical lessons for cybersecurity programs: Proactive Vulnerability Management: Regularly assess and patch vulnerabilities in software and systems to reduce the attack surface. Threat Intelligence Utilization: Leverage threat intelligence to stay informed about emerging threats and vulnerabilities. Collaboration and Information Sharing: Engage in information sharing with industry peers and government agencies to enhance collective security efforts. “The sophistication
of these attacks demonstrates the need for organizations to adopt a proactive security posture and continuously adapt to evolving threats.” Sources China-Linked Hackers Exploit PHP2Shell to Root Firewalls Hackers Start Probing Fresh Oracle EBS Vulnerability Long-Hidden Flaws Patched in EPICS Research Facility Control Software The attackers chained PHP2Shell and Fragnesia exploits and hacked two servers of a US government-affiliated organization. The post China-Linked Hackers Exploit PHP2Shell to Root Firewalls appeared first on SecurityWeek . FOFA to identify 19,000 internet-facing firewalls from a specific vendor, and proceeded to exploit 25 of
Security engineering teams should validate exploitability across environments, map exposure by asset criticality, and confirm whether available telemetry can detect pre-compromise reconnaissance, exploitation attempts, and post-exploitation behavior.
Engineering Remediation Checklist
them on October 23-24, Dream says . After discovery, the hackers first filtered servers in the US, Japan, Taiwan, and South Korea, then filtered those running newer PHP releases, which gave them a pool of 240 potential targets. Using an automated tool, the attackers then targeted the firewalls with the full PHP2Shell-Fragnesia exploit chain, dropping a PHP root webshell on 24 devices for persistent access. While no post-exploitation activity was observed on 22 of This report consolidates available public details and highlights where evidence is still limited, helping teams prioritize
Organizations with internet-facing systems, third-party integrations, or delayed patch cycles generally carry elevated risk. Internal segmentation gaps can increase blast radius if an attacker obtains initial foothold credentials.
Detection and Monitoring Priorities
- Correlate authentication anomalies with unusual process execution and outbound traffic spikes.
- Alert on privilege escalation events, lateral movement indicators, and unauthorized persistence changes.
- Prioritize monitoring of externally exposed services and high-value identity providers.
- Track integrity changes in scripts, scheduled tasks, startup items, and critical configuration files.
- Hunt for command-and-control beaconing patterns and suspicious use of remote administration tools.
Detection coverage should be validated through tabletop simulation or controlled testing to ensure response teams receive actionable, high-confidence alerts quickly.
Mitigation Checklist
- Patch affected services and validate version levels across all environments.
- Restrict exposed management and service ports to trusted networks only.
- Enable detailed logging and alerting for suspicious process or network activity.
- Harden endpoint controls and isolate high-risk systems until remediation completes.
- Conduct post-remediation validation and document residual risk.
Mitigations should be sequenced by risk: immediately reduce exposed attack surface, then remove persistence opportunities, and finally harden architecture to prevent recurrence.
Incident Response and Recovery Planning
- Establish a clear incident commander and communication cadence across security, IT, and leadership.
- Capture and preserve relevant logs and forensic artifacts before major containment changes.
- Contain compromised accounts and hosts, then execute structured eradication with validation checkpoints.
- Document lessons learned and implement control improvements with owner accountability and timelines.
Recovery should include business continuity planning, legal or regulatory assessment where required, and transparent stakeholder updates based on verified facts.
Validation and Follow-through
immediate defensive action while additional technical indicators are collected. the firewalls, the hackers did progress further on two servers belonging to a US government-affiliated environment. Advertisement. Scroll to continue reading. The first rooted server crashed shortly after exploitation, on October 23. The attacker launched a second wave of attacks on October 24, which was successful. “The attacker monitored [the first firewall] with 240 automated probes over two hours, waiting for it to recover. It didn’t. The second firewall, whose certificate data definitively linked it to the target organization, had timed
out during the original batch,” Dream notes. To maintain access to the firewall, the attackers deployed a reverse SSH tunnel and then used it to target an internal firewall management server with the PHP2Shell-Fragnesia chain, gaining access to the configurations, credentials and settings of every firewall the organization managed. The hackers then used the management server to access and decrypt the LDAP service account password, enumerate users and groups in the domain, perform password spraying attacks, and attempt to create Active Directory backdoor accounts, among others. Dream has not attributed
Security leaders should align technical remediation with stakeholder communication, incident readiness, and continuous monitoring to reduce repeat exposure.