{"id":12597,"date":"2025-03-31T14:33:26","date_gmt":"2025-03-31T14:33:26","guid":{"rendered":"https:\/\/fusionmindlabs.com\/blogs\/wp-mu-plugins-exploited-for-spam\/"},"modified":"2025-03-31T14:33:27","modified_gmt":"2025-03-31T14:33:27","slug":"wp-mu-plugins-exploited-for-spam","status":"publish","type":"post","link":"https:\/\/fusionmindlabs.com\/blogs\/wp-mu-plugins-exploited-for-spam\/","title":{"rendered":"WP mu-Plugins Exploited for Spam"},"content":{"rendered":"\n<\/p>\n<div>\n<p><span class=\"p-author\"><i class=\"icon-font icon-calendar\">\ue802<\/i><span class=\"author\">Mar 31, 2025<\/span><i class=\"icon-font icon-user\">\ue804<\/i><span class=\"author\">Ravie Lakshmanan<\/span><\/span><span class=\"p-tags\">Data Theft \/ Website Security<\/span><\/p>\n<\/div>\n<div id=\"articlebody\">\n<div class=\"separator\" style=\"clear: both;\">\n<a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhPGs9FlgRjx323jLr6R1UyNy0lWWISc2edWq4imI_fj-_BJtcrFgd0R10xYSfN2fVkeJ8MqNhCrASXtLqY2uWCPikggp_hMXpRdwltBrTZmmKHIqnXAnyI39VE1XYijoqTZz5sHZ8wc40O1603uoxkgGtayMUg22MrEV30HVjAyB-PpJizNsEORBHOwAFs\/s728-rw-e365\/wordpress.jpg\" style=\"clear: left; display: block; float: left;  text-align: center;\" rel=\"nofollow noopener\" target=\"_blank\"><\/p>\n<p><\/a>\n<\/div>\n<p>Malicious actors are exploiting a vulnerability in WordPress sites by utilizing the &#8220;mu-plugins&#8221; directory to conceal malicious code, allowing them to maintain persistent remote access and redirect site visitors to fake websites.<\/p>\n<p>The term &#8220;mu-plugins&#8221; refers to must-use plugins, which are located in a special directory (&#8220;wp-content\/mu-plugins&#8221;) and are automatically executed by WordPress without needing to be enabled through the admin dashboard. This makes the directory an attractive location for malicious actors to stage malware.<\/p>\n<p>According to Sucuri researcher Puja Srivastava, &#8220;this approach represents a concerning trend, as mu-plugins are not listed in the standard WordPress plugin interface, making them less noticeable and easier for users to overlook during routine security checks,&#8221; as stated in an <a href=\"https:\/\/blog.sucuri.net\/2025\/03\/hidden-malware-strikes-again-mu-plugins-under-attack.html\" rel=\"noopener nofollow\" target=\"_blank\">analysis<\/a>.<\/p>\n<div class=\"dog_two clear\">\n<center class=\"cf\"><br \/>\n<a href=\"https:\/\/thehackernews.uk\/cis-securesuite\" rel=\"nofollow noopener sponsored\" target=\"_blank\" title=\"Cybersecurity\"><br \/>\n<img fetchpriority=\"high\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhsFQaSLfkFdKcodtNnSya8V2yj1C_ZVcqQImhnHDikdLhrgZ4hoAIdzNPEjMn6tIl2dSBa9PZVJm5Q6CW4Iprd32O0xaNt3UTVX1U9kEK629GDLqpr7Dd6lynygeNXdkuKNi_TlVZ1vRZI_fXFdvFwBm25WNf4tQHZfgpXHiaw1nnd6E5jLX8vrn4fB3mN\/s728-e100\/cis-d.png\" width=\"727\" height=\"90\"\/><br \/>\n<\/a><br \/>\n<\/center>\n<\/div>\n<p>In incidents analyzed by the website security company, three types of malicious PHP code have been discovered in the directory:<\/p>\n<ul>\n<li>&#8220;wp-content\/mu-plugins\/redirect.php,&#8221; which redirects site visitors to an external malicious website<\/li>\n<li>&#8220;wp-content\/mu-plugins\/index.php,&#8221; which provides web shell-like functionality, allowing attackers to execute arbitrary code by downloading a remote PHP script <a href=\"https:\/\/github.com\/starkvps99812\/upd\" rel=\"noopener nofollow\" target=\"_blank\">hosted on GitHub<\/a><\/li>\n<li>&#8220;wp-content\/mu-plugins\/custom-js-loader.php,&#8221; which injects unwanted spam onto the infected website, likely to promote scams or manipulate SEO rankings, by replacing all images on the site with explicit content and hijacking outbound links to malicious sites<\/li>\n<\/ul>\n<p>The &#8220;redirect.php&#8221; script disguises itself as a web browser update to trick victims into installing malware that can steal data or drop additional payloads.<\/p>\n<p>Srivastava explained, &#8220;the script includes a function that identifies whether the current visitor is a bot, allowing it to exclude search engine crawlers and prevent them from detecting the redirection behavior.&#8221;<\/p>\n<p>This development comes as threat actors continue to use infected WordPress sites as staging grounds to trick website visitors into running malicious PowerShell commands on their Windows computers under the guise of a Google reCAPTCHA or Cloudflare CAPTCHA verification, a tactic known as <a href=\"https:\/\/thehackernews.com\/2025\/03\/microsoft-warns-of-clickfix-phishing.html\" rel=\"noopener nofollow\" target=\"_blank\">ClickFix<\/a>, to deliver the Lumma Stealer malware.<\/p>\n<div class=\"separator\" style=\"clear: both;\">\n<a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgSaF0a-hOZ15GRz7WYeWfBATHcTIMYRLTgs0hY5NNCEsp182efKGKZU99NB4MzGVu_MvcPIS13AqQliomFHf8f6tfcCe7K7tbkmrUUSLDt4PqRvwhl-f5-falmciRiaKYTxwOvq2_2H-VNQe8eTB5pUgrzTA9-0QbAO7RBpkquUnVhuLazesWB8EMY85e2\/s728-rw-e365\/shell.png\" style=\"clear: left; display: block; float: left;  text-align: center;\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgSaF0a-hOZ15GRz7WYeWfBATHcTIMYRLTgs0hY5NNCEsp182efKGKZU99NB4MzGVu_MvcPIS13AqQliomFHf8f6tfcCe7K7tbkmrUUSLDt4PqRvwhl-f5-falmciRiaKYTxwOvq2_2H-VNQe8eTB5pUgrzTA9-0QbAO7RBpkquUnVhuLazesWB8EMY85e2\/s728-rw-e365\/shell.png\" alt=\"Hackers Exploit WordPress\" border=\"0\" data-original-height=\"701\" data-original-width=\"820\" title=\"Hackers Exploit WordPress\"\/><br \/>\n<\/a>\n<\/div>\n<p>Hacked WordPress sites are also being used to deploy malicious JavaScript that can <a href=\"https:\/\/blog.sucuri.net\/2025\/03\/cascading-redirects-unmasking-a-multi-site-javascript-malware-campaign.html\" rel=\"noopener nofollow\" target=\"_blank\">redirect visitors<\/a> to unwanted third-party domains or <a href=\"https:\/\/blog.sucuri.net\/2025\/03\/credit-card-skimmer-and-backdoor-on-wordpress-e-commerce-site.html\" rel=\"noopener nofollow\" target=\"_blank\">act as a skimmer<\/a> to siphon financial information entered on checkout pages.<\/p>\n<p>The method used to breach the sites is currently unknown, but common vulnerabilities include vulnerable plugins or themes, compromised admin credentials, and server misconfigurations.<\/p>\n<div class=\"dog_two clear\">\n<center class=\"cf\"><br \/>\n<a href=\"https:\/\/thehackernews.uk\/cloud-secure-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\" title=\"Cybersecurity\"><br \/>\n<img decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhPWsOsc5-XgG7OgLaedicSgtFyWz34mXvDdyCyBN0HSv2LVBMQPs-Ma8uaYGqN19Mvm7puED6vlOFihpguPFfq-e_PQ6pfqHPeMKSX6luNSqXs_m3IHmaA6waPe8qHtxB35qw_CdmXzEDQ30crRU_-UvN9w8cSL1W51CocP1fJXyJIrdUcBNvSaMyhb_cV\/s728-e100\/cloud-secure-d.jpg\" width=\"727\" height=\"90\"\/><br \/>\n<\/a><br \/>\n<\/center>\n<\/div>\n<p>A recent report from Patchstack revealed that threat actors have <a href=\"https:\/\/patchstack.com\/articles\/new-year-new-threats-q1-2025s-most-exploited-wordpress-vulnerabilities\/\" rel=\"noopener nofollow\" target=\"_blank\">routinely exploited<\/a> four different security vulnerabilities since the start of the year, including:<\/p>\n<ul>\n<li>CVE-2024-27956 (CVSS score: 9.9) &#8211; An unauthenticated arbitrary SQL execution vulnerability in WordPress Automatic Plugin &#8211; AI content generator and auto poster plugin<\/li>\n<li>CVE-2024-25600 (CVSS score: 10.0) &#8211; An unauthenticated remote code execution vulnerability in Bricks theme<\/li>\n<li>CVE-2024-8353 (CVSS score: 10.0) &#8211; An unauthenticated PHP object injection to remote code execution vulnerability in GiveWP plugin<\/li>\n<li>CVE-2024-4345 (CVSS score: 10.0) &#8211; An unauthenticated arbitrary file upload vulnerability in Startklar Elementor Addons for WordPress<\/li>\n<\/ul>\n<p>To mitigate these threats, it is crucial that WordPress site owners keep plugins and themes up to date, regularly audit code for malware, enforce strong passwords, and deploy a web application firewall to block malicious requests and prevent code injections.<\/p>\n<p><\/p>\n<div class=\"cf note-b\">Found this article interesting?  Follow us on <a href=\"https:\/\/twitter.com\/thehackersnews\" rel=\"noopener nofollow\" target=\"_blank\">Twitter <i class=\"icon-font icon-twitter\">\uf099<\/i><\/a> and <a href=\"https:\/\/www.linkedin.com\/company\/thehackernews\/\" rel=\"noopener nofollow\" target=\"_blank\">LinkedIn<\/a> to read more exclusive content we post.<\/div>\n<\/div>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/thehackernews.com\/2025\/03\/hackers-exploit-wordpress-mu-plugins-to.html\" rel=\"nofollow noopener\" target=\"_blank\">Source Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ue802Mar 31, 2025\ue804Ravie LakshmananData Theft \/ Website Security Malicious actors are exploiting a vulnerability in WordPress sites by utilizing the &#8220;mu-plugins&#8221; directory to conceal malicious code, allowing them to maintain&#8230;<\/p>\n","protected":false},"author":19,"featured_media":12598,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[46,39,32,31,33,34,35,40,36,37,42,44,43,41,38,45],"class_list":["post-12597","post","type-post","status-publish","format-standard","has-post-thumbnail","category-cybersecurity","tag-computer-security","tag-cyber-attacks","tag-cyber-news","tag-cyber-security-news","tag-cyber-security-news-today","tag-cyber-security-updates","tag-cyber-updates","tag-data-breach","tag-hacker-news","tag-hacking-news","tag-how-to-hack","tag-information-security","tag-network-security","tag-ransomware-malware","tag-software-vulnerability","tag-the-hacker-news"],"jetpack_featured_media_url":"https:\/\/fusionmindlabs.com\/blogs\/wp-content\/uploads\/sites\/9\/2025\/03\/wordpress.jpg","_links":{"self":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/12597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/comments?post=12597"}],"version-history":[{"count":1,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/12597\/revisions"}],"predecessor-version":[{"id":12599,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/12597\/revisions\/12599"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media\/12598"}],"wp:attachment":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media?parent=12597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/categories?post=12597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/tags?post=12597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}