How eness/php2shell-cve-2026-109618-cve-2026-109619-poc works
This repository is a php2shell security-research and mitigation toolkit: its principal runtime workflow builds a multipart request, sends it to a PHP target, and checks the response for evidence of command execution. Separate branches provide configuration, source-patch, and web-server/WAF mitigations. The PoC implementation is excerpted; mitigation relationships rely on README documentation, and the contents of mitigation files were not sampled.
Main entry points: poc_109618.py PoC client · README.md PHP configuration · run.sh Quick-fix script · session-upload-progress-counters.patch Session source patch
Components 12
Exploit research
- PoC client
poc_109618.py
PHP mitigations
- PHP configuration
README.md - Quick-fix script
quick-fix/run.sh - Session source patch
patch/session-upload-progress-counters.patch
Edge mitigations
- Cloudflare WAF rules
cloudflare-rule-fix/README.md - FrankenPHP config
frankenphp/Caddyfile-snippet - Lighttpd config
lighttpd/php2shell.conf - Apache ModSecurity
apache/modsecurity-php2shell.conf - Apache .htaccess
apache/.htaccess
Other components
- Security operator
- PHP target
- Command execution
Connections 11
- Security operator → PoC client: runs
README.md - PoC client → PHP target: sends request
poc_109618.py - PHP target → Command execution: may execute
README.md - Security operator → PHP configuration: applies setting
README.md - Security operator → Quick-fix script: runs mitigation
README.md - Security operator → Session source patch: applies patch
README.md - Security operator → Cloudflare WAF rules: configures rules
README.md - Security operator → FrankenPHP config: applies config
README.md - Security operator → Lighttpd config: applies config
README.md - Security operator → Apache ModSecurity: applies rules
README.md - Security operator → Apache .htaccess: applies rules
README.md