PHP Group PHP
Argument Injection in PHP-CGI
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.
Timeline
Days relative to CVE publicationFirst public PoC 2.6 days before publication; added to CISA KEV 3 days after publication. First PoC: TAM-K592/CVE-2024-4577 (created 7 Jun 2024, found by us: backfilled).
PoC repositories
Found on GitHub.64 PoCs · 15 pending · 17 informational · 8 suspicious or fake
PoCs 64
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| TAM-K592/CVE-2024-4577 | 7 Jun 2024 −2.6 d | backfilled | 75 | PoC |
| Ra1n-60W/CVE-2024-4577 | 7 Jun 2024 −2.4 d | backfilled | 0 | PoC |
| ohhhh693/CVE-2024-4577 | 7 Jun 2024 −2.4 d | backfilled | 0 | PoC |
| 11whoami99/CVE-2024-4577 | 7 Jun 2024 −2.4 d | backfilled | 43 | PoC |
| watchtowrlabs/CVE-2024-4577 | 7 Jun 2024 −2.4 d | backfilled | 326 | PoC |
| taida957789/CVE-2024-4577 | 7 Jun 2024 −2.4 d | backfilled | 1 | PoC via PoC Index |
| Sysc4ll3r/CVE-2024-4577 | 7 Jun 2024 −2.1 d | backfilled | 1 | Scanner |
| WanLiChangChengWanLiChang/CVE-2024-4577-RCE-EXP | 7 Jun 2024 −2.1 d | backfilled | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| BitMEXResearch/CVE-2024-4577 | 7 Jun 2024 −2 d | backfilled | 0 | PoC |
| Yukiioz/CVE-2024-4577 | 7 Jun 2024 −2 d | backfilled | 0 | PoC |
| eagerapps/CVE-2024-4577 | 7 Jun 2024 −2 d | backfilled | 0 | PoC |
| graphite-org/CVE-2024-4577 | 7 Jun 2024 −2 d | backfilled | 0 | PoC |
| manuelinfosec/CVE-2024-4577 | 8 Jun 2024 −1.6 d | backfilled | 10 | PoC |
| zomasec/CVE-2024-4577 | 8 Jun 2024 −1.5 d | backfilled | 4 | PoC |
| ZephrFish/CVE-2024-4577-PHP-RCE | 8 Jun 2024 −1.3 d | backfilled | 33 | PoC |
| xcanwin/CVE-2024-4577-PHP-RCE | 8 Jun 2024 −1.3 d | backfilled | 162 | PoC
Flags · score 35
Below the suspicion threshold (50); does not change the assessment. |
| dbyMelina/CVE-2024-4577 | 9 Jun 2024 −6 h | backfilled | 0 | PoC |
| Chocapikk/CVE-2024-4577 | 9 Jun 2024 −5 h | backfilled | 35 | PoC |
| BLACK-ARCHIVERS/CVE-2024-4577 | 11 Jun 2024 +1.7 d | backfilled | 0 | PoC |
| bl4cksku11/CVE-2024-4577 | 11 Jun 2024 +1.8 d | backfilled | 0 | PoC |
| aaddmin1122345/CVE-2024-4577-POC | 12 Jun 2024 +2.4 d | backfilled | 6 | PoC |
| aaddmin1122345/cve-2024-4577 | 12 Jun 2024 +2.4 d | backfilled | 6 | PoC |
| aavamin/cve-2024-4577 | 12 Jun 2024 +2.4 d | backfilled | 6 | PoC |
| d3ck4/Shodan-CVE-2024-4577 | 12 Jun 2024 +2.5 d | backfilled | 2 | PoC |
| 0XFFFF-XD/CVE-2024-4577-PHP-CGI-RCE | 12 Jun 2024 +2.7 d | backfilled | 1 | Scanner |
| XiangDongCJC/CVE-2024-4577-PHP-CGI-RCE | 12 Jun 2024 +2.7 d | backfilled | 1 | Scanner |
| Sh0ckFR/CVE-2024-4577 | 13 Jun 2024 +3.8 d | backfilled | 4 | PoC |
| gotr00t0day/CVE-2024-4577 | 15 Jun 2024 +5.3 d | backfilled | 11 | PoC |
| VictorShem/CVE-2024-4577 | 17 Jun 2024 +7.9 d | backfilled | 2 | Scanner |
| jakabakos/CVE-2024-4577-PHP-CGI-argument-injection-RCE | 18 Jun 2024 +8.7 d | backfilled | 0 | PoC |
| olebris/CVE-2024-4577 | 28 Jun 2024 +19 d | backfilled | 0 | PoC |
| AlperenY-cs/CVE-2024-4577 | 28 Jun 2024 +19 d | backfilled | 2 | PoC via PoC Index |
| charis3306/CVE-2024-4577 | 3 Jul 2024 +24 d | backfilled | 0 | PoC |
| l0n3m4n/CVE-2024-4577-RCE | 6 Jul 2024 +27 d | backfilled | 7 | PoC |
| ildefonso0/php-7.2.34-CVE-2024 | 7 Jul 2024 +28 d | backfilled | 1 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| bibo318/CVE-2024-4577-RCE-ATTACK | 11 Jul 2024 +31 d | backfilled | 5 | PoC |
| gmh5225/CVE-2024-4577-PHP-RCE | 16 Jul 2024 +36 d | backfilled | 0 | PoC |
| a-roshbaik/CVE-2024-4577-PHP-RCE | 24 Jul 2024 +45 d | backfilled | 0 | PoC |
| Jcccccx/CVE-2024-4577 | 31 Jul 2024 +52 d | backfilled | 0 | PoC |
| bughuntar/CVE-2024-4577 | 17 Aug 2024 +68 d | backfilled | 0 | PoC |
| fa-rrel/CVE-2024-4577-RCE | 20 Aug 2024 +71 d | backfilled | 26 | PoC |
| gh-ost00/CVE-2024-4577-RCE | 20 Aug 2024 +71 d | backfilled | 26 | PoC |
| phirojshah/CVE-2024-4577 | 12 Sep 2024 +95 d | backfilled | 2 | PoC |
| JeninSutradhar/CVE-2024-4577-checker | 4 Oct 2024 +117 d | backfilled | 3 | Scanner |
| longhoangth18/CVE-2024-4577 | 14 Oct 2024 +127 d | backfilled | 4 | PoC |
| BTtea/CVE-2024-4577-RCE-PoC | 6 Nov 2024 +149 d | backfilled | 25 | PoC |
| Dejavu666/CVE-2024-4577 | 8 Jan 2025 +212 d | backfilled | 0 | PoC |
| Didarul342/CVE-2024-4577 | 14 Feb 2025 +250 d | backfilled | 0 | PoC |
| Night-have-dreams/php-cgi-Injector | 15 Mar 2025 +279 d | backfilled | 52 | PoC |
| mistakes1337/CVE-2024-4577 | 21 Mar 2025 +284 d | backfilled | 0 | PoC |
| wilss0n/CVE-2024-4577 | 21 Mar 2025 +284 d | backfilled | 0 | PoC |
| sug4r-wr41th/CVE-2024-4577 | 12 Apr 2025 +307 d | backfilled | 1 | PoC |
| Gill-Singh-A/CVE-2024-4577-Exploit | 18 Apr 2025 +313 d | backfilled | 0 | PoC |
| KimJuhyeong95/cve-2024-4577 | 27 May 2025 +352 d | backfilled | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| byteReaper77/CVE-2024-4577 | 23 Jun 2025 +1.0 y | backfilled | 2 | PoC |
| r0otk3r/CVE-2024-4577 | 7 Jul 2025 +1.1 y | backfilled | 0 | PoC |
| mananjain61/PHP-CGI-INTERNAL-RCE | 11 Jul 2025 +1.1 y | backfilled | 0 | PoC |
| Skycritch/CVE-2024-4577 | 16 Jul 2025 +1.1 y | backfilled | 0 | PoC |
| CirqueiraDev/MassExploit-CVE-2024-4577 | 23 Jul 2025 +1.1 y | backfilled | 5 | PoC |
| Ianthinus/CVE-2024-4577 | 20 Aug 2025 +1.2 y | backfilled | 0 | PoC |
| Kanak-CypherX/cve-2024-4577-lab | 15 Jul 2026 +2.1 y | backfilled | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| razureink/cve-2024-4577-phpcgi_rce_reproduction | 23 Jul 2026 +2.1 y | backfilled | 0 | PoC |
| mrzero-cool/cve-poc-search | 28 Aug 2026 +2.2 y | backfilled | 0 | PoC via PoC Index |
| Ghost-Bx1/php-exploits-CVE-2026-109618-CVE-2026-109619-CVE-2024-4577 | 23 Oct 2026 +2.4 y | 14 Nov 2026 | 1 | PoC |
Pending 15
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| esskslifetech/PROTECTION2Shell | 1 Nov 2026 +2.4 y | 14 Nov 2026 | 1 | Pending |
| Junp0/CVE-2024-4577 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| K3ysTr0K3R/CVE-2024-4577-EXPLOIT | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| ManuelKy08/CVE-2024-4577---RR | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| QmFkLVBp/WibeH4Ck | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) via PoC Index · not checked yet |
| Wh02m1/CVE-2024-4577 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| a1ex-var1amov/ctf-cve-2024-4577 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| amandineVdw/CVE-2024-4577 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| cybersagor/CVE-2024-4577 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| deadlybangle/CVE-2024-4577-PHP-RCE | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| hexedbyte/cve-2024-4577 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| ibrahmsql/CVE-2024-4577 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| nemu1k5ma/CVE-2024-4577 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| waived/CVE-2024-4577-PHP-RCE | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| xAL6/cve-2024-4577-scanner | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
Informational 17
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| princew88/CVE-2024-4577 | 7 Jun 2024 −2.4 d | backfilled | 0 | Informational · write-up |
| Entropt/CVE-2024-4577_Analysis | 12 Jun 2024 +2.5 d | backfilled | 0 | Informational · write-up |
| PhinehasNarh/CVE-2024-4577-Defend | 24 Jun 2024 +15 d | backfilled | 1 | Informational · write-up |
| PhinehasNarh/CVE-2024-4577-LetsDefend-walkthrough | 24 Jun 2024 +15 d | backfilled | 1 | Informational · detection
Flags · score 35
Below the suspicion threshold (50); does not change the assessment. |
| ggfzx/CVE-2024-4577 | 26 Jun 2024 +16 d | backfilled | 1 | Informational · write-up |
| ywChen-NTUST/PHP-CGI-RCE-Scanner | 10 Sep 2024 +93 d | backfilled | 1 | Informational · list |
| AhmedMansour93/Event-ID-268-Rule-Name-SOC292-Possible-PHP-Injection-Detected-CVE-2024-4577- | 12 Sep 2024 +95 d | backfilled | 0 | Informational · list
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| mr-won/php-cgi-cve-2024-4577 | 14 Feb 2025 +250 d | backfilled | 0 | Informational · write-up |
| tpdlshdmlrkfmcla/php-cgi-cve-2024-4577 | 14 Feb 2025 +250 d | backfilled | 0 | Informational · write-up |
| bibo318/Cyberbugs-Tracker | 22 Jul 2025 +1.1 y | backfilled | 0 | Informational · list |
| gl1tch0x1/PHP_8.1.x_Exploit | 29 Apr 2026 +1.9 y | backfilled | 1 | Informational · detection
Flags · score 35
Below the suspicion threshold (50); does not change the assessment. |
| DuyDuongDuyDuong/CVE-2024-4577-Exploitation-AsyncRAT-Deployment-DFIR-Investigation | 15 Aug 2026 +2.2 y | backfilled | 0 | Informational · detection |
| yeee3642/edu-recon | 26 Aug 2026 +2.2 y | backfilled | 0 | Informational · list |
| ghostinthecable/php-hunting | 21 Oct 2026 +2.4 y | 14 Nov 2026 | 0 | Informational · detection |
| 0xHardfork/raven | 23 Oct 2026 +2.4 y | 14 Nov 2026 | 0 | Informational · list |
| kokilyadm/waffers | 29 Oct 2026 +2.4 y | 14 Nov 2026 | 0 | Informational · list
Flags · score 35
Below the suspicion threshold (50); does not change the assessment. |
| esskslifetech/php-secure-patch | 31 Oct 2026 +2.4 y | 14 Nov 2026 | 1 | Informational · list |
Suspicious or fake 8
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| huseyinstif/CVE-2024-4577-Nuclei-Template | 7 Jun 2024 −2.4 d | backfilled | 21 | Suspicious · score 50
Why suspicious
|
| 0x20c/CVE-2024-4577-nuclei | 8 Jun 2024 −1.7 d | backfilled | 5 | Fake |
| ahmetramazank/CVE-2024-4577 | 3 Nov 2024 +147 d | backfilled | 0 | Fake |
| tk-1001/PHPexploit_pack | 2 Mar 2025 +266 d | backfilled | 0 | Fake |
| rayngnpc/CVE-2024-4577-rayng | 30 Dec 2025 +1.6 y | backfilled | 0 | Suspicious · score 100
Why suspicious
|
| khwajasaad267-coder/cve-2024-4577-lab | 25 Aug 2026 +2.2 y | backfilled | 0 | Fake |
| Suleman-Elahi/php2shell-sentinel | 23 Oct 2026 +2.4 y | 14 Nov 2026 | 0 | Suspicious · score 100
Why suspicious
|
| CyberDefenderAI/AI-Threat-Detection-PHP-CGI-Vulnerabilities | 25 Oct 2026 +2.4 y | 14 Nov 2026 | 1 | Suspicious · score 50
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | PHP CGI Module 8.3.4 - Remote Code Execution (RCE) | 15 Jun 2025 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: PHP CGI Argument Injection Remote Code Execution (exploit/windows/http/php_cgi_arg_injection_rce_cve_2024_4577) | 7 Jun 2024 | 14 Nov 2026 |
| nuclei template | nuclei template: PHP CGI - Argument Injection | 7 Jun 2024 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 64 PoC reposPOST /
- Query
�d allow_url_include=1 �d auto_prepend_file=php://input=- Key headers
# "user-Agent": {var}Accept: */*Accept: /Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6Cache-Control: max-age=0Cookie: PHPSESSID=aabbccddaabbccddaabbccddaabbccddUpgrade-Insecure-Requests: 1- Body markers
<?php phpinfo(); ?>=<?php phpinfo(); ?>=<?php echo "vulnerable"; ?>=<?php system({var}['cmd']); ?>=<?php echo 'LOCALE_OK_' . PHP_INT_SIZE; ?>=@payload.txt=------PoC109619Boundary Content-Disposition: form-data; name="PHP_SESSION_UPLOAD_PROGRESS"<?php system("echo 1234567891011121214151617181920"); ?><?php system("echo. && echo. && echo. && echo. && echo.<?php echo 'CVE-2024-4577-TEST'; ?>=<?php echo "vulnerable"; ?><?php echo "CVE-2024-4577"; ?>=<?php system('inapplication/x-www-form-urlencoded- Ports
- 8080
- PoC User-Agent
CVE-2024-4577-TesterMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36curl/8.3.0- Seen in
- 19 repos: 11whoami99/CVE-2024-4577, AlperenY-cs/CVE-2024-4577, BitMEXResearch/CVE-2024-4577, Ghost-Bx1/php-exploits-CVE-2026-109618-CVE-2026-109619-CVE-2024-4577, Jcccccx/CVE-2024-4577, JeninSutradhar/CVE-2024-4577-checker, KimJuhyeong95/cve-2024-4577, Sh0ckFR/CVE-2024-4577, Sysc4ll3r/CVE-2024-4577, Yukiioz/CVE-2024-4577, ZephrFish/CVE-2024-4577-PHP-RCE, aaddmin1122345/CVE-2024-4577-POC, aaddmin1122345/cve-2024-4577, aavamin/cve-2024-4577, eagerapps/CVE-2024-4577, gmh5225/CVE-2024-4577-PHP-RCE, graphite-org/CVE-2024-4577, jakabakos/CVE-2024-4577-PHP-CGI-argument-injection-RCE, olebris/CVE-2024-4577
- Evidence
- 11whoami99/CVE-2024-4577/CVE-2024-4577.sh:6 11whoami99/CVE-2024-4577/CVE-2024-4577.yaml:16 11whoami99/CVE-2024-4577/CVE-2024-4577.yaml:17 11whoami99/CVE-2024-4577/CVE-2024-4577.yaml:18 11whoami99/CVE-2024-4577/README.md:9 AlperenY-cs/CVE-2024-4577/README.md:40
POST /php-cgi/php-cgi.exe
- Query
{var}=�d allow_url_include=1 -d auto_prepend_file=php://input=�d cgi.force_redirect=XCANWIN �d allow_url_include=on �d auto_prepend_file=php://input=�d allow_url_include=on �d auto_prepend_file=php://input=- Key headers
Redirect-Status: XCANWIN- Body markers
a=<?php echo "<?php system('whoami'); ?>=<?php die("Te"."sT");?><?php system('uname -a'); ?>=inapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 5 repos: BTtea/CVE-2024-4577-RCE-PoC, Ghost-Bx1/php-exploits-CVE-2026-109618-CVE-2026-109619-CVE-2024-4577, a-roshbaik/CVE-2024-4577-PHP-RCE, r0otk3r/CVE-2024-4577, xcanwin/CVE-2024-4577-PHP-RCE
- Evidence
- BTtea/CVE-2024-4577-RCE-PoC/CVE-2024-4577.py:109 Ghost-Bx1/php-exploits-CVE-2026-109618-CVE-2026-109619-CVE-2024-4577/CVE-2024-4577/README.md:179 a-roshbaik/CVE-2024-4577-PHP-RCE/README.md:64 a-roshbaik/CVE-2024-4577-PHP-RCE/README.md:74 r0otk3r/CVE-2024-4577/README.md:80 xcanwin/CVE-2024-4577-PHP-RCE/README.md:64
POST /{var}
- Body markers
echo 'Test'; die;- Seen in
- 5 repos: fa-rrel/CVE-2024-4577-RCE, gh-ost00/CVE-2024-4577-RCE, l0n3m4n/CVE-2024-4577-RCE, longhoangth18/CVE-2024-4577, phirojshah/CVE-2024-4577
- Evidence
- fa-rrel/CVE-2024-4577-RCE/CVE-2024-4577.py:14 fa-rrel/CVE-2024-4577-RCE/CVE-2024-4577.py:33 gh-ost00/CVE-2024-4577-RCE/CVE-2024-4577.py:14 gh-ost00/CVE-2024-4577-RCE/CVE-2024-4577.py:33 l0n3m4n/CVE-2024-4577-RCE/CVE-2024-4577.py:14 l0n3m4n/CVE-2024-4577-RCE/CVE-2024-4577.py:33
GET /
- Key headers
Cookie: PHPSESSID=aabbccddaabbccddaabbccddaabbccdd- Ports
- 8080
- Seen in
- 1 repo: Ghost-Bx1/php-exploits-CVE-2026-109618-CVE-2026-109619-CVE-2024-4577
- Evidence
- Ghost-Bx1/php-exploits-CVE-2026-109618-CVE-2026-109619-CVE-2024-4577/CVE-2026-109619/README.md:183
POST /cgi-bin/php-cgi.exe{var}
- Key headers
Accept: */*Redirect-Status: 1- Body markers
<?php phpinfo(); ?>=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 11.2; rv:122.0) Gecko/20000101 Firefox/122.0- Seen in
- 1 repo: VictorShem/CVE-2024-4577
- Evidence
- VictorShem/CVE-2024-4577/CVE-2024-4577.yaml:24
POST /cgi-bin/php.exe{var}
- Key headers
Accept: */*Redirect-Status: 1- Body markers
<?php phpinfo(); ?>=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 11.2; rv:122.0) Gecko/20000101 Firefox/122.0- Seen in
- 1 repo: VictorShem/CVE-2024-4577
- Evidence
- VictorShem/CVE-2024-4577/CVE-2024-4577.yaml:27
POST /index.php{var}
- Key headers
Accept: */*Redirect-Status: 1- Body markers
<?php phpinfo(); ?>=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 11.2; rv:122.0) Gecko/20000101 Firefox/122.0- Seen in
- 1 repo: VictorShem/CVE-2024-4577
- Evidence
- VictorShem/CVE-2024-4577/CVE-2024-4577.yaml:23
POST /php-cgi/php-cgi.exe{var}
- Key headers
Accept: */*Redirect-Status: 1- Body markers
<?php phpinfo(); ?>=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 11.2; rv:122.0) Gecko/20000101 Firefox/122.0- Seen in
- 1 repo: VictorShem/CVE-2024-4577
- Evidence
- VictorShem/CVE-2024-4577/CVE-2024-4577.yaml:25
POST /php-cgi/php.exe{var}
- Key headers
Accept: */*Redirect-Status: 1- Body markers
<?php phpinfo(); ?>=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 11.2; rv:122.0) Gecko/20000101 Firefox/122.0- Seen in
- 1 repo: VictorShem/CVE-2024-4577
- Evidence
- VictorShem/CVE-2024-4577/CVE-2024-4577.yaml:26
GET /2/tweets/search/recent
- Query
query=max_results=tweet.fields=created_at,author_id,public_metrics- Ports
- 9050
- PoC User-Agent
Mozilla/5.0- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/social.py:101
GET /api/ip
- Seen in
- 1 repo: Night-have-dreams/php-cgi-Injector
- Evidence
- Night-have-dreams/php-cgi-Injector/tor_helper.py:32
GET /api/query
- Query
search_query=all:max_results=- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/misc.py:265
GET /api/v1/search/pulses
- Query
q=limit=- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/misc.py:305
GET /convert.base64-decode/resource%3Ddata://text/plain,{var}%22')}
- Seen in
- 1 repo: BTtea/CVE-2024-4577-RCE-PoC
- Evidence
- BTtea/CVE-2024-4577-RCE-PoC/CVE-2024-4577.py:154
GET /data/v1/epss
- Query
cve=- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/epss.py:26
GET /dev/null
GET /html/
- Query
q=site:q=- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/research.py:46 mrzero-cool/cve-poc-search/src/cve_poc_search/sources/social.py:320
GET /plain%3Bbase64,{var}%22')}
- Seen in
- 1 repo: BTtea/CVE-2024-4577-RCE-PoC
- Evidence
- BTtea/CVE-2024-4577-RCE-PoC/CVE-2024-4577.py:146
GET /published
- Query
per_page=- Key headers
Authorization: Bearer {var}- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/web_aggregators.py:629
GET /r/netsec/search.json
- Query
q=restrict_sr=1sort=newlimit=- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/misc.py:66
GET /s/{var}
- Query
q=- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/social.py:224
GET /search
- Query
q=f-tweets=on- Key headers
Accept: application/json- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/aggregators.py:78 mrzero-cool/cve-poc-search/src/cve_poc_search/sources/social.py:48
GET /search/
- Query
q=- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/packetstorm.py:26
GET /trending.json
- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/github_cve_aggregators.py:243
GET /update
- Query
domains=token=ip=verbose=true- Seen in
- 1 repo: mananjain61/PHP-CGI-INTERNAL-RCE
- Evidence
- mananjain61/PHP-CGI-INTERNAL-RCE/server.py:80 mananjain61/PHP-CGI-INTERNAL-RCE/server.py:97
GET /v1/topics/{var}
- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/research.py:105
GET /v3/community/cve/{var}
- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/misc.py:31
GET /vuln/{var}
- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/misc.py:124
GET /vulnerable_endpoint
- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/scaffold.py:122
GET /vuls/byvendor
- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/misc.py:225
GET /vuls/search/
- Query
query=searchview=- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/misc.py:230
GET /{var}/github.txt
- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/github_cve_aggregators.py:176
GET /{var}/references.txt
- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/github_cve_aggregators.py:211
POST /api/v1/exec
- Content-Type
application/json- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/scaffold.py:158
POST /api/v3/component-report
- Content-Type
application/json- Ports
- 9050
- Seen in
- 1 repo: mrzero-cool/cve-poc-search
- Evidence
- mrzero-cool/cve-poc-search/src/cve_poc_search/sources/misc.py:156
POST /php-cgi/php-cgi.exe/
- Query
�d allow_url_include=on -d auto_prepend_file=php://input -d cgi.force_redirect=0=- Body markers
<?php system('calc'); ?>=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: taida957789/CVE-2024-4577
- Evidence
- taida957789/CVE-2024-4577/README.md:6
POST /test.hello
- Query
�d allow_url_include=1 �d auto_prepend_file=php://input=- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,OK/OK;q=0.8Accept-Language: en-US,en;q=0.9,fr;q=0.8Cache-Control: max-age=0Referer: www.google.comUpgrade-Insecure-Requests: 1- Body markers
<?php phpinfo(); ?>- PoC User-Agent
Mozlila/5.0 (Linux; Android 7.0; SM-G892A Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/60.0.3112.107 Mobile Safari/537.36- Seen in
- 1 repo: CirqueiraDev/MassExploit-CVE-2024-4577
- Evidence
- CirqueiraDev/MassExploit-CVE-2024-4577/CVE-2024-4577.py:35
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\?(?:.*&)?�d allow_url_include=1 �d auto_prepend_file=php://input=
(?i)^/php-cgi/php-cgi\.exe\?(?:.*&)?\{var\}=.*�d allow_url_include=1 -d auto_prepend_file=php://input=.*�d cgi\.force_redirect=XCANWIN �d allow_url_include=on �d auto_prepend_file=php://input=.*�d allow_url_include=on �d auto_prepend_file=php://input=
(?i)^/[^/?#]*(?:[?#].*)?$
(?i)^/(?:[?#].*)?$
(?i)^/cgi-bin/php-cgi\.exe[^/?#]*(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2024-4577 PHP Group PHP exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"�d allow_url_include=1 �d auto_prepend_file=php://input="; http.header_names; content:"# |22|user-Agent|22|"; nocase; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept: /"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.7"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9,en|3b|q=0.8,en-GB|3b|q=0.7,en-US|3b|q=0.6"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Cookie: PHPSESSID=aabbccddaabbccddaabbccddaabbccdd"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"<?php phpinfo()|3b| ?>="; http.request_body; content:"<?php
phpinfo()|3b|
?>="; http.request_body; content:"<?php
echo |22|vulnerable|22||3b|
?>="; http.request_body; content:"<?php system("; http.request_body; content:"<?php echo 'LOCALE_OK_' . PHP_INT_SIZE|3b| ?>="; http.request_body; content:"@payload.txt="; http.request_body; content:"------PoC109619Boundary
Content-Disposition: form-data|3b| name=|22|PHP_SESSION_UPLOAD_PROGRESS|22|"; http.request_body; content:"<?php system(|22|echo 1234567891011121214151617181920|22|)|3b| ?>"; http.request_body; content:"<?php system(|22|echo. && echo. && echo. && echo. && echo."; http.request_body; content:"<?php echo 'CVE-2024-4577-TEST'|3b| ?>="; http.request_body; content:"<?php echo |22|vulnerable|22||3b| ?>"; http.request_body; content:"<?php echo |22|CVE-2024-4577|22||3b| ?>="; http.request_body; content:"<?php system('"; reference:url,poc.griffinguard.io/cve/CVE-2024-4577; classtype:web-application-attack; sid:9307751; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2024-4577 PHP Group PHP exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/php-cgi/php-cgi.exe"; http.uri; content:"{var}="; http.uri; content:"�d allow_url_include=1 -d auto_prepend_file=php://input="; http.uri; content:"�d cgi.force_redirect=XCANWIN �d allow_url_include=on �d auto_prepend_file=php://input="; http.uri; content:"�d allow_url_include=on �d auto_prepend_file=php://input="; http.header; content:"Redirect-Status: XCANWIN"; nocase; http.request_body; content:"a=<?php echo |22|"; http.request_body; content:"<?php system('whoami')|3b| ?>="; http.request_body; content:"<?php die(|22|Te|22|.|22|sT|22|)|3b|?>"; http.request_body; content:"<?php system('uname -a')|3b| ?>="; reference:url,poc.griffinguard.io/cve/CVE-2024-4577; classtype:web-application-attack; sid:9888864; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2024-4577 PHP Group PHP exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"echo 'Test'|3b| die|3b|"; reference:url,poc.griffinguard.io/cve/CVE-2024-4577; classtype:web-application-attack; sid:9783832; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2024-4577 PHP Group PHP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"Cookie: PHPSESSID=aabbccddaabbccddaabbccddaabbccdd"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2024-4577; classtype:web-application-attack; sid:9412613; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2024-4577 PHP Group PHP exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/cgi-bin/php-cgi.exe"; http.header; content:"Accept: */*"; nocase; http.header; content:"Redirect-Status: 1"; nocase; http.request_body; content:"<?php phpinfo()|3b| ?>="; reference:url,poc.griffinguard.io/cve/CVE-2024-4577; classtype:web-application-attack; sid:9703762; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: PHP Group PHP exploit attempt (CVE-2024-4577)
id: gg-pocmon-cve-2024-4577-9307751
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-4577. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-4577
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-query|contains|all:
- '�d allow_url_include=1 �d auto_prepend_file=php://input='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.4577
title: PHP Group PHP exploit attempt (CVE-2024-4577)
id: gg-pocmon-cve-2024-4577-9888864
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-4577. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-4577
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/php-cgi/php-cgi.exe'
cs-uri-query|contains|all:
- '{var}='
- '�d allow_url_include=1 -d auto_prepend_file=php://input='
- '�d cgi.force_redirect=XCANWIN �d allow_url_include=on �d auto_prepend_file=php://input='
- '�d allow_url_include=on �d auto_prepend_file=php://input='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.4577
title: PHP Group PHP exploit attempt (CVE-2024-4577)
id: gg-pocmon-cve-2024-4577-9783832
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-4577. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-4577
logsource:
category: webserver
detection:
selection:
cs-method: POST
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.4577
title: PHP Group PHP exploit attempt (CVE-2024-4577)
id: gg-pocmon-cve-2024-4577-9412613
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-4577. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-4577
logsource:
category: webserver
detection:
selection:
cs-method: GET
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.4577
title: PHP Group PHP exploit attempt (CVE-2024-4577)
id: gg-pocmon-cve-2024-4577-9703762
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-4577. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-4577
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/cgi-bin/php-cgi.exe'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.4577