Skip to content
skopnix

CVE-2024-4577 · NVD published 9 Jun 2024

PHP Group PHP

On CISA's KEV list 3 days after disclosure; 102 public exploits.

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.

CISA required action (federal due date 3 Jul 2024): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Signals

KEV, exploited in the wild
yes, added 12 Jun 2024, due 3 Jul 2024, known ransomware use
EPSS, 30-day forecast
100%, 100th percentile (as of 18 Nov 2026)
CVSS, NVD, CRITICAL
9.8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Internet exposure
not stated

KEV is an observation, EPSS a forecast; KEV outranks it.

Timeline 7 Jun 2024 to today

3 days from disclosure to the KEV listing
20252026First PoC 7 Jun 2024Metasploit 7 Jun 2024Disclosed 9 Jun 2024KEV 12 Jun 2024today
  1. First PoC
  2. Metasploitsame day
  3. Disclosed+2 d
  4. KEV+3 d

3 days from disclosure to the KEV listing

Detect it 6 rules · Sigma · QRadar · Cortex

  1. SIGAQLXQLT1190conf 90CVE exploitation, high
  2. SIGAQLXQLT1071conf 90CVE exploitation, high

Generated by skopnix from this finding, each with false-positive notes. Open the list →

Linked 6 in our graph

Links our graph holds for this CVE, strongest first. The same data is in the graph API.

Indicators 2 tied by threat feeds

Addresses, hosts and files that threat feeds tag with this CVE: exploitation sources, payload hosts and what was dropped. Defanged. “In rule” marks the ones strong enough for the indicator sweep above.

  1. 103[.]170[.]217[.]170C2, in rule

    ip · 6 feeds · last seen 16 Nov 2026

  2. hxxp://103[.]170[.]217[.]170/pula[.]exePayload host

    url · 1 feed · last seen 16 Nov 2026

On the wire 0 dispatches

No dispatch on our wire has named this CVE yet.

Public exploit code 102 known · links only

GitHub PoCs 100Metasploit 1Exploit-DB 1

GitHub PoCs, by trust then stars100

  1. 一個測試CVE-2024-4577和CVE-2024-8926的安全滲透工具

    created 15 Mar 2025

  2. BTtea/CVE-2024-4577-RCE-PoCTrust ok 10025 stars

    CVE-2024-4577 RCE PoC

    created 6 Nov 2024

  3. CVE-2024-4577 Mass Scanner & Exploit Tool

    created 23 Jul 2025

  4. byteReaper77/CVE-2024-4577Trust ok 1002 stars

    Exploit (C) CVE-2024-4577 on PHP CGI

    created 23 Jun 2025

  5. Bash toolkit that finds and fixes PHP CVEs — PHP2Shell (CVE-2026-109618/109619), CVE-2026-115560, CVE-2024-4577, CVE-2019-11043 — on Linux and macOS. Detects runtimes, audits config, applies source patches, hardens php.ini / FPM / nginx / Apache, hunts compromise, rolls back cleanly. MIT.

    created 31 Oct 2026

  6. Dependency-free toolkit that contains, patches and verifies the *2Shell families: PHP2Shell (CVE-2026-109618/109619), HTTP2Shell/Brotli (CVE-2026-111497), CVE-2024-4577, CVE-2019-11043. Cuts exploitation channels at the edge in minutes, applies verified upstream source patches, recycles workers, then re-checks every fix. Unattended: setup.sh --auto

    created 1 Nov 2026

  7. Full exploits and PoCs for php2shell (CVE-2026-109618, CVE-2026-109619) and CVE-2024-4577 - PHP critical RCE (CVSS 9.2-9.8)

    created 23 Oct 2026

  8. gl1tch0x1/PHP_8.1.x_ExploitTrust ok 1001 stars

    Automated detection & exploitation of critical PHP vulnerabilities (CVE-2024-4577 bypass, CVE-2025-14177, CVE-2025-14180, CVE-2025-14178)

    created 29 Apr 2026

Show 92 more
  1. sug4r-wr41th/CVE-2024-4577Trust ok 1001 stars

    PHP CGI CVE-2024-4577 PoC

    created 12 Apr 2025

  2. created 25 Aug 2025

  3. ahmetramazank/CVE-2024-4577Trust ok 1000 stars

    created 3 Nov 2024

  4. Dejavu666/CVE-2024-4577Trust ok 1000 stars

    CVE-2024-4577 POC

    created 8 Jan 2025

  5. Didarul342/CVE-2024-4577Trust ok 1000 stars

    created 14 Feb 2025

  6. created 15 Aug 2026

  7. PHP CGI Parameter Injection Vulnerability (RCE: Remote Code Execution)

    created 18 Apr 2025

  8. Ianthinus/CVE-2024-4577Trust ok 1000 stars

    created 20 Aug 2025

  9. created 15 Jul 2026

  10. kokilyadm/waffersTrust ok 1000 stars

    The layer that protects you. Proactive defense-in-depth Web Application Firewall mitigating recent critical PHP engine vulnerabilities including PHP2Shell (CVE-2026-109618/9), PHP-CGI Argument Injection (CVE-2024-4577), iconv Filter Chains (CVE-2024-2961), and stream wrapper abuse.

    created 29 Oct 2026

  11. lockbitblack-ai/CVE-2024-4577-new
    Trust ok 90 · 1 flag
    • repo unavailable (repo_unavailable)
    0 stars

    created 11 Feb 2026

  12. Delivering PHP RCE (CVE-2024-4577) to the Local Network Servers

    created 11 Jul 2025

  13. r0otk3r/CVE-2024-4577Trust ok 1000 stars

    created 7 Jul 2025

  14. rayngnpc/CVE-2024-4577-rayngTrust ok 1000 stars

    CVE-2024-4577 PHP CGI Argument Injection - Detection Lab with Vagrant VMs and Wazuh SIEM rules

    created 30 Dec 2025

  15. CVE Reproduction: cve-2024-4577-phpcgi_rce_reproduction

    created 23 Jul 2026

  16. Skycritch/CVE-2024-4577Trust ok 1000 stars

    Exploit for php-cgi

    created 16 Jul 2025

  17. PHP2Shell Sentinel is an intelligent, zero-dependency, low-resource cross-platform defense daemon to detect, log, prevent, and actively mitigate php2shell exploits (CVE-2026-109618 & CVE-2026-109619, plus CVE-2024-4577) on both Linux and Windows servers

    created 23 Oct 2026

  18. tntrock/CVE-2024-4577_PowerShell
    Trust ok 90 · 1 flag
    • repo unavailable (repo_unavailable)
    0 stars

    使用PowsrShell掃描CVE-2024-4577

    created 12 May 2025

  19. tpdlshdmlrkfmcla/php-cgi-cve-2024-4577
    Trust ok 85 · 1 flag
    • no source (no_source)
    0 stars

    php-cgi-cve-2024-4577

    created 14 Feb 2025

  20. wilss0n/CVE-2024-4577Trust ok 1000 stars

    created 21 Mar 2025

  21. yeee3642/edu-reconTrust ok 1000 stars

    Authorized education-sector recon & triage orchestrator (nmap/dirsearch/sqlmap/hydra + CVE-2024-4577, secret/API-key leak, XSS, wp2shell) with a web control panel

    created 26 Aug 2026

  22. CyberDefenderAI/AI-Threat-Detection-PHP-CGI-Vulnerabilities
    Caution 60 · 2 flags
    • no source (no_source)
    • new owner account (new_owner_account)
    1 stars

    A curated, deep-dive guide to leveraging Artificial Intelligence, Machine Learning, and Large Language Models (LLMs) to detect, analyze, and neutralize advanced web application threats—with a specific focus on recent, critical PHP CGI Argument Injection vulnerabilities (such as CVE-2024-4577) and similar Remote Code Execution (RCE) breaches.

    created 25 Oct 2026

  23. khwajasaad267-coder/cve-2024-4577-lab
    Caution 65 · 1 flag
    • readme lure (readme_lure)
    0 stars

    created 25 Aug 2026

  24. KimJuhyeong95/cve-2024-4577
    Caution 75 · 1 flag
    • new owner account (new_owner_account)
    0 stars

    created 27 May 2025

  25. watchtowrlabs/CVE-2024-4577Not checked326 stars

    PHP CGI Argument Injection (CVE-2024-4577) Remote Code Execution PoC

    created 7 Jun 2024

  26. xcanwin/CVE-2024-4577-PHP-RCENot checked162 stars

    [漏洞复现] 全球首款利用PHP默认环境(XAMPP)的CVE-2024-4577 PHP-CGI RCE 漏洞 EXP。

    created 8 Jun 2024

  27. TAM-K592/CVE-2024-4577Not checked75 stars

    CVE-2024-4577 is a critical vulnerability in PHP affecting CGI configurations, allowing attackers to execute arbitrary commands via crafted URL parameters.

    created 7 Jun 2024

  28. 11whoami99/CVE-2024-4577Not checked43 stars

    POC & $BASH script for CVE-2024-4577

    created 7 Jun 2024

  29. Chocapikk/CVE-2024-4577Not checked35 stars

    PHP CGI Argument Injection vulnerability

    created 9 Jun 2024

  30. PHP RCE PoC for CVE-2024-4577 written in bash, go, python and a nuclei template

    created 8 Jun 2024

  31. gh-ost00/CVE-2024-4577-RCENot checked26 stars

    PHP CGI Argument Injection (CVE-2024-4577) RCE

    created 20 Aug 2024

  32. created 7 Jun 2024

  33. gotr00t0day/CVE-2024-4577Not checked11 stars

    Argument injection vulnerability in PHP

    created 15 Jun 2024

  34. manuelinfosec/CVE-2024-4577Not checked10 stars

    Proof Of Concept RCE exploit for critical vulnerability in PHP <8.2.15 (Windows), allowing attackers to execute arbitrary commands.

    created 8 Jun 2024

  35. l0n3m4n/CVE-2024-4577-RCENot checked7 stars

    PoC - PHP CGI Argument Injection CVE-2024-4577 (Scanner and Exploit)

    created 6 Jul 2024

  36. aavamin/cve-2024-4577Not checked6 stars

    CVE-2024-4577

    created 12 Jun 2024

  37. 0x20c/CVE-2024-4577-nucleiNot checked5 stars

    CVE-2024-4577 nuclei-templates

    created 8 Jun 2024

  38. ATTACK PoC - PHP CVE-2024-4577

    created 11 Jul 2024

  39. longhoangth18/CVE-2024-4577Not checked4 stars

    created 14 Oct 2024

  40. Sh0ckFR/CVE-2024-4577Not checked4 stars

    Fixed and minimalist PoC of the CVE-2024-4577

    created 13 Jun 2024

  41. zomasec/CVE-2024-4577Not checked4 stars

    CVE-2024-4577 Exploit POC

    created 8 Jun 2024

  42. A Bash script designed to scan multiple domains for the CVE-2024-4577 vulnerability in PHP-CGI.

    created 4 Oct 2024

  43. AlperenY-cs/CVE-2024-4577Not checked2 stars

    Create lab for CVE-2024-4577

    created 28 Jun 2024

  44. d3ck4/Shodan-CVE-2024-4577Not checked2 stars

    POC for CVE-2024-4577 with Shodan integration

    created 12 Jun 2024

  45. phirojshah/CVE-2024-4577Not checked2 stars

    created 12 Sep 2024

  46. VictorShem/CVE-2024-4577Not checked2 stars

    CVE-2024-4577 POC

    created 17 Jun 2024

  47. created 12 Jun 2024

  48. ggfzx/CVE-2024-4577Not checked1 stars

    created 26 Jun 2024

  49. This is an Incident Response Walkthrough: Mitigating a Zero-Day Attack (CVE-2024-4577)

    created 24 Jun 2024

  50. Sysc4ll3r/CVE-2024-4577Not checked1 stars

    Nuclei Template for CVE-2024-4577

    created 7 Jun 2024

  51. taida957789/CVE-2024-4577Not checked1 stars

    created 7 Jun 2024

  52. Wh02m1/CVE-2024-4577Not checked1 stars

    created 7 Jun 2024

  53. Scanning CVE-2024-4577 vulnerability with a url list.

    created 10 Sep 2024

  54. created 24 Jul 2024

  55. 🚨 New Incident Report Completed! 🚨 Just wrapped up "Event ID 268: SOC292 - Possible PHP Injection Detected (CVE-2024-4577)" on LetsDefend.io. This analysis involved investigating an attempted Command Injection targeting our PHP server. Staying ahead of these threats with continuous monitoring and swift containment! 🛡️

    created 12 Sep 2024

  56. bl4cksku11/CVE-2024-4577Not checked0 stars

    This is a PoC for PHP CVE-2024-4577.

    created 11 Jun 2024

  57. PHP CGI Argument Injection (CVE-2024-4577) Remote Code Execution PoC

    created 11 Jun 2024

  58. bughuntar/CVE-2024-4577Not checked0 stars

    CVE-2024-4577 Exploits

    created 17 Aug 2024

  59. charis3306/CVE-2024-4577Not checked0 stars

    CVE-2024-4577 EXP

    created 3 Jul 2024

  60. dbyMelina/CVE-2024-4577Not checked0 stars

    python poc编写练手,可以对单个目标或批量检测

    created 9 Jun 2024

  61. Vietnam National Cyber Security (NCS)'s Internship - 2nd Test

    created 12 Jun 2024

  62. Automated PHP remote code execution scanner for CVE-2024-4577

    created 16 Jul 2024

  63. graphite-org/CVE-2024-4577Not checked0 stars

    created 7 Jun 2024

  64. created 18 Jun 2024

  65. Jcccccx/CVE-2024-4577Not checked0 stars

    批量验证POC和EXP

    created 31 Jul 2024

  66. olebris/CVE-2024-4577Not checked0 stars

    CVE-2024-4577

    created 28 Jun 2024

  67. princew88/CVE-2024-4577Not checked0 stars

    created 7 Jun 2024

  68. Ra1n-60W/CVE-2024-4577Not checked0 stars

    CVE-2024-4577

    created 7 Jun 2024

  69. created 7 Jun 2024

  70. first seen by skopnix 18 Oct 2026

  71. first seen by skopnix 18 Oct 2026

  72. first seen by skopnix 18 Oct 2026

  73. first seen by skopnix 18 Oct 2026

  74. first seen by skopnix 18 Oct 2026

  75. first seen by skopnix 18 Oct 2026

  76. first seen by skopnix 18 Oct 2026

  77. first seen by skopnix 18 Oct 2026

  78. first seen by skopnix 18 Oct 2026

  79. first seen by skopnix 18 Oct 2026

  80. first seen by skopnix 18 Oct 2026

  81. first seen by skopnix 18 Oct 2026

  82. first seen by skopnix 18 Oct 2026

  83. first seen by skopnix 18 Oct 2026

  84. first seen by skopnix 18 Oct 2026

  85. first seen by skopnix 18 Oct 2026

  86. first seen by skopnix 18 Oct 2026

  87. first seen by skopnix 18 Oct 2026

  88. first seen by skopnix 18 Oct 2026

  89. first seen by skopnix 18 Oct 2026

  90. first seen by skopnix 18 Oct 2026

  91. first seen by skopnix 18 Oct 2026

  92. first seen by skopnix 18 Oct 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Metasploit1

  1. This module exploits a PHP CGI argument injection vulnerability affecting PHP in certain configurations on a Windows target. A vulnerable configuration is locale dependant (such as Chinese or Japanese), such that the Unicode best-fit conversion scheme will unexpectedly convert a soft hyphen (0xAD) into a dash (0x2D) character. Additionally a target web server must be configured to run PHP under CGI mode, or directly expose the PHP binary. This issue has be

    ruby · first seen by skopnix 18 Oct 2026

Exploit-DB1

  1. created 15 Jun 2025

Nuclei detection templates1

  1. PHP CGI - Argument Injection (CVE-2024-4577) is a critical argument injection flaw in PHP.

    yaml · first seen by skopnix 18 Oct 2026

A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check