How ncsc-nl/php2shell works
This repository is an operational security advisory and reference inventory for two PHP vulnerabilities, not a runtime application. Its main user workflow is to identify potentially affected PHP software, consult patch and mitigation guidance, and monitor advisories and exploit activity. The inventory is maintained as SPDX data and can be rendered into alphabetized Markdown lists. The graph reflects documented capabilities and the sampled generator; detection and mitigation implementation details were not sampled.
Main entry points: README.md Vulnerability advisory · detection_mitigation Detection and mitigation · software Software inventory · PHP_Downstream_Inventory.spdx3.json SPDX inventory
Components 10
Security guidance
- Vulnerability advisory
README.md - Detection and mitigation
detection_mitigation - cPanel mitigation
detection_mitigation/cpanel/php2shell-mitigate.sh
Software inventory
- Software inventory
software - SPDX inventory
software/spdx/PHP_Downstream_Inventory.spdx3.json - Alphabetized lists
software
List generation
- List generator
tools/generate_software_list_from_spdx3.py
Other components
- Administrator
- PHP project
- Product vendors
Connections 10
- Administrator → Vulnerability advisory: consults
README.md - Vulnerability advisory → Software inventory: identify affected software
README.md - Vulnerability advisory → Detection and mitigation: consults mitigations
README.md - Detection and mitigation → cPanel mitigation: includes
README.md - PHP project → Vulnerability advisory: publishes fixes
README.md - Product vendors → Vulnerability advisory: provide backports
README.md - Vulnerability advisory → Administrator: recommends monitoring
README.md - SPDX inventory → List generator: provides inventory data
tools/generate_software_list_from_spdx3.py - List generator → Alphabetized lists: writes lists
tools/generate_software_list_from_spdx3.py - Software inventory → SPDX inventory: maintained in
README.md