Back to Intelligence

CVE-2026-125812 WP Rocket Unauthenticated PHP Upload: OTX Pulse Analysis — WordPress Webshell Detection Pack

SA
Security Arsenal Team
December 2, 2026
10 min read

Threat Summary

A newly published AlienVault OTX pulse details active exploitation interest in CVE-2026-125812, a critical vulnerability in WP Rocket, a premium WordPress caching and performance plugin deployed on more than 5.5 million websites. The flaw affects all versions prior to 3.24.2 and originates from insufficient input validation in an AJAX endpoint used for performance optimization — an endpoint reachable without authentication.

The attack chain is straightforward and highly automatable, which is why it is attracting rapid attention across criminal tooling channels:

  1. Reconnaissance — scanners enumerate WordPress sites and fingerprint the WP Rocket plugin version via static asset paths and cache signatures.
  2. Precondition check — exploitation requires either LazyLoad for CSS background images or a related optimization feature to be enabled. Because these are default-recommended performance settings, a large fraction of the installed base qualifies.
  3. Exploitation — an unauthenticated HTTP request to the vulnerable AJAX endpoint abuses a path traversal / insufficient validation condition to write an attacker-controlled PHP file into a web-accessible directory (typically under wp-content/uploads/ or the WP Rocket cache path).
  4. Post-exploitation — the planted PHP file functions as a webshell / backdoor, giving the operator remote code execution as the web server user (www-data, apache, nginx), from which they deploy SEO spam injectors, credential harvesters, cryptominers, or secondary malware staging.

The objective at this stage of the campaign is mass compromise of web infrastructure for monetization: webshell resale on dark web access-broker markets, traffic redirection, and staging for follow-on payloads. Four IPv4 indicators in the pulse (180.232.236.101, 112.78.154.32, 103.235.74.72, 103.235.74.71) are consistent with scanning/exploitation origin infrastructure. With a CVSS-class unauthenticated RCE against a plugin installed on millions of production sites, defenders should treat this as a patch-and-hunt emergency.

Threat Actor / Malware Profile

Attribution: Unknown. The pulse attributes the vulnerability research and observed exploitation to no named APT or crime group. The observed pattern — rapid scanning within days of disclosure, shared exploitation infrastructure, and PHP backdoor staging — is characteristic of opportunistic crimeware operators and initial access brokers (IABs) rather than a targeted intrusion set.

Payload profile (planted PHP backdoor):

  • Distribution method: Unauthenticated HTTP POST/GET abuse of the WP Rocket AJAX handler (admin-ajax.php or plugin-specific REST/AJAX route) combined with path traversal to control the write destination.
  • Payload behavior: Dropped files are typically small eval/assert-style one-liners (e.g., eval($_POST[...]), assert($_REQUEST[...])) or obfuscated webshells (WSO, FilesMan, p0wny variants) enabling file management, command execution, and pivoting.
  • C2 communication: Webshells are inbound C2 — no beaconing. Detection must therefore focus on ingress anomalies: requests to PHP files in upload/cache directories, POST bodies containing base64/gzinflate/eval chains, and follow-on outbound connections from the web server process.
  • Persistence mechanism: Beyond the webshell itself, operators commonly add rogue admin users in WordPress, modify wp-config.php, plant secondary backdoors in theme files, and register cron entries. The WP Rocket cache directory is writable by design, making it an ideal hiding location.
  • Anti-analysis techniques: PHP obfuscation (base64+gzinflate nesting, hex-encoded strings), filename masquerading as legitimate plugin files (e.g., cache-compat.php, options.php), timestamp manipulation (touching files to match legitimate plugin files), and cleanup of access logs post-exploitation.

IOC Analysis

The pulse contains two indicator types, and SOC teams should operationalize them differently:

IndicatorTypeOperationalization
180.232.236.101IPv4Block at edge/WAF; retro-hunt web server access logs and firewall logs for any connection — especially HTTP POSTs to /wp-admin/admin-ajax.php
112.78.154.32IPv4Same as above; cross-reference against DNS/proxy logs for outbound callbacks
103.235.74.72IPv4Same as above; the /31 pairing with .74.71 suggests a single operator infrastructure block
103.235.74.71IPv4Treat the 103.235.74.0/24 range as suspicious pending further enrichment
CVE-2026-125812CVEFeed into vulnerability scanners (Tenable, Qualys, Rapid7) and EASM tooling to enumerate exposure

Key guidance: IPv4 IOCs for scanning infrastructure decay quickly — expect the actor to rotate within days. Their highest value is in retrospective log hunting (90-day lookback on WAF, CDN, nginx/Apache access logs) rather than forward blocking alone. The durable detection is behavioral: any PHP file write by the web server process into wp-content/uploads/, wp-content/cache/, or wp-content/plugins/wp-rocket/ paths is inherently anomalous for a caching plugin outside of legitimate cache generation.

Tooling for enrichment: AbuseIPDB and GreyNoise for IP reputation; VirusTotal/Shodan for infrastructure pivoting; WPScan and wp-cli plugin list for exposure enumeration; YARA with webshell rulesets (e.g., webshells from Neo23x0/signature-base) for file-scanning webroots.

Detection Engineering

YAML
---
title: WP Rocket CVE-2026-125812 - PHP File Written to Web-Accessible Directory by Web Server Process
id: 7c3a1e42-9f2b-4d1a-a8c5-2e6f0b1d4a77
status: experimental
description: Detects web server worker processes writing PHP files into upload or cache directories, consistent with CVE-2026-125812 unauthorized file upload exploitation against WP Rocket and webshell staging.
author: Security Arsenal Threat Intelligence
references:
    - https://socradar.io/blog/wp-rocket-vulnerability-cve-2026-125812/
date: 2026/12/02
logsource:
    category: file_event
    product: windows
    detection_scope: linux_sysmon_or_auditd_equivalent
fields:
    - Image
    - TargetFilename
falsepositives:
    - Legitimate plugin/theme updates performed by administrators
    - WP Rocket cache preloading (writes .html/.gz, not .php, to cache dirs)
level: high
tags:
    - attack.initial_access
    - attack.t1190
    - attack.t1505.003
    - attack.persistence
detection:
    selection_process:
        Image|endswith:
            - '/php-fpm'
            - '/php-cgi'
            - '/php'
            - '/apache2'
            - '/httpd'
            - '/nginx'
            - '\php-cgi.exe'
            - '\httpd.exe'
            - '\nginx.exe'
            - '\w3wp.exe'
    selection_path:
        TargetFilename|contains:
            - 'wp-content/uploads/'
            - 'wp-content\\uploads\\'
            - 'wp-content/cache/'
            - 'wp-content\\cache\\'
            - 'wp-content/plugins/wp-rocket/'
            - 'wp-content\\plugins\\wp-rocket\\'
    selection_ext:
        TargetFilename|endswith:
            - '.php'
            - '.phtml'
            - '.php5'
            - '.phar'
    condition: selection_process and selection_path and selection_ext
---
title: Suspicious HTTP POST to WordPress AJAX Endpoint With Path Traversal or PHP Payload Markers
id: 2b8f6d13-4a7e-4c92-b3d1-9e0a5c7f2b66
status: experimental
description: Detects web proxy/WAF log entries showing POST requests to admin-ajax.php or WP Rocket endpoints containing path traversal sequences or PHP upload indicators, matching the CVE-2026-125812 exploitation vector.
author: Security Arsenal Threat Intelligence
references:
    - https://socradar.io/blog/wp-rocket-vulnerability-cve-2026-125812/
date: 2026/12/02
logsource:
    category: webserver
falsepositives:
    - Legitimate plugin administration traffic (POSTs to admin-ajax.php are common; the payload markers make this low-noise)
level: critical
tags:
    - attack.initial_access
    - attack.t1190
detection:
    selection_endpoint:
        c-uri|contains:
            - '/wp-admin/admin-ajax.php'
            - 'action=rocket'
    selection_method:
        cs-method: 'POST'
    selection_payload:
        cs-body|contains:
            - '../'
            - '..\\'
            - '%2e%2e%2f'
            - '%2e%2e\\'
            - '<?php'
            - 'eval('
            - 'base64_decode'
            - 'gzinflate'
    condition: selection_endpoint and selection_method and selection_payload
---
title: Webshell Execution - Web Server Process Spawning System Shells After Suspicious Upload
id: 5d1e9a08-6c4f-4b23-8f7a-1d2c3e4b5a99
status: experimental
description: Detects PHP-FPM, Apache, Nginx, or IIS worker processes spawning command shells or system utilities, indicating active use of a PHP webshell planted via CVE-2026-125812 or similar upload flaws.
author: Security Arsenal Threat Intelligence
date: 2026/12/02
logsource:
    category: process_creation
    product: windows
    detection_scope: linux_and_windows
falsepositives:
    - Legitimate WordPress plugins invoking system binaries (rare; verify parent and command line)
level: critical
tags:
    - attack.execution
    - attack.t1059
    - attack.t1505.003
    - attack.persistence
detection:
    selection_parent:
        ParentImage|endswith:
            - '/php-fpm'
            - '/php-cgi'
            - '/apache2'
            - '/httpd'
            - '/nginx'
            - '\php-cgi.exe'
            - '\httpd.exe'
            - '\nginx.exe'
            - '\w3wp.exe'
    selection_child:
        Image|endswith:
            - '/bin/sh'
            - '/bin/bash'
            - '/usr/bin/curl'
            - '/usr/bin/wget'
            - '/usr/bin/python'
            - '/usr/bin/perl'
            - '\cmd.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\certutil.exe'
            - '\bitsadmin.exe'
    condition: selection_parent and selection_child
KQL — Microsoft Sentinel / Defender
// Hunt: CVE-2026-125812 WP Rocket exploitation — network IOCs + webshell behaviors
// Microsoft Sentinel / Microsoft 365 Defender — 90-day retrospective
let WPRocketIOCs = dynamic(["180.232.236.101", "112.78.154.32", "103.235.74.72", "103.235.74.71"]);
let NetworkHits = DeviceNetworkEvents
    | where TimeGenerated > ago(90d)
    | where RemoteIP in (WPRocketIOCs)
    | project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteIP, RemotePort, RemoteUrl, ActionType;
let WebshellFileWrites = DeviceFileEvents
    | where TimeGenerated > ago(30d)
    | where FolderPath has_any ("wp-content\\uploads", "wp-content\\cache", "wp-content/uploads", "wp-content/cache", "wp-rocket")
    | where FileName endswith ".php" or FileName endswith ".phtml"
    | where InitiatingProcessFileName has_any ("php", "httpd", "nginx", "w3wp", "apache")
    | project TimeGenerated, DeviceName, FileName, FolderPath, SHA256, InitiatingProcessFileName, InitiatingProcessCommandLine;
let WebshellExec = DeviceProcessEvents
    | where TimeGenerated > ago(30d)
    | where InitiatingProcessFileName has_any ("php", "php-fpm", "php-cgi", "httpd", "nginx", "w3wp")
    | where FileName has_any ("cmd.exe", "powershell.exe", "sh", "bash", "curl", "wget", "certutil", "bitsadmin")
    | project TimeGenerated, DeviceName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, AccountName;
union NetworkHits, (WebshellFileWrites | project-rename RemoteIP = FolderPath), (WebshellExec | project-rename RemoteIP = ProcessCommandLine)
| sort by TimeGenerated desc
PowerShell
# CVE-2026-125812 WP Rocket — Windows/IIS + reachable-host hunt script
# Checks for: (1) connections to known exploitation IPs, (2) recently written PHP files in webroots, (3) suspicious PHP content markers
# Run elevated on web servers. Adjust $WebRoots for your environment.

$IOCs = @('180.232.236.101','112.78.154.32','103.235.74.72','103.235.74.71')
$WebRoots = @('C:\inetpub\wwwroot','C:\inetpub')
$LookbackDays = 30
$Findings = @()

Write-Host '[*] Checking active and historical network connections to exploitation IPs...' -ForegroundColor Cyan
foreach ($ip in $IOCs) {
    $conns = Get-NetTCPConnection -ErrorAction SilentlyContinue | Where-Object { $_.RemoteAddress -eq $ip }
    if ($conns) {
        $Findings += [pscustomobject]@{Type='NetworkConnection'; IOC=$ip; Detail=($conns | Select-Object LocalAddress,LocalPort,State,OwningProcess | Out-String)}
    }
}

Write-Host '[*] Checking DNS cache for IOC resolution...' -ForegroundColor Cyan
$dnsHits = Get-DnsClientCache -ErrorAction SilentlyContinue | Where-Object { $IOCs -contains $_.Data }
if ($dnsHits) { $Findings += [pscustomobject]@{Type='DNSCache'; IOC=($dnsHits.Data -join ','); Detail=($dnsHits.Entry -join ',')} }

Write-Host '[*] Scanning webroots for recently written PHP files...' -ForegroundColor Cyan
foreach ($root in $WebRoots) {
    if (Test-Path $root) {
        $recentPhp = Get-ChildItem -Path $root -Recurse -Include *.php,*.phtml,*.phar -ErrorAction SilentlyContinue |
            Where-Object { $_.LastWriteTime -gt (Get-Date).AddDays(-$LookbackDays) -and
                           ($_.FullName -match 'uploads|cache|wp-rocket') }
        foreach ($f in $recentPhp) {
            $content = Get-Content $f.FullName -Raw -ErrorAction SilentlyContinue
            if ($content -match 'eval\(|assert\(|base64_decode|gzinflate|shell_exec|passthru|system\(|\$_(POST|GET|REQUEST|COOKIE)\[') {
                $Findings += [pscustomobject]@{Type='SuspiciousWebshell'; IOC=$f.FullName; Detail="Modified: $($f.LastWriteTime) — contains eval/obfuscation/shell markers"}
            } else {
                $Findings += [pscustomobject]@{Type='RecentPHPInWritableDir'; IOC=$f.FullName; Detail="Modified: $($f.LastWriteTime) — review manually"}
            }
        }
    }
}

Write-Host '[*] Checking IIS worker processes for suspicious child processes...' -ForegroundColor Cyan
$webProcs = Get-CimInstance Win32_Process -ErrorAction SilentlyContinue | Where-Object { $_.Name -match 'w3wp|php|httpd|nginx' }
foreach ($p in $webProcs) {
    $children = Get-CimInstance Win32_Process -Filter "ParentProcessId=$($p.ProcessId)" -ErrorAction SilentlyContinue |
        Where-Object { $_.Name -match 'cmd|powershell|certutil|bitsadmin|curl' }
    foreach ($c in $children) {
        $Findings += [pscustomobject]@{Type='WebshellChildProcess'; IOC=$c.Name; Detail="Parent: $($p.Name) (PID $($p.ProcessId)) | CmdLine: $($c.CommandLine)"}
    }
}

if ($Findings.Count -gt 0) {
    Write-Host "[!] $($Findings.Count) potential indicator(s) found:" -ForegroundColor Red
    $Findings | Format-List
    $Findings | Export-Csv -Path ".\CVE-2026-125812_hunt_$(Get-Date -Format 'yyyyMMdd_HHmm').csv" -NoTypeInformation
} else {
    Write-Host '[+] No indicators found. Confirm WP Rocket >= 3.24.2 across all sites.' -ForegroundColor Green
}

Response Priorities

Immediate (0–4 hours):

  • Patch WP Rocket to 3.24.2 or later on every WordPress property — including staging, marketing microsites, and forgotten subdomains. With 5.5M+ installs, enterprise exposure almost certainly exists somewhere in your estate or supply chain.
  • Block the four IPv4 IOCs at the edge firewall, WAF, and egress proxy; add 103.235.74.0/24 to a watchlist.
  • Retro-hunt web access logs (90 days) for POST requests from IOC IPs to admin-ajax.php, and for path-traversal payloads (../, %2e%2e) in request bodies.
  • Scan all webroots with a webshell YARA ruleset; flag any PHP file modified within the last 30 days inside uploads/ or cache/ directories.

24 hours:

  • If any webshell is confirmed: treat the host as fully compromised. Rotate WordPress admin credentials, database credentials in wp-config.php, API keys stored in the database, and any service accounts running the web server process. Session cookies and salts (AUTH_KEY, etc.) must also be regenerated to invalidate stolen sessions.
  • Audit WordPress user tables for rogue administrator accounts and review wp_options for injected code.
  • Verify integrity of wp-config.php, active theme files, and .htaccess against known-good backups.

1 week:

  • Deploy the WAF rule set (or virtual patch) blocking unauthenticated POSTs with traversal/PHP markers to WordPress AJAX endpoints across all properties — this protects against residual unpatched instances and the inevitable next plugin 0-day.
  • Enforce PHP execution denial in wp-content/uploads/ and cache directories via web server configuration (php_flag engine off / location ~* uploads/.*\.php { deny all; }).
  • Implement file integrity monitoring (FIM) on webroots with alerting on new .php files, and isolate web servers into egress-restricted segments (deny outbound except to update services and required CDNs).
  • Add WordPress plugin inventory and version tracking to your vulnerability management program with a 24-hour SLA for critical unauthenticated-RCE plugin CVEs.

Related Resources

Security Arsenal Incident Response Managed SOC & MDR Services AlertMonitor Threat Detection From The Dark Side Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.