Vulnerability in WP Rocket WordPress Plugin Under Ongoing Attack – 2-Spyware

Try Our Free Tools!
Master the web with Free Tools that work as hard as you do. From Text Analysis to Website Management, we empower your digital journey with expert guidance and free, powerful tools.

A Grave Vulnerability in WP Rocket Unveiled

A critical vulnerability in WP Rocket, one of the preeminent premium speed optimization plugins for WordPress, is currently being exploited to infiltrate websites.

This flaw can be activated by anyone online without the need for authentication, enabling malicious actors to execute arbitrary code on the compromised web servers.

WP Media, the developer behind the plugin, claims that it is utilized across more than 5.6 million websites.

Thus, if you oversee a WordPress site—be it for e-commerce, a clinic, a club, or a personal blog—it is imperative to verify your plugin’s version without delay.

The Mechanics of the WP Rocket Flaw

WP Rocket enhances website performance by employing caching mechanisms. A minor script within the browsers of visitors relays page metrics back to a public domain on the site, allowing the plugin to optimize the page using the URLs contained in these reports.

As indicated by Patchstack, a specialist in WordPress security, the plugin inadequately scrutinizes these addresses.

Researchers have expressed that the plugin “lacks rigorous validation of these parameters.” A meticulously crafted report can deceive the site into downloading a file from a malicious server, saving it as a PHP file and executing it subsequently. This flaw is cataloged as CVE-2026-125812 and has been assigned a severity rating of 9.8 out of 10.

Which Users Are at Risk?

Only websites running versions earlier than 3.24.2 are vulnerable, specifically when either of two settings in the plugin’s media options is activated: the lazy loading of CSS background images or the local hosting of Google fonts.

Neither option is enabled by default. While this revelation may seem comforting, Patchstack highlights that websites optimized for speed frequently enable these settings.

Attackers are cognizant of this fact and often issue queries targeting both settings simultaneously to exploit any that are active.

Discrepancies in estimates of the potential exposure exist among sources. WP Media cites over 5.6 million sites and around 394,000 customers, whereas Patchstack refers to the plugin listing, indicating more than 5.5 million installations.

Chronology of the Attacks

The initial attack was detected by Patchstack on November 25 at 15:27 UTC, and within a mere day, the activities became automated.

By November 26, the company had blocked tens of thousands of malicious requests, with just a handful of source addresses accounting for approximately fifty percent of all traffic since the onset of the attacks.

Multiple groups appear to be coordinating these attempts. One particular group issued identical requests from four distinct residential IP addresses, implying the utilization of a rotating proxy pool.

The files sought by these attackers are hosted on bare IP addresses, transitory wildcard domains, temporary tunnels via Cloudflare, and potentially additional compromised WordPress sites.

Furthermore, InstaWP reported that a public proof of concept was published on GitHub on the very day the CVE was recorded.

Statements from the Developer and Security Experts

WP Media implemented a fix in version 3.24.2 on November 19 and subsequently distributed an advisory urging all users to upgrade.

InstaWP reports that the vulnerability was disclosed through Patchstack’s bug bounty program on November 4 by a researcher known as Vorelito. However, BleepingComputer refrains from identifying the discoverer.

Patchstack asserts that its own defensive measures against this vulnerability were activated more than 48 hours prior to the initial attack, thereby ensuring protection for its clientele from the outset.

Vikas Singhal, the founder of InstaWP, succinctly advised, “Update WP Rocket to 3.24.2 or later immediately.”

Immediate Actions Required

For those managing WordPress sites, it is crucial to follow these steps diligently:

  1. Access the Plugins section in your dashboard and verify the WP Rocket version. If it is below 3.24.2, an update is essential.
  2. Perform the upgrade to version 3.24.2 or a later iteration. As WP Rocket is a premium product, access to an active license may be necessitated, and be mindful that some web hosts might not facilitate this update for you.
  3. If immediate updating is unfeasible, disable both the background image lazy loading feature and the local font hosting settings, or consult your security provider for blocking rules.
  4. Conduct a thorough inspection for any unfamiliar files, particularly in the wp-content, uploads folder, and wp-rocket-config directories, searching for PHP files prefixed with wp-media-.
  5. Upon discovery of unauthorized files, restore a backup from before November 25, implement the plugin update, and proceed to change administrative passwords and rotate your site’s security keys.

Implications of a Hacked Site for Visitors

If your role is merely as a visitor to various websites, there is no remedial action you can directly undertake; however, awareness of the inherent risks is essential.

A compromised website can serve as a staging ground for further cyberattacks. Criminals often utilize these hijacked sites to deploy downloaders that fetch additional malware, a topic explored in our comprehensive discussion on the Trojan.Downloader family.

They may also embed code for illicit cryptocurrency mining, as detailed in our investigations on the XMRig miner and JS/CoinMiner. To date, there are no confirmed reports indicating that the WP Rocket attackers have engaged in these activities.

A gold Bitcoin token placed on a laptop keyboard, symbolizing cryptocurrency and digital transactions.

Anticipating Future Developments

It is likely that the assaults will persist in the coming weeks. Publicly accessible exploit code exists, and many smaller website proprietors scarcely log in to perform necessary updates.

Patchstack indicates it will continue to refine its updates and has published lists of attack sources that site owners can block.

If a third-party agency or hosting provider manages your site, inquire with them this week regarding the review of WP Rocket’s security posture.

Source link: 2-spyware.com.

Disclosure: This article is for general information only and is based on publicly available sources. We aim for accuracy but can't guarantee it. The views expressed are the author's and may not reflect those of the publication. Some content was created with help from AI and reviewed by a human for clarity and accuracy. We value transparency and encourage readers to verify important details. This article may include affiliate links. If you buy something through them, we may earn a small commission — at no extra cost to you. All information is carefully selected and reviewed to ensure it's helpful and trustworthy.

Reported By

Souvik Banerjee

I’m Souvik Banerjee from Kolkata, India. As a Marketing Manager at RS Web Solutions (RSWEBSOLS), I specialize in digital marketing, SEO, programming, web development, and eCommerce strategies. I also write tutorials and tech articles that help professionals better understand web technologies.
Share the Love
Related News Worth Reading