CVE-2026-108587: 10Web Booster WordPress Plugin Unauthenticated Arbitrary File Upload & RCE
Critical unauthenticated arbitrary file upload vulnerability in the 10Web Booster WordPress plugin (<= 2.34.10) disclosed on October 15, 2026. Attackers harvest a leaked optimization nonce from world-readable cache files and abuse missing extension validation in compressCustom() to write PHP web shells directly to the server.
HERMES THREAT SCORE & WEB CMS INFRASTRUCTURE EVALUATION
Target:10Web Booster (tenweb-speed-optimizer) โ Cache & Asset Compression Engine Both CVSS v3.1 (9.8) and the Hermes Threat Score (95) classify CVE-2026-108587 as CRITICAL. Deployed across ratusan/hundreds of thousands of commercial WordPress websites for Core Web Vitals optimization, 10Web Booster inadvertently exposes its verification nonce inside publicly accessible static cache artifacts. Chaining this deterministic nonce leak with the unvalidated page_id parameter in compressCustom() enables two-request, zero-authentication remote code execution.
CVE-2026-108587: 10Web Booster WordPress Plugin Unauthenticated Arbitrary File Upload & RCEVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Microsoft Office & 365 Apps documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
Executive Summary
Section titled โExecutive SummaryโOn October 15, 2026, security researchers disclosed CVE-2026-108587, a critical Unauthenticated Arbitrary File Upload vulnerability (CWE-434 / CWE-200) affecting the 10Web Booster โ Website speed optimization, Cache & Page Speed optimizer plugin (tenweb-speed-optimizer) for WordPress in all versions up to and including 2.34.10. Assigned a CVSS v3.1 score of 9.8 (Critical), this flaw exposes high-traffic WordPress deployments to immediate remote code execution (RCE).
The vulnerability is an architectural two-step chain inside the pluginโs asynchronous page-caching and asset-compression subsystem:
- Authentication Bypass via World-Readable Nonce Leak: During routine background optimization jobs, the plugin writes diagnostic and state metadata containing a valid WordPress verification nonce (
two_nonce) into world-readable files underwp-content/uploads/tenweb_optimizer/or inline frontend scripts. - Unrestricted File Write in
compressCustom(): The AJAX/REST callback handler invokingcompressCustom()verifies the leaked nonce without checking user capabilities (current_user_can('manage_options')) and fails to sanitize thepage_idparameter or restrict output extensions, allowing an unauthenticated attacker to write arbitrary.phppayloads into the webroot.
Technical Vulnerability Mechanics
Section titled โTechnical Vulnerability MechanicsโRoot Cause Analysis: Nonce Exposure & Unvalidated page_id Sink
Section titled โRoot Cause Analysis: Nonce Exposure & Unvalidated page_id SinkโTo allow asynchronous workers and frontend beacons to trigger cache warmups and custom asset compression, tenweb-speed-optimizer registers hooks that validate incoming requests using a custom nonce check. However, two fatal implementation flaws converge in versions <= 2.34.10:
- Missing Capability Enforcement (
CWE-862): Validating a WordPress nonce (wp_verify_nonce()) only confirms that a token was generated by the site within the last 12โ24 hours; it does not verify that the caller is an administrator. Because the plugin embeds this nonce in publicly readable optimization logs and cached HTML headers, any unauthenticated visitor can extract it via a singleGETrequest. - Arbitrary Path & Extension Construction in
compressCustom()(CWE-434): Inside theOptimizerAdmin/ compression controller, thecompressCustom()method accepts a caller-suppliedpage_idand custom payload data, concatenatingpage_iddirectly into the destination filename without stripping path traversal sequences or enforcing safe static extensions (.css/.js):
Step 1 (GET) : Fetch /wp-content/uploads/tenweb_optimizer/two_optimize_status.json -> Extract leaked "two_nonce"Step 2 (POST) : Invoke action=two_compress_custom with page_id="../../../uploads/sh.php" & content="<?php system($_GET['c']); ?>"Result : Writes executable PHP web shell directly to /wp-content/uploads/sh.phpflowchart TD subgraph Attacker["Unauthenticated Remote Attacker"] Step1["1. HTTP GET World-Readable Cache Metadata<br/>(/wp-content/uploads/tenweb_optimizer/...)"] Step2["2. HTTP POST to compressCustom Handler<br/>(Leaked Nonce + Crafted page_id='shell.php')"] end
subgraph WordPress["10Web Booster Plugin (<= 2.34.10)"] Step1 -- "Exfiltrates Valid Nonce" --> NonceCheck{"Nonce Check Only<br/>No current_user_can() Check!"} Step2 --> NonceCheck NonceCheck -- "Auth Bypassed" --> CompressFn["compressCustom($page_id, $content)"] CompressFn --> FilePut{"Unsanitized file_put_contents()<br/>on $page_id Parameter (CWE-434)"} end
subgraph ServerOS["WordPress Webroot & Host OS"] FilePut -- "Writes Arbitrary .php File" --> WebShell["/wp-content/uploads/tenweb_optimizer/shell.php"] WebShell --> RCE["Unauthenticated PHP Remote Code Execution"] end
style NonceCheck fill:#ff8c1a,stroke:#994d00,color:#ffffff style FilePut fill:#ff4d4d,stroke:#990000,color:#ffffff style RCE fill:#ff1a1a,stroke:#800000,color:#ffffffVulnerable vs. Patched Code Reconstruction
Section titled โVulnerable vs. Patched Code Reconstructionโ<?php// VULNERABLE: tenweb-speed-optimizer <= 2.34.10class OptimizerCustomCompression { public function compressCustom() { // FLAW 1: Relies solely on a nonce leaked in world-readable cache artifacts; no capability check! $nonce = isset($_REQUEST['nonce']) ? sanitize_text_field($_REQUEST['nonce']) : ''; if (!wp_verify_nonce($nonce, 'two_ajax_nonce')) { wp_send_json_error('Invalid nonce'); }
// FLAW 2: Unsanitized 'page_id' used directly in file path construction without extension whitelist $page_id = $_POST['page_id']; $custom_data = wp_unslash($_POST['custom_data']);
$cache_dir = WP_CONTENT_DIR . '/uploads/tenweb_optimizer/custom/'; $target_file = $cache_dir . 'two_custom_' . $page_id;
// Writes arbitrary PHP code if $page_id ends with ".php" file_put_contents($target_file, $custom_data); wp_send_json_success(['file' => $target_file]); }}
// PATCHED: tenweb-speed-optimizer >= 2.34.11class OptimizerCustomCompression { public function compressCustom() { // FIX 1: Enforce strict administrative capability check alongside private session nonce if (!current_user_can('manage_options') || !check_ajax_referer('two_admin_nonce', 'nonce', false)) { wp_send_json_error('Unauthorized', 403); }
// FIX 2: Enforce strict integer/alphanumeric validation on page_id and hardcode safe .json/.css extension $page_id = preg_replace('/[^a-zA-Z0-9_-]/', '', $_POST['page_id']); $custom_data = wp_strip_all_tags(wp_unslash($_POST['custom_data']));
$cache_dir = WP_CONTENT_DIR . '/uploads/tenweb_optimizer/custom/'; $target_file = $cache_dir . 'two_custom_' . $page_id . '.cache.json';
file_put_contents($target_file, $custom_data); wp_send_json_success(); }}Threat Intelligence & WordPress Botnet Weaponization
Section titled โThreat Intelligence & WordPress Botnet WeaponizationโUnauthenticated arbitrary file upload flaws in high-install-base WordPress plugins are among the fastest-weaponized vulnerabilities tracked by Patchstack, Wordfence, and CrowdSec telemetry. Alongside recent zero-day campaigns against Bricksforge (CVE-2026-85097) and Anton Extensions (CVE-2026-104028), automated scanners rapidly fingerprint /wp-content/plugins/tenweb-speed-optimizer/readme.txt to identify installations running versions <= 2.34.10.
Once an attacker drops a PHP web shell inside /wp-content/uploads/tenweb_optimizer/, they typically:
- Inject rogue administrator accounts into
wp_usersandwp_usermeta. - Backdoor active theme
functions.phpfiles andwp-config.phpfor persistent survival across plugin updates. - Deploy SEO spam cloakers, cryptocurrency drainers, or Linux reverse shells.
Forensic Analysis & Detection Engineering
Section titled โForensic Analysis & Detection EngineeringโWhen investigating a compromised WordPress server on Linux, incident responders should audit web server access logs, inspect /wp-content/uploads/tenweb_optimizer/ for anomalous .php or .phtml files, and examine shell history and cron persistence. Refer to our forensic playbooks on Linux Filesystem Analysis and Linux Cron Persistence Forensics.
title: WordPress 10Web Booster Unauthenticated Arbitrary File Upload Attempt (CVE-2026-108587)id: 6c8d3f12-1085-487a-9b21-tenweb108587status: experimentaldescription: Detects exploitation of CVE-2026-108587 in the 10Web Booster (tenweb-speed-optimizer) WordPress plugin via requests to admin-ajax.php or REST endpoints followed by PHP execution in tenweb_optimizer upload directories.references: - https://nvd.nist.gov/vuln/detail/CVE-2026-108587author: Hermes Threat Intelligencedate: 2026/10/16logsource: category: webserverdetection: selection_upload_exec: cs-uri-stem|contains: - '/wp-content/uploads/tenweb_optimizer/' - '/wp-content/cache/tenweb_optimizer/' cs-uri-stem|endswith: - '.php' - '.phtml' - '.php5' - '.phar' selection_ajax: cs-uri-stem|contains: '/wp-admin/admin-ajax.php' cs-uri-query|contains: - 'compressCustom' - 'two_compress' condition: selection_upload_exec or selection_ajaxfalsepositives: - Legitimate administrative optimization actions (for selection_ajax only; .php execution in uploads is always malicious)level: criticaltags: - attack.initial_access - attack.t1190 - attack.persistence - attack.t1505.003 - cve.2026-108587rule Hermes_WP_10Web_Booster_Exploit_Artifact_CVE_2026_108587 { meta: description = "Detects PHP web shells dropped inside 10Web Booster cache directories or exploit payloads targeting compressCustom (CVE-2026-108587)" author = "Hermes Threat Intelligence" cve = "CVE-2026-108587" date = "2026-10-16" severity = "CRITICAL" strings: $php_tag = "<?php" ascii nocase $s1 = "two_custom_" ascii $s2 = "compressCustom" ascii $exec1 = "system(" ascii nocase $exec2 = "shell_exec(" ascii nocase $exec3 = "passthru(" ascii nocase $exec4 = "eval(base64_decode" ascii nocase condition: $php_tag and (1 of ($s*)) and (1 of ($exec*))}#!/usr/bin/env bash# Hermes Forensic Triage Script for CVE-2026-108587 (10Web Booster WordPress Plugin)set -euo pipefail
WP_ROOT="${1:-/var/www/html}"
echo "[*] Checking installed 10Web Booster (tenweb-speed-optimizer) version..."if [ -f "$WP_ROOT/wp-content/plugins/tenweb-speed-optimizer/tenweb_speed_optimizer.php" ]; then grep -i "Version:" "$WP_ROOT/wp-content/plugins/tenweb-speed-optimizer/tenweb_speed_optimizer.php" || truefi
echo "[*] Hunting for rogue PHP executables inside tenweb_optimizer upload and cache directories..."find "$WP_ROOT/wp-content/uploads" "$WP_ROOT/wp-content/cache" \ -type f \( -iname "*.php*" -o -iname "*.phtml" -o -iname "*.phar" \) -ls 2>/dev/null || true
echo "[*] Scanning web access logs for compressCustom exploitation..."grep -rnE "compressCustom|tenweb_optimizer.*\.php" /var/log/nginx /var/log/apache2 /var/log/httpd 2>/dev/null || trueRemediation & Hardening Directives
Section titled โRemediation & Hardening Directivesโ- Update 10Web Booster Immediately:
Upgrade the
tenweb-speed-optimizerplugin to version 2.34.11 or later via the WordPress Admin Dashboard or WP-CLI:Terminal window wp plugin update tenweb-speed-optimizer --version=2.34.11 - Enforce PHP Execution Disallow in
wp-content/uploads: Configure Nginx or Apache.htaccessrules to strictly prohibit the execution of.phpscripts inside/wp-content/uploads/and/wp-content/cache/:location ~* ^/wp-content/(uploads|cache)/.*\.(php|phtml|php5|phar)$ {deny all;} - Purge Leaked Cache Nonces & Audit Administrator Accounts:
Clear all existing cached files under
/wp-content/uploads/tenweb_optimizer/, rotate WordPress authentication salts inwp-config.php, and auditwp_usersfor unauthorized administrator accounts.