Skip to main content
Mallory
← Back to News
actively-exploited-vulnerabilityrapid-weaponizationinternet-facing-service-vulnerabilityransomware-group-operation

PHP-CGI Argument Injection Flaw CVE-2024-4577 Exploited to Deploy TellYouThePass

Active Exploitation · 7 sources · Updated 3mo ago · First seen Dec 18, 2024

PHP-CGI Argument Injection Flaw CVE-2024-4577 Exploited to Deploy TellYouThePass

A critical remote code execution vulnerability in PHP on Windows, tracked as CVE-2024-4577, allows argument injection in PHP-CGI through Windows Best-Fit character encoding conversion. The flaw affects supported and unsupported PHP 5.x+ versions and is especially dangerous in CGI deployments where php-cgi.exe or php.exe is exposed to the web, including common default XAMPP-style configurations. Researchers reported that specially crafted HTTP requests can bypass prior protections and achieve remote code execution without authentication.

Security updates were released in PHP 8.3.8, 8.2.20, and 8.1.29, but exploitation began rapidly after disclosure. Multiple reports said attackers were using crafted POST requests to launch mshta.exe, retrieve a malicious HTA payload, and execute TellYouThePass ransomware via in-memory VBScript loading. Defenders were urged to patch immediately and, where patching was not yet possible, restrict or disable PHP-CGI exposure and apply web-server filtering and configuration mitigations to block exploit requests.

This is being exploited nowSee which actors are running it and whether you're in range.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Jun 6, 2024 – Dec 18, 2024
  1. Dec 18, 20242y ago

    Technical analysis of CVE-2024-4577 is published

    watchTowr Labs published a detailed analysis of CVE-2024-4577, further documenting the vulnerability and exploitation mechanics of the PHP issue.

    No Way, PHP Strikes Again! (CVE-2024-4577)
  2. Jun 14, 20242y ago

    PHP releases security updates for CVE-2024-4577

    PHP developers released fixes for CVE-2024-4577 in supported branches, with CSIRT.SK identifying patched versions as 8.3.8, 8.2.20, and 8.1.29. The updates addressed a critical Windows PHP-CGI remote code execution issue affecting supported and unsupported 5.x+ versions.

    Kritická zraniteľnosť PHP zneužívaná na šírenie ransomvéru | CSIRT.SK
  3. Jun 10, 20242y ago

    Attackers exploit CVE-2024-4577 to spread TellYouThePass ransomware

    Multiple sources reported active in-the-wild exploitation of CVE-2024-4577 to deliver TellYouThePass ransomware. CSIRT.SK described crafted HTTP POST requests triggering mshta.exe to run a malicious HTA file that decodes and loads malware into memory.

    Update: CVE-2024-4577 quickly weaponized to distribute “TellYouThePass” Ransomware | Imperva
  4. Jun 6, 20242y ago

    DEVCORE reports PHP-CGI argument injection flaw CVE-2024-4577

    DEVCORE published a security alert describing CVE-2024-4577, a PHP-CGI argument injection vulnerability on Windows caused by Best-Fit character encoding conversion that can lead to remote code execution.

    Devcore Blog
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
Php

Observables

13 linked

Indicator values are masked on this page. View all 13 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Correlate live exploitation activity against the software you actually run, and see where you're exposed.
See Who's Exploiting This
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.