Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-4577 PoC — Argument Injection in PHP-CGI

Source
Associated Vulnerability
Title: Argument Injection in PHP-CGI (CVE-2024-4577)
Description:In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to replace characters in command line given to Win32 API functions. PHP CGI module may misinterpret those characters as PHP options, which may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.
Description
php-cgi RCE快速检测
Readme
# CVE-2024-4577
php-cgi RCE快速检测
# Usage:
```cmd
python php-cgi.py target.csv --thread 20
```
csv文件为fofa导出文件格式,需要有以下列
![image](https://github.com/nemu1k5ma/CVE-2024-4577/assets/46486428/f5ae91f6-0993-4a08-a341-18960fcb7d78)

执行后文件将保存至result目录下,并使用国家进行分类
### * 仅用于学习交流及测试,请遵守当地法律规定,未经授权的测试行为所导致的结果与作者无关
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →