Stealthy WordPress Backdoor Hidden in `mu-plugins` Enables Persistent RCE
Attack Tradecraft · 3 sources · Updated 3mo ago · First seen Jul 22, 2025

Researchers reported attackers are hiding malicious PHP code in WordPress sites’ mu-plugins directory, a location that loads plugins automatically and is often overlooked because entries do not appear in the standard administrative plugin view. In one observed intrusion, a file named wp-index.php in wp-content/mu-plugins/ fetched a second-stage payload from a ROT13-obfuscated URL, giving the attacker persistent access and the ability to execute remote PHP code on the compromised server.
Additional infections linked to the same technique included redirects to fake update pages, website defacement or content replacement, and webshell deployment. The reported impact ranges from remote code execution and privilege escalation to denial of service and full site compromise, prompting defenders to audit the mu-plugins folder, review indicators of compromise, keep WordPress components updated, enforce proper file permissions, and disable in-dashboard file editing in wp-config.php.


