Back to all lessons
Awareness Lessons
2 days ago

Critical PHP and Node.js Runtime Vulnerabilities Actively Exploited in the Wild

PHP2Shell and Node2Shell represent critical runtime vulnerabilities in two of the most widely deployed web technologies, meaning a vast number of Linux servers and container images are potentially exposed. These flaws have been actively exploited and added to CISA's Known Exploited Vulnerabilities catalog, indicating real-world threat actors are already taking advantage of unpatched systems. The release of a free scanner by Insignary highlights that many organizations still lack adequate visibility into whether their environments are affected. This matters because undetected exposure in runtime environments can lead to full server compromise, data exfiltration, and lateral movement through containerized infrastructure.

Tactical Insight

Immediate actions

  • Run the Insignary-chk scanner (or equivalent tooling) against all Linux servers and container images to identify PHP2Shell and Node2Shell exposure today.
  • Apply vendor-supplied patches or upgrade PHP and Node.js to the latest secure versions on all affected systems without delay.
  • Cross-reference your asset inventory against CISA's Known Exploited Vulnerabilities catalog and treat any matches as a P1 remediation priority.

Long-term improvements

  • Establish a formal vulnerability management program with defined SLAs for patching critical vulnerabilities (e.g., 24–72 hours for CISA KEV entries).
  • Maintain a continuously updated software bill of materials (SBOM) for all container images and server workloads to accelerate future exposure assessments.
  • Integrate automated vulnerability scanning into CI/CD pipelines so vulnerable runtime components are caught before reaching production.

Detection measures

  • Deploy runtime threat detection (e.g., Falco, eBPF-based tools) on Linux hosts and containers to identify exploitation attempts or anomalous shell spawning behavior.
  • Ensure centralized logging captures PHP and Node.js process activity so that indicators of compromise can be detected and investigated promptly.

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.