
A PHP CGI Vulnerability Scanner for CVE-2024-4577

PHP CGI Scanner is a Python 3 utility designed to help identify
systems potentially exposed to
CVE-2024-4577.
It checks for visible PHP versions, common CGI endpoints, and phpinfo
outputs to provide a quick risk assessment.
Disclaimer: This tool is for authorized security testing only. Use responsibly.
Clone the repository and install dependencies:
git clone https://github.com/yourusername/PHPCGIScanner.git
cd PHPCGIScanner
pip install -r requirements.txt
python3 PHPCGIScanner.py <target>
Example:
python3 PHPCGIScanner.py http://example.com
python3 PHPCGIScanner.py <target> --phpinfo-url http://example.com/phpinfo.php
python3 PHPCGIScanner.py <target> --insecure
MIT License. See LICENSE file for details.