CyberSecBulletin
CVE-2024-53691NVD status: Analyzed

QTS: Improper Link Resolution Before File Access

CVE-2024-53691 is a high-severity improper link resolution before file access vulnerability in QTS from QNAP, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists versions 5.1.8.2823 build 20240712, 5.2.0.2802 build 20240620 as the first without the flaw, so updating QTS to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 23% chance of exploitation within 30 days, which is in the top 2.22% of all scored CVEs.

Patch this week

EPSS places it among the vulnerabilities most likely to be exploited soon.

What to do

  1. Update QTS to 5.1.8.2823 build 20240712 or 5.2.0.2802 build 20240620, whichever matches your release line, or a later version.
  2. Update QuTS hero to h5.1.8.2823 build 20240712 or h5.2.0.2802 build 20240620, whichever matches your release line, or a later version.
  3. Read the advisory on qnap.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
QNAPQTS5.1.x up to, but not including, 5.1.8.2823 build 20240712; 5.2.x up to, but not including, 5.2.0.2802 build 202406205.1.8.2823 build 20240712, 5.2.0.2802 build 20240620
QNAPQuTS heroh5.1.x up to, but not including, h5.1.8.2823 build 20240712; h5.2.x up to, but not including, h5.2.0.2802 build 20240620h5.1.8.2823 build 20240712, h5.2.0.2802 build 20240620

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 4.08.7HighCNA (qnapsecurity.com.tw)
CVSS 3.18.8HighNVD

Official description

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

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Link Resolution Before File Access

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.

How developers prevent this class of flaw

  • 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.

More Improper Link Resolution Before File Access vulnerabilities (CWE-59)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in QTS

All QTS vulnerabilities

Recent Improper Link Resolution Before File Access vulnerabilities

Spotted an error? Tell us.