← Search CVEs

CVE-2024-4577

CRITICAL 9.8 KNOWN EXPLOITED RANSOMWARE PoC CATALOGUED DETECTION TEMPLATE UPDATED SOURCE DATA

Published 2024-06-09 · Last modified 2025-10-21 · php · NVD: Analyzed

Evidence updated · Checked · PoC catalogue changed 2026-12-01T01:04:37.454Z

Source catalogue and publisher evidence; linked resources have not been executed or independently validated by Vulnpedia.

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.

ACTIVELY EXPLOITED

Confirmed exploited in the wild — in CISA KEV since 2024-06-12, linked to ransomware campaigns. Patch or mitigate now.

Exploitation likelihood

100.0%chance of exploitation in 30 days · 100th percentile

● In CISA KEV (2024-06-12)● Catalogued PoC◆ SSVC: exploitation active, automatable yes

Impact if exploited

9.8CVSS 3.1 · CRITICAL · CNA

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ✓Privileges: No account or privileges required
  • ✓User interaction: No user interaction needed
  • ✓Complexity: No special conditions — reliably repeatable

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

Public PoC or exploit resources are catalogued below.

Catalogue identity matched to the named source. HTTP link checks report catalogue page reachability only. Exploit contents and execution have not been verified by Vulnpedia.

PoC data: JSON

Detection templates

Detection checks are listed separately from PoCs.

Resource commands

nuclei -id CVE-2024-4577 -u https://TARGETDetection template — review its checks and affected versions before use.
searchsploit --cve CVE-2024-4577 && searchsploit -m 52047Fetch the ExploitDB PoC locally; review the code before running it.
searchsploit --cve CVE-2024-4577 && searchsploit -m 52331Fetch the ExploitDB PoC locally; review the code before running it.
curl -s https://vulnpedia.com/cve/CVE-2024-4577/poc.jsonMachine-readable PoC index for this CVE (for automation).

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Data snapshot:

Affected

Vendors PHP Group Php Group Php Microsoft Fedoraproject

Products PHP Windows Fedora

Weakness (CWE)

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

CVSS vector

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

References and research data (JSON) · Change history

Vendor product assessments

Showing 32 of 274 vendor product statements; 242 omitted. Read the full vendor advisory.

  • php.src as a component of Red Hat Enterprise Linux 10 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php?arch=src

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-fpm as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-fpm

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-pgsql as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pgsql

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-xmlrpc as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-xmlrpc

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-embedded as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-embedded

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-odbc as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-odbc

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-xmlrpc as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-xmlrpc

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • libzip-tools (php:8.0) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libzip-tools?rpmmod=php:8.0

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-bcmath (php:7.4) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-bcmath?rpmmod=php:7.4

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-dba (php:7.4) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-dba?rpmmod=php:7.4

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-embedded (php:7.4) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-embedded?rpmmod=php:7.4

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-fpm (php:7.4) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-fpm?rpmmod=php:7.4

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-intl (php:7.4) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-intl?rpmmod=php:7.4

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-ldap (php:8.2) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-ldap?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-odbc (php:8.2) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-odbc?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-pear.src (php:8.2) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pear?arch=src&rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-pecl-apcu.src (php:8.2) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pecl-apcu?arch=src&rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-pecl-rrd (php:8.2) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pecl-rrd?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-pecl-xdebug3 (php:8.2) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pecl-xdebug3?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-pecl-zip (php:8.0) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pecl-zip?rpmmod=php:8.0

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-recode (php:8.0) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-recode?rpmmod=php:8.0

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-xml (php:8.0) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-xml?rpmmod=php:8.0

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php (php:8.0) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php?rpmmod=php:8.0

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-common as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-common

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-dbg (php:8.2) as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-dbg?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-enchant (php:8.2) as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-enchant?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-gd (php:8.2) as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-gd?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-ldap (php:8.2) as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-ldap?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-odbc (php:8.2) as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-odbc?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-pgsql (php:8.1) as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pgsql?rpmmod=php:8.1

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php-soap (php:8.1) as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-soap?rpmmod=php:8.1

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00
  • php (php:8.2) as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php?rpmmod=php:8.2

    Red Hat · CVE-2024-4577 · Updated 2026-11-04T21:21:10+00:00

Unverified PoC candidates

Publisher-linked references and catalogue matches for further research. Candidate links do not establish public PoC availability. Their availability and exploit execution have not been verified by Vulnpedia.

75 candidates

Additional exploitation reports

Source-specific reports, separate from CISA KEV. Repeated observations from one source are not independent confirmations.

63 more source reports

Known Affected Software Configurations

VendorProductVersion range
PhpPhp≥ 8.1.0 and < 8.1.29
PhpPhp≥ 8.2.0 and < 8.2.20
PhpPhp≥ 8.3.0 and < 8.3.8
FedoraprojectFedora39
FedoraprojectFedora40

All CVSS metrics

  • CRITICAL 9.8 v3.1 · CNA Primary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CRITICAL 9.8 v3.1 · NVD Secondary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

Exploit-tagged references (not proof of a PoC)

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS