CrowdSecLive Exploit Tracker
Background NoiseCVE-2024-4577Public Exploit

PHP/XAMPP - RCE (CVE-2024-4577)

PublishedJun 9, 2024
First SeenJun 10, 2024
Last Seen
Reported
CVSS9.8
windowsphp

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.

psychologyCrowdSec Analysis

CVE-2024-4577 is a critical vulnerability affecting PHP installations using Apache with PHP-CGI on Windows. It arises from improper handling of command-line arguments when certain system code pages are in use, allowing attackers to manipulate input and potentially force the execution of arbitrary PHP code or leak sensitive script source code.

CrowdSec has been tracking this vulnerability and its exploits since 10th of June 2024.

Based on data from the CrowdSec network, nearly all observed exploitation of CVE-2024-4577 is fully opportunistic, with attackers indiscriminately scanning the entire internet. These attacks are automated and lack any form of target selection or reconnaissance. CrowdSec data also reveals a clear uptick in attacks involving CVE-2024-4577 over the past week. Activity is above the usual baseline, suggesting growing attention from attackers. This may reflect rising awareness, recent exploit releases, or expanded targeting efforts.

Detection patterns commonly involve crafted requests aiming to exploit PHP-CGI processing quirks on affected systems.

lock

Full Intelligence Available

Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.

EventDate
CVE Published2024-06-09
Rule Released2024-06-10
CrowdSec First Seen2024-06-10
CISA KEV2024-06-12
CISA Remediation Deadline2024-07-03

Remediation & Protection

lock to download blocklists, subscribe to firewalls, and access IP intelligence.

External References