CVE Vulnerabilities

CVE-2024-53691

Improper Link Resolution Before File Access ('Link Following')

Published: Dec 06, 2024 | Modified: Sep 23, 2025
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

A link following vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained user access to traverse the file system to unintended locations.

We have already fixed the vulnerability in the following versions: QTS 5.1.8.2823 build 20240712 and later QTS 5.2.0.2802 build 20240620 and later QuTS hero h5.1.8.2823 build 20240712 and later QuTS hero h5.2.0.2802 build 20240620 and later

Weakness

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Affected Software

Name Vendor Start Version End Version
Qts Qnap 5.1.0.2348-build_20230325 (including) 5.1.0.2348-build_20230325 (including)
Qts Qnap 5.1.0.2399-build_20230515 (including) 5.1.0.2399-build_20230515 (including)
Qts Qnap 5.1.0.2418-build_20230603 (including) 5.1.0.2418-build_20230603 (including)
Qts Qnap 5.1.0.2444-build_20230629 (including) 5.1.0.2444-build_20230629 (including)
Qts Qnap 5.1.0.2466-build_20230721 (including) 5.1.0.2466-build_20230721 (including)
Qts Qnap 5.1.1.2491-build_20230815 (including) 5.1.1.2491-build_20230815 (including)
Qts Qnap 5.1.2.2533-build_20230926 (including) 5.1.2.2533-build_20230926 (including)
Qts Qnap 5.1.3.2578-build_20231110 (including) 5.1.3.2578-build_20231110 (including)
Qts Qnap 5.1.4.2596-build_20231128 (including) 5.1.4.2596-build_20231128 (including)
Qts Qnap 5.1.5.2645-build_20240116 (including) 5.1.5.2645-build_20240116 (including)
Qts Qnap 5.1.5.2679-build_20240219 (including) 5.1.5.2679-build_20240219 (including)
Qts Qnap 5.1.6.2722-build_20240402 (including) 5.1.6.2722-build_20240402 (including)
Qts Qnap 5.1.7.2770-build_20240520 (including) 5.1.7.2770-build_20240520 (including)
Qts Qnap 5.2.0.2737-build_20240417 (including) 5.2.0.2737-build_20240417 (including)
Qts Qnap 5.2.0.2744-build_20240424 (including) 5.2.0.2744-build_20240424 (including)
Qts Qnap 5.2.0.2782-build_20240601 (including) 5.2.0.2782-build_20240601 (including)

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References