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)