Skip to content

CVE-2026-108587: 10Web Booster WordPress Plugin Unauthenticated Arbitrary File Upload & RCE

Density:
C-Level Executive Briefing CVE-2026-108587 CRITICAL SCORE 95/100

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.

HYBRID

HERMES THREAT SCORE & WEB CMS INFRASTRUCTURE EVALUATION

Target: 10Web Booster (tenweb-speed-optimizer) โ€” Cache & Asset Compression Engine
Confidence: 98%
95 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 18 / 20
Weaponization 19 / 20
Exposure 20 / 20
Prevalence 18 / 20
Impact 20 / 20
Exploit Maturity 19 / 20
Attack Chain Potential 19 / 20
โš–๏ธ Divergence & Operational Rationale

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.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2026-108587: 10Web Booster WordPress Plugin Unauthenticated Arbitrary File Upload & RCEVULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTMicrosoft Office & 365 Apps
98% VERY_HIGH

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.”

Supporting Verified Evidence:

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:

  1. 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 under wp-content/uploads/tenweb_optimizer/ or inline frontend scripts.
  2. Unrestricted File Write in compressCustom(): The AJAX/REST callback handler invoking compressCustom() verifies the leaked nonce without checking user capabilities (current_user_can('manage_options')) and fails to sanitize the page_id parameter or restrict output extensions, allowing an unauthenticated attacker to write arbitrary .php payloads into the webroot.

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:

  1. 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 single GET request.
  2. Arbitrary Path & Extension Construction in compressCustom() (CWE-434): Inside the OptimizerAdmin / compression controller, the compressCustom() method accepts a caller-supplied page_id and custom payload data, concatenating page_id directly 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.php
flowchart 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 (&lt;= 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:#ffffff
<?php
// VULNERABLE: tenweb-speed-optimizer <= 2.34.10
class 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.11
class 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();
}
}

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_users and wp_usermeta.
  • Backdoor active theme functions.php files and wp-config.php for persistent survival across plugin updates.
  • Deploy SEO spam cloakers, cryptocurrency drainers, or Linux reverse shells.

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-tenweb108587
status: experimental
description: 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-108587
author: Hermes Threat Intelligence
date: 2026/10/16
logsource:
category: webserver
detection:
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_ajax
falsepositives:
- Legitimate administrative optimization actions (for selection_ajax only; .php execution in uploads is always malicious)
level: critical
tags:
- attack.initial_access
- attack.t1190
- attack.persistence
- attack.t1505.003
- cve.2026-108587

  1. Update 10Web Booster Immediately: Upgrade the tenweb-speed-optimizer plugin 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
  2. Enforce PHP Execution Disallow in wp-content/uploads: Configure Nginx or Apache .htaccess rules to strictly prohibit the execution of .php scripts inside /wp-content/uploads/ and /wp-content/cache/:
    location ~* ^/wp-content/(uploads|cache)/.*\.(php|phtml|php5|phar)$ {
    deny all;
    }
  3. Purge Leaked Cache Nonces & Audit Administrator Accounts: Clear all existing cached files under /wp-content/uploads/tenweb_optimizer/, rotate WordPress authentication salts in wp-config.php, and audit wp_users for unauthorized administrator accounts.