Back to all lessons
Awareness Lessons
4 weeks ago

Decade-Old PHP2Shell Flaws Actively Exploited After Critical CVEs Disclosed

Written by AI from the linked story. Not reviewed by an editor. How this works

Two critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619) went undetected for over a decade before AI-assisted analysis by Wiz researchers finally surfaced them, highlighting how legacy codebases can harbor severe flaws for years without detection. The flaws allow unauthenticated remote code execution or server crashes, giving attackers a trivially accessible entry point with no credentials required. Both CVEs were quickly added to CISA's Known Exploited Vulnerabilities catalog, confirming active in-the-wild exploitation. This incident underscores the urgent need for proactive vulnerability discovery programs, rapid patch deployment pipelines, and continuous scanning of internet-facing assets running widely used runtimes like PHP.

Tactical Insight

Immediate actions

  • Apply the latest PHP patches or upgrade to a non-vulnerable version on all internet-facing servers immediately.
  • Add both CVEs to your internal vulnerability tracking system and cross-reference against your full asset inventory to identify all exposed instances.

Long-term improvements

  • Establish an SLA-driven emergency patching process that mandates critical vulnerability remediation within 24–72 hours of CISA KEV listing.
  • Adopt AI-assisted static analysis and software composition analysis (SCA) tools in your CI/CD pipeline to surface hidden vulnerabilities in open-source runtimes before deployment.
  • Maintain a continuously updated software bill of materials (SBOM) to instantly identify which systems are affected when a new CVE is disclosed.

Detection measures

  • Deploy a web application firewall (WAF) with rules targeting PHP2Shell exploitation patterns as a compensating control until patching is complete.
  • Enable detailed logging of PHP process execution and outbound connections on web servers, and alert on anomalous behavior indicative of remote code execution.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.