Field notes · Exploited in the wild
One plugin flaw, four days, two attackers.
A remote code execution flaw in WP Rocket (CVE-2026-125812) was published on 23 November 2026. On 27 November, two different actors used it on two websites of a hosting account we were already investigating. This is what they did, from the server logs and the files they left behind.
AnonymisedReal case, November 2026Indicators included
Timeline
Four days from publication to two compromises.
Both websites ran WP Rocket 3.23.5.1. The fixed version, 3.24.2, was offered in the WordPress dashboard the whole time. All times UTC.
- Mon 23 Nov. The flaw is published. It lets anyone on the internet run code on the server, with no login.
- Tue 24 Nov. First scanners on the hosting, looking for web shells left by other attackers.
- Fri 27 Nov, 08:51. Site B is compromised by a hands-on actor.
- Fri 27 Nov, 18:33. Site A is compromised by an automated actor.
- Fri 27 Nov, 21:57. We find and remove the web shell on site A and update the plugin, with the owner’s agreement.
- Sat 28 Nov. The whole hosting is checked. The implants on site B are removed and the plugin is taken off every site.
Site A · Actor 1
An automated attack, stopped by one setting.
Six probe requests with a random wpr value in the query string, one POST to admin-ajax.php, and four seconds later a ten-line PHP file in wp-content. Its own comment calls it a “callback payload” that proves the server can run commands before the “canonical shell” is uploaded.
echo $((2717+1743)). The hosting had shell_exec disabled, so each call ended in a fatal error. The actor never came back.Site B · Actor 2
A person, ready for exactly that setting.
Same hosting, same PHP settings, same plugin version. This actor’s shell calls itself a “post-exploit shell” that “works when exec() is blocked”: if every command function is disabled, it falls back to plain PHP to list folders, read files and write files, and it accepts PHP code to run directly.
08:51 · In
One request to the flaw, the shell is written to
wp-content. Two minutes later it answers.08:53 · Hide
The shell renames itself to a random name ending in
-shell.php.11:03 · Lock the door
A must-use plugin is written that switches off the vulnerable WP Rocket feature. More on this below.
13:05 · Move in
A 587 KB file manager is downloaded from a temporary tunnel into the web root, plus a hidden copy.
The detail that matters
The attacker patched the flaw behind them.
The file is called “Cache Guard”. It turns off the font cache and the beacon handler of WP Rocket, the path the flaw goes through, so no other attacker can use it on this site. Must-use plugins load on every request and do not appear in the normal plugin list.
A site that suddenly looks “patched” is not always a safe site. Sometimes it is a site that already has an owner.
Stage two
A file manager built for shared hosting.
The second payload fetched “GECKO FM PRO” from a Cloudflare quick tunnel and wrote it twice: once in the web root, once as a hidden file. It is protected by a password and a lock-out after five failures.
- Persistence. A cron template and a runner script in a hidden folder under
/tmp. - Reach beyond the site. Symlink reading of other users’ files and mass copy across virtual hosts.
- Clean-up of protections. Removal of
.htaccessfiles. - What we saw used. Only the login page was loaded, five times. No login to it appears in the logs, and we found no cron job, no process and no file in
/tmp.
Background noise
Others came looking for shells they did not plant.
From 24 November, scanners asked the same sites for well-known web shell names with ?c=id. They did not attack. They checked whether someone else already had. Requests like this on the hosting went from 6 a day to 92 on 25 November and 132 on 27 November.
If you run WP Rocket
Six checks, in this order.
Update every copy
Version 3.24.2 or later, on the live site and on every old, test or language copy on the same hosting. Here, two copies still ran vulnerable versions after the main site was fixed.
Look for PHP where it does not belong
Any
.phpfile directly inwp-content/, anything inwp-content/mu-plugins/you did not install, and new or hidden files in the web root.Read the logs since 23 November
Query strings with
lang=wprorlp-variation-id=wpr, aPOSTtoadmin-ajax.phpfollowed by a request to a new PHP file, and any?c=,?php=or?r=on a file you do not know.Clear the cache after cleaning
On site B the shell was written again when WP Rocket preloaded a page, at the same second. Deleting the file is not enough while the cache still holds the poisoned entry.
Do not restore blindly
The hosting backup of 27 November already contained a shell. Check any backup taken after 23 November before using it.
Then change the secrets
Database password, WordPress keys and salts, administrator passwords. Only after the backdoors are gone, or they can be read again.
For defenders
Indicators of compromise.
Addresses defanged. The national cyber security centre received the indicators from this case.
CVE-2026-125812 WP Rocket fixed in 3.24.2 public 23 Nov 2026
Actor 1 (automated) 5.188.206.226
wp-content/wp-media-497d4b51.php
sha256 2e23e095b024265ab581d819782dd5d12df1d209d853514cb25cb407364a2d9e
probe parameters ?lang=wpr<hex> ?lp-variation-id=wpr<hex>
marker in .json file smchairs[.]com/pixel.png
Actor 2 (hands-on) 103.235.74.72
wp-content/ls-poc.php, renamed <random>-shell.php
sha256 3f5c0797750443192b755fce3c35a602b7463d5eaefee66f3394704c632fc1f4
bootstrap.inc.php and .bootstrap.inc.php (GECKO FM PRO)
sha256 5a4d53b49e72b59306a46db9cfd369fab46716e40448c304109e0dc8a2a330f2
wp-content/mu-plugins/zz-cache-guard.php
sha256 c79172dc4332465145646c3b981fff432b022e4d4810c7ce82bf8f6718385b8b
stage URL hxxps://span-portrait-falls-sixth.trycloudflare[.]com/bootstrap.inc.php
cron template hxxps://paste.myconan[.]net/673684.txt
Shell hunters (?c=id on known shell names, no exploit seen)
185.187.169.124 159.203.34.80 2a02:c207:2300:6203::1
This flaw was one part of a larger incident. Read the full case, step by step, or see our incident response service.