CVE Intelligence
Skip to main content
CISA KEVRansomwarecriticalRemote Code Execpublic exploit

CVE-2024-4577

CVE-2024-4577 — 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.

Published Updated Sources: NVD, PHP Group (CNA), CISA, FIRST EPSS, GitHub, Exploit-DB, Red Hat (VEX), SOCRadar CTI

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Confirmed

CISA KEV, listed Jun 12, 2024

EPSS

100%

top of FIRST's scoreset

Affects

PHP Group

3 products listed

CVSS base

9.8

critical

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

Active

none · proof-of-concept · active

Automatable

Yes

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Remediation

The vendor's own words where we have them.

Upgrade PHP to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.

CISA required action

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Federal deadline Jul 3, 2024 — passed 800 days ago

Red Hat VEX · CVE-2024-4577

fixed0affected0not affected299

workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applic…

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Treat as emergency remediation because CISA KEV status is present.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

VendorProductVersionsStatus
PHP GroupPHP8.1.* to < 8.1.29Vulnerable
PHP GroupPHP8.2.* to < 8.2.20Vulnerable
PHP GroupPHP8.3.* to < 8.3.8Vulnerable

Attack characteristics

The CVSS vector, decoded. It describes the attack, not your exposure to it.

Availability

High

Confidentiality

High

Integrity

High

Scope

Unchanged

Attack Complexity

Low

Attack Vector

Network

Privileges Req

None

User Interaction

None

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

ScoreVersionSeverityExpl.ImpactSource
9.8CVSS 3.1critical3.95.9php.net (CNA), NVD, PHP Group (CNA), Red Hat (VEX)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What this weakness leads to

MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.

MITRE

CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • Execute Unauthorized Code or Commands
  • DoS: Crash, Exit, or Restart
  • Read Files or Directories
  • Modify Files or Directories

Mitigation: If at all possible, use library calls rather than external processes to recreate the desired functionality.

Weakness & attack patterns

  • CWE-78OS Command Injection

Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.

CAPEC-15 · Command DelimitersCAPEC-88 · OS Command InjectionCAPEC-43 · Exploiting Multiple Input Interpretation LayersCAPEC-108 · Command Line Execution through SQL InjectionCAPEC-6 · Argument Injection

CISA KEV details

CISA lists a CVE here once it has evidence of exploitation against real targets.

Listed

Jun 12, 2024

Federal deadline

Jul 3, 2024

passed 800 days ago

Ransomware use

Known

CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

Repositories

208

2 of the 5 sampled are weaponized

Exploit entries

38

Exploit-DB and CTI exploit indexes

Malware

Families a CTI source ties to this CVE. One named, with the total it tracks.

Families tracked

14

Named

Akira

akira, elf.akira, win.akira

Social mentions

Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Prioritize edge telemetry for network-reachable PHP.
  • Monitor for scanner or exploit-pattern traffic after 246 public PoC repositories were reported.
web/proxy/WAF logsapplication logsnetwork IDS/IPSEDR process telemetryhost service logs

Groups associated with this CVE

Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.

KimsukyMuddyWaterRAZOR TIGERUAC-0020Lazarus Group
SOCRadar24 more threat groups on this CVEShowing 5 of 29 · Attribution, campaigns and the malware each one runsUnlock free
  • ip123.49.56.5478

    AbuseIPDB Hourly Update · Aug 24, 2026

  • ip123.30.50.14860

    Maltiverse IP List · Nov 23, 2024

  • ip192.210.186.20648

    AbuseIPDB Hourly Update · Nov 28, 2025

  • ip45.164.39.25329

    Zonefiles · Jan 8, 2021

  • ip195.177.94.8080

    SOCRadar Threat Exchange Services · Jul 29, 2026

SOCRadar5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock free

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Cve is exploited DuyDuongDuyDuong/CVE-2024-4577-Exploitation-AsyncRAT-Deployment-DFIR-Investigatio

    Aug 14, 2026 · SOCRadar CTI

  3. Added · CVSS 3.1 9.8 (AV:N)

    Jun 17, 2026 · NVD

  4. Cve is exploited gl1tch0x1/PHP_8.1.x_Exploit

    Apr 30, 2026 · SOCRadar CTI

  5. 2025
  6. Added · webapps entry: PHP CGI Module 8.3.4 - Remote Code Execution (RCE)

    Jun 15, 2025 · Exploit-DB

  7. 2024
  8. Added to CISA KEV catalog

    Jun 12, 2024 · CISA

  9. Initial · CVE published

    Jun 9, 2024 · NVD

Source activity

Readings a source repeats on a schedule, counted rather than listed.

  • 17×SVRS was changedMar 31, 2026 – Jul 24, 2026 · SOCRadar CTI
  • TweetsMar 10, 2026 – Aug 3, 2026 · SOCRadar CTI
  • Github ReposApr 29, 2026 – Aug 10, 2026 · SOCRadar CTI

References

32 on the record

Coverage

11 stories from the feeds we poll

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2024-4577 is Argument Injection in PHP-CGI, a critical vulnerability affecting PHP from PHP Group. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 246 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.