CVE-2024-4577
Argument Injection in PHP-CGI
Basic Information
- CVE State
- PUBLISHED
- Reserved Date
- May 06, 2024
- Published Date
- June 09, 2024
- Last Updated
- March 14, 2025
- Vendor
- PHP Group
- Product
- PHP
- 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.
CVSS Scores
CVSS v3.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC Information
- Exploitation
- active
- Automatable
- Yes
- Technical Impact
- total
References
Known Exploited Vulnerability Information
Source | Added Date |
---|---|
CISA | 2024-06-12 00:00:00 UTC |
Scanner Integrations
Scanner | URL | Date Detected |
---|---|---|
Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/php_cgi_arg_injection_rce_cve_2024_4577.rb | 2025-04-29 11:01:39 UTC |
Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-4577.yaml | 2025-04-26 00:00:00 UTC |
Potential Proof of Concepts
Warning: These PoCs have not been tested and could contain malware. Use at your own risk.
php_cgi_arg_injection_rce_cve_2024_4577
Type: metasploit • Created: Unknown
BTtea/CVE-2024-4577-RCE-PoC
Type: github • Created: 2024-11-06 05:30:33 UTC • Stars: 23
longhoangth18/CVE-2024-4577
Type: github • Created: 2024-10-14 09:11:06 UTC • Stars: 4
JeninSutradhar/CVE-2024-4577-checker
Type: github • Created: 2024-10-04 13:10:19 UTC • Stars: 3
phirojshah/CVE-2024-4577
Type: github • Created: 2024-09-12 19:27:52 UTC • Stars: 2
gh-ost00/CVE-2024-4577-RCE
Type: github • Created: 2024-08-20 02:56:03 UTC • Stars: 20
waived/CVE-2024-4577-PHP-RCE
Type: github • Created: 2024-07-15 21:31:14 UTC • Stars: 5
bibo318/CVE-2024-4577-RCE-ATTACK
Type: github • Created: 2024-07-11 02:22:32 UTC • Stars: 4
l0n3m4n/CVE-2024-4577-RCE
Type: github • Created: 2024-07-06 19:37:14 UTC • Stars: 7
AlperenY-cs/CVE-2024-4577
Type: github • Created: 2024-06-28 14:11:15 UTC • Stars: 2
VictorShem/CVE-2024-4577
Type: github • Created: 2024-06-17 17:53:31 UTC • Stars: 2
gotr00t0day/CVE-2024-4577
Type: github • Created: 2024-06-15 02:49:37 UTC • Stars: 11
Sh0ckFR/CVE-2024-4577
Type: github • Created: 2024-06-13 14:25:04 UTC • Stars: 3
K3ysTr0K3R/CVE-2024-4577-EXPLOIT
Type: github • Created: 2024-06-09 23:32:11 UTC • Stars: 9
Chocapikk/CVE-2024-4577
Type: github • Created: 2024-06-09 14:18:21 UTC • Stars: 29
xcanwin/CVE-2024-4577-PHP-RCE
Type: github • Created: 2024-06-08 13:04:45 UTC • Stars: 144
ZephrFish/CVE-2024-4577-PHP-RCE
Type: github • Created: 2024-06-08 12:23:35 UTC • Stars: 26
zomasec/CVE-2024-4577
Type: github • Created: 2024-06-08 06:36:14 UTC • Stars: 3
manuelinfosec/CVE-2024-4577
Type: github • Created: 2024-06-08 05:27:44 UTC • Stars: 9
0x20c/CVE-2024-4577-nuclei
Type: github • Created: 2024-06-08 03:12:28 UTC • Stars: 3
WanLiChangChengWanLiChang/CVE-2024-4577-RCE-EXP
Type: github • Created: 2024-06-07 17:02:52 UTC • Stars: 0
huseyinstif/CVE-2024-4577-Nuclei-Template
Type: github • Created: 2024-06-07 10:40:37 UTC • Stars: 19
watchtowrlabs/CVE-2024-4577
Type: github • Created: 2024-06-07 09:52:54 UTC • Stars: 276
11whoami99/CVE-2024-4577
Type: github • Created: 2024-06-07 09:51:39 UTC • Stars: 44
TAM-K592/CVE-2024-4577
Type: github • Created: 2024-06-07 05:50:23 UTC • Stars: 79