Security Resilience

CVE-2023-51365

Path Traversal in Qnap Qts 4.5.1 – 4.5.4.2627

Published
26 April 2024
Modified
10 December 2025
Patch / advisory
CVSS Score v3.1 8.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
EPSS Score 0.35 98th percentile
Risk Priority 78 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-51365 is a high-severity Path Traversal (CWE-22) vulnerability in Qnap Qts. Its CVSS base score is 8.7 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique /etc/passwd and /etc/shadow (T1003.008); ranked in the top 2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A path traversal vulnerability tracked as CVE-2023-51365 affects multiple versions of QNAP QTS, QuTS hero, and QuTScloud operating systems. The flaw, assigned CWE-22, permits unauthorized reading of file contents outside intended directories, potentially exposing sensitive data over the network. It carries a CVSS 3.1 score of 8.7 reflecting network attack vector, high complexity, no required privileges or user interaction, and impacts to integrity and availability with changed scope.

An unauthenticated remote attacker can exploit the issue by supplying crafted path sequences in network requests to read arbitrary files on the affected NAS device. Successful exploitation could allow disclosure of configuration files, credentials, or other sensitive information without authentication, though the high attack complexity noted in the CVSS vector indicates non-trivial conditions must be met.

QNAP has addressed the vulnerability in QTS 5.1.4.2596 build 20231128 and later, QTS 4.5.4.2627 build 20231225 and later, QuTS hero h5.1.3.2578 build 20231110 and later, QuTS hero h4.5.4.2626 build 20231225 and later, and QuTScloud c5.1.5.2651 and later, as detailed in security advisory QSA-24-14. The current EPSS score of 0.1217 shows no material increase from a lower baseline.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A path traversal vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow users to read the contents of unexpected files and expose sensitive data via a network. We have already fixed the…

more

vulnerability in the following versions: QTS 5.1.4.2596 build 20231128 and later QTS 4.5.4.2627 build 20231225 and later QuTS hero h5.1.3.2578 build 20231110 and later QuTS hero h4.5.4.2626 build 20231225 and later QuTScloud c5.1.5.2651 and later

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1554 Compromise Host Software Binary Persistence
Adversaries may modify host software binaries to establish persistent access to systems.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-51364Same product: Qnap Qts
CVE-2023-32974Same product: Qnap Qts
CVE-2023-45027Same product: Qnap Qts
CVE-2023-45026Same product: Qnap Qts
CVE-2025-30271Same product: Qnap Qts
CVE-2025-33032Same product: Qnap Qts
CVE-2025-59381Same product: Qnap Qts
CVE-2025-47211Same product: Qnap Qts
CVE-2024-21904Same product: Qnap Qts
CVE-2023-51366Same product: Qnap Qts

Affected Assets

qnap
qts
4.5.4.2627, 5.1.4.2596 · 4.5.1 — 4.5.4.2627 · 5.1.0 — 5.1.4.2596
qnap
quts hero
h4.5.4.2626, h5.1.3.2578 · h4.5.0 — h4.5.4.2626 · h5.1.0 — h5.1.3.2578
qnap
qutscloud
c5.0.0.1919 — c5.1.5.2651

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces the intended directory access authorizations that path traversal would otherwise bypass.

Input validation directly neutralizes special path elements before pathname construction occurs.

Least privilege reduces the impact of any unauthorized file access obtained via traversal.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-02 partial match
blocks

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches path traversal via static/dynamic analysis.

prevents

Secure coding standards explicitly forbid unsafe path construction and mandate safe APIs.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. Path traversal commonly surfaces as CVEs in third-party components (many examples in the CWE-22 record), so A.8.8 finds that disclosed share; first-party path-traversal defects in the organization's own code are invisible to vulnerability scanning and management, which is the same remainder that caps A.8.8 -> CWE-89 at `partial`.

References