PHP· ()

Patch todayExploited in the wild (CISA KEV)CISA due 2024-07-03

CVE-2024-4577: PHP-CGI OS Command Injection Vulnerability

What
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.
Fix
apply the vendor fix or mitigation
Why this tier
Known exploited and used in ransomware campaigns.
Exploited
Yes: 1 CVE in CISA KEV · highest EPSS 100%
Share this

What to do now#

  1. Check whether you run an affected PHP version:
    php -v
  2. Apply the vendor fix. CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.Vendor advisory
  3. Restart php-fpm (or your web server) after upgrading so workers load the new binary.
  4. Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2024-4577:Debian · Ubuntu · Red Hat · Alpine
  5. This is exploited in the wild: after patching, check exposed systems for signs of compromise.
  6. Deadline: CISA's federal due date is 2024-07-03. Treat it as the latest reasonable date for everyone else.

CVEs 1#

CVETierCVSSEPSSKEVSSVC exploitation
CVE-2024-4577Patch today9.8 (v3.1)100%Yesactive

Sources#

Built from CISA: Known Exploited Vulnerabilities, checked . Tier from the published rubric.

Also on today's list

See today's list → · Coming up →

Linux distribution packages#

Running the distro’s package? These are the versions that carry the fix.

Linux distribution packages CVE-2024-4577

DistroReleasePackageStatus
Debian12 bookwormphp8.2Not affected
Red Hat Enterprise LinuxRHEL 10phpNot affected
RHEL 9phpNot affected
RHEL 8phpNot affected
RHEL 7phpNot affected
RHEL 6phpNot affected

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Something wrong on this page?
Anonymous. Reports are checked against the primary source.