Skip to main intelligence content
SOURCES: CISA KEV + NIST NVD 2.0 + FIRST EPSS
LOOT & EXPLOITS
DEFENSIVE VULN & TOOL TRIAGE

PAID STACK WATCH · $99/year or $12/month

Back to Exploit Watch
Free RSS · PHP GroupLast Sync: 2026-11-29 00:17:02 UTC

CVE-2024-4577

CONFIRMED EXPLOITEDKNOWN RANSOMWARE CAMPAIGN USE
9.8CRITICALNIST NVDEPSS 94.81%(99.9th pct)
PHP Group // PHP

PHP-CGI OS Command Injection Vulnerability

Added to CISA KEV2024-06-12
NVD Published Date2024-06-09
NVD Last Modified2026-06-17
CWE ClassificationCWE-78

Is PHP Group PHP affected by CVE-2024-4577?

PHP Group PHP is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2024-4577, added on 2024-06-12. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.

Affected products published by NIST NVD (5 vulnerable CPE entries): fedoraproject fedora and php php.

Published CPE version bounds mark releases below 8.3.8 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.

The CISA remediation deadline for this entry is 2024-07-03, and CISA records known ransomware campaign use against it.

RELATED VULNERABILITY DOSSIERS

Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.

1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM

CISA KEV Verified Summary

PHP, specifically Windows-based PHP used in CGI mode, contains an OS command injection vulnerability that allows for arbitrary code execution. This vulnerability is a patch bypass for CVE-2012-1823.

Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)

What the Vulnerability Actually Does (NVD / CNA Technical 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.

2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS

CISA REPORTED VENDORPHP Group
CISA REPORTED PRODUCTPHP
Verified NIST NVD CPE 2.3 Version Ranges (6 entries):
php:php
>= 8.1.0 , < 8.1.29
php:php
>= 8.2.0 , < 8.2.20
php:php
>= 8.3.0 , < 8.3.8
microsoft:windows
All/Unspecified in CPE
fedoraproject:fedora
== 39
fedoraproject:fedora
== 40

3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT

Confirmed Exploitation Evidence (Cited to CISA KEV)

This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2024-06-12. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Known".

Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of PHP has been compromised.

Potential Impact (Vector-Derived)
  • CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
Defensive Detection Opportunities
  • HTTP / web application surface (PHP Group PHP): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
  • Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
  • Inventory all hosts running PHP Group PHP and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.

4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS

CISA Required Remediation Action (Due Date: 2024-07-03)

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

NIST NVD Official Reference Advisories (25):

SCORING & VECTOR TELEMETRY

NIST NVD CVSS v3.1 Base Score
9.8 / 10.09.8CRITICALNIST NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary assessment authored by NIST NVD (nvd@nist.gov).

FIRST EPSS 30-Day Exploitation Probability
94.81%EPSS 94.81%(99.9th pct)
Percentile: 99.9th pct · Raw: 0.94815 · Date: 2026-11-28

EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.

RELEVANT DEFENSIVE TOOLS

Curated open-source defensive and verification utilities from The Loot applicable to this asset class:

SOURCE PROVENANCE LOG

CISA KEV Feed
Catalog v2026.11.27 · Synced 2026-11-29T00:16:56Z
NVD CVE 2.0 API & CVSS Authority
Enriched: 2026-11-29T00:17:02Z
Score Source: NIST NVD (nvd@nist.gov)
FIRST EPSS v1 API
Score Date: 2026-11-28