Cyber Intruders Leverage PHP Vulnerability, Unleash Quasar RAT and XMRig Miners
At a glance
- Recent Exploit: Attackers are mass-exploiting CVE-2024-4577, a critical argument-injection flaw in PHP-CGI on Windows.
- Malware Deployment: The flaw is being used to drop the Quasar RAT and XMRig cryptocurrency miners.
- Impact Assessment: Unpatched Windows web servers running PHP in CGI mode face remote takeover, data theft and hijacked CPU time.
- Security Recommendations: Patch PHP, or move off CGI mode, and check servers for the payloads described below.
How attackers are getting in through PHP-CGI
The bug is CVE-2024-4577. It lets an attacker run code on Windows servers that use PHP in CGI mode, and it affects the 8.1, 8.2 and 8.3 branches before the June 2024 fixes, plus older unsupported releases such as 8.0. Fixes have existed for months. Even so, Bitdefender reported in March 2025 that exploitation had surged, with attackers using the flaw to break into web servers and install malware.
The attack starts with a crafted web request that smuggles command-line arguments into PHP. That gives the attacker code execution. From there, batch scripts use PowerShell or certutil to pull down the next stage from attacker-controlled servers.
Quasar RAT, an old tool in a new campaign
One of those payloads is Quasar RAT, a well-known open-source remote access trojan. Criminals like it because it gives them full control of an infected machine: they can log keystrokes, take screenshots and copy files off the server while staying fairly quiet.
Know what matters before your first meeting.
Get the weekday brief for exploited vulnerabilities, new KEV additions, patch signals, and what deserves attention first.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
Pairing an old, dependable tool like Quasar with a freshly mass-exploited bug is a common pattern. Attackers don’t need new malware when the door is wide open, and defenders who only hunt for novel payloads will miss it.
XMRig and the cost of a hijacked server
Other attackers use the same flaw to install XMRig, a miner for the Monero cryptocurrency. The miner burns the victim’s processing power to earn money for the attacker. Servers slow down, cloud bills go up, and the miner can hide a more serious intrusion underneath. Bitdefender also saw miners disguised under harmless-looking file names.
The two payloads point to different goals. Quasar gives an attacker control and a foothold for later. XMRig turns that access into money right away.
Patch PHP-CGI now
The fix is clear. Update PHP to 8.3.8, 8.2.20 or 8.1.29 or later, and move off PHP-CGI on Windows where you can, since older unsupported branches will not get patches. Intrusion detection and prevention tools help catch exploit attempts against servers that cannot be updated right away.
Then look for signs of compromise. Harden server configurations, audit systems for unexpected scheduled tasks and outbound connections, and check for unfamiliar processes using heavy CPU.
Know what matters before your first meeting.
Weekday mornings. Five minutes. What changed in security, why it matters.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
What defenders should take from it
CVE-2024-4577 was patched in June 2024, yet attackers were still finding plenty of unpatched servers months later. Patch speed matters more than almost anything else here.
Long-lived flaws like this one reward attackers who scan widely and wait. Teams that keep an inventory of internet-facing servers, patch on a schedule and watch for odd outbound traffic will close that window much faster.
Newer CyberExperts coverage on this topic
This article still works as background. If you want the current picture, start with the freshest related coverage below and today's brief.
Citrix NetScaler CVE-2026-19490: The Auth Bypass That Went From PoC to Probes in a Day
CVE-2026-19490 is a CVSS 9.3 NetScaler Gateway/AAA auth bypass. A public PoC on Sept 2 was followed by live probes within a...
PaperCut NG/MF: The Print Server That Learned Remote Code Execution Again
CVE-2026-81578 and CVE-2026-82078 chain to pre-auth RCE on PaperCut Application Server. Confirm Emergency Patch Release 2, restrict admin exposure, and hunt like...
JFrog Artifactory CVE-2026-82329: Empty Join Key, Full Admin Token, Busy Scanners
CVE-2026-82329 lets attackers forge Artifactory admin tokens via a deterministic empty join key. Mass scanning peaked near 406,000 attempts; patch fixed builds...
Monday’s brief: Ivanti’s last VPN fix is due today, then WordPress update attacks, a fake Claude Code extension and Drupal stores
The fastest way to catch up on what changed after this article was published.
Start your morning with the signal that matters.
Get the biggest cybersecurity developments, why they matter, and where to go deeper on CyberExperts.
By subscribing you agree to our Privacy Policy.
Free. Weekdays. Built for operators.