WP Rocket: automated exploitation of CVE-2026-125812 drops webshells outside the cache folder
SIGMA PHP file requested under wp-content/wp-rocket-config/ (WP Rocket CVE-2026-125812) web server logs · high Threat Brief · experimental
title: WP Rocket CVE-2026-125812 PHP file requested under wp-content/wp-rocket-config
id: 780f4088-d62a-408a-855e-301f30925eeb
status: experimental
description: Web request to a PHP file under wp-content/wp-rocket-config/, the folder where the rocket_beacon path traversal (CVE-2026-125812) drops attacker PHP files that are then called over the web. WP Rocket only includes its own config files there, it does not serve them. New location compared with the wp-media-*.php rule of 28/11.
references:
- https://www.it-connect.fr/wp-rocket-cve-2026-125812-faille-rce-exploitee/
- https://www.bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites/
author: Threat Brief (tlpclear.fr)
date: 2026-12-01
tags:
- attack.initial-access
- attack.t1190
- attack.persistence
- attack.t1505.003
- cve.2026-125812
logsource:
category: webserver
detection:
selection:
cs-uri-stem|contains: 'wp-content/wp-rocket-config/'
cs-uri-stem|endswith: '.php'
filter_not_found:
sc-status: 404
condition: selection and not filter_not_found
falsepositives:
- Vulnerability scanners or administrators probing the folder (non 404 answers only are kept)
level: high
Successful web request to a .php file in wp-content/wp-rocket-config/, where the rocket_beacon path traversal drops the attacker's file before calling it. New compared with the wp-media-*.php rule of 28/11: the location described by ZeroPath and IT-Connect. False positives: Vulnerability scanners or administrators probing the folder (only non 404 answers are kept).
3 quotes from the sources
- “dans wp-content/wp-rocket-config/” www.it-connect.fr
- “il suffit alors de l'appeler depuis le web pour exécuter le code contenu dans le fichier PHP” www.it-connect.fr
- “avec une extension .php” www.it-connect.fr
www.it-connect.frwww.bleepingcomputer.com
Conversions
"cs-uri-stem"="*wp-content/wp-rocket-config/*" "cs-uri-stem"="*.php" NOT "sc-status"=404
(cs-uri-stem:*wp\-content\/wp\-rocket\-config\/* AND cs-uri-stem:*.php) AND (NOT sc-status:404)
XQL PHP web server process reaching nip.io or trycloudflare.com (WP Rocket, Cortex XDR) xdr_data (network) · medium Threat Brief · experimental
// Threat Brief 2026-12-01 · WP Rocket CVE-2026-125812 · experimental
// PHP web server process connecting to a nip.io or trycloudflare.com host, where the rocket_beacon payloads are hosted
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.NETWORK and (actor_process_image_name contains "php" or actor_process_image_name in ("httpd", "apache2")) and (action_external_hostname contains "nip.io" or action_external_hostname contains "trycloudflare.com")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_external_hostname, action_remote_ip, action_remote_port
The PHP or Apache process connects to a nip.io or trycloudflare.com host, where the payloads downloaded by WP Rocket during exploitation are hosted. Outbound connections need reviewing even after updating, which does not remove dropped files. False positives: WordPress site deliberately calling a trycloudflare.com tunnel or a nip.io service (test environments).
2 quotes from the sources
- “They host their payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels” www.bleepingcomputer.com
- “should review their logs for suspicious requests and outbound connections” www.bleepingcomputer.com