cvelo
P1 · CriticalIn CISA KEV since Jun 12, 2024EPSS 99%

PHP-CGI OS Command Injection Vulnerability

  • CVE-2024-4577

Summary

CVE-2024-4577 is an OS command injection vulnerability affecting PHP when run on Windows in CGI mode. It allows arbitrary code execution on the affected server. The flaw is described as a bypass of the earlier patch for CVE-2012-1823, meaning the original fix did not fully close the issue. The record lists the vulnerability as present in CISA's known exploited vulnerabilities list, indicating active exploitation has been observed. No CVSS score is given in the record. Teams running PHP on Windows with CGI enabled should prioritize reviewing their exposure and applying the vendor fix.

AI summary · verify against the vendor advisory

Description

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.

Text from the CISA KEV record.

Required action

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

Known to be used in ransomware campaigns.

From CISA KEV · due for US federal agencies by Jul 3, 2024

Recommendation

  • php

    • If you run 8.3.xupdate to 8.3.8 or laterPatch update: breaking changes are unlikely
    • If you run 8.2.xupdate to 8.2.20 or laterPatch update: breaking changes are unlikely
    • If you run 8.1.xupdate to 8.1.29 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • fedoraproject fedora

    Affected versionsFixed in
    39none stated
    40none stated
  • php

    Affected versionsFixed in
    from 8.3.0 to before 8.3.88.3.8
    from 8.2.0 to before 8.2.208.2.20
    from 8.1.0 to before 8.1.298.1.29

Product versions from the NVD record.

Timeline

  1. Added to CISA KEV
  2. EPSS first scored at 99%

Related news

Researchers reconstructed the operational attack chain of threat actor UAT-10147 and countered it with AI. · AI summary · verify against the vendor advisory · 1 outlet