What problem does it solve?
This Skill addresses the critical security risks associated with PHP deserialization, including the exploitation of Phar archives and POP (Plain Old PHP) chains, to identify and report vulnerabilities.
Core Features & Use Cases
- Vulnerability Identification: Detects
unserialize() and Phar:// wrapper usage, pinpointing potential entry points for attacks.
- POP Chain Analysis: Identifies and analyzes magic methods (like
__wakeup, __destruct) to construct potential POP chains for exploitation.
- Input Controllability Assessment: Traces data flow to determine if user-controlled input can reach deserialization sinks.
- Evidence Recording: Documents the evidence chain, controllability, and findings for detailed reporting.
- Use Case: Auditing a PHP application to find and report on deserialization vulnerabilities that could lead to Remote Code Execution (RCE) via POP chains.
Quick Start
Use the php-serialize-audit skill to audit the project for deserialization vulnerabilities and POP chain risks.