Cyber Resilience

CVE-2023-47218

MediumPublic PoC

Published: 13 February 2024

Published
13 February 2024
Modified
10 December 2025
KEV Added
Patch
CVSS Score v3.1 5.8 CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
EPSS Score 0.9315 99.8th percentile
Risk Priority 67 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2023-47218 is a medium-severity Command Injection (CWE-77) vulnerability in Qnap Qts. Its CVSS base score is 5.8 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 0.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

An OS command injection vulnerability, tracked as CVE-2023-47218 and assigned CWE-77/CWE-78, affects multiple versions of QNAP QTS, QuTS hero, and QuTScloud operating systems. The flaw permits unauthenticated remote command execution over the network and carries a CVSS 3.1 score of 5.8 reflecting adjacent-network access, high attack complexity, and limited impacts with changed scope.

An attacker positioned on an adjacent network can exploit the issue without credentials or user interaction to run arbitrary operating-system commands on the affected NAS device. Successful exploitation could lead to limited confidentiality, integrity, and availability impacts that extend beyond the vulnerable component.

QNAP has addressed the vulnerability in QTS 5.1.5.2645 build 20240116 and later, QuTS hero h5.1.5.2647 build 20240118 and later, and QuTScloud c5.1.5.2651 and later; the vendor advisory QSA-23-57 recommends applying these updates. The associated EPSS score currently stands at 0.9315 with a recorded peak of 0.9329.

EU & UK References

Vulnerability details

An OS command injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow users to execute commands via a network. We have already fixed the vulnerability in the following versions: QTS 5.1.5.2645…

more

build 20240116 and later QuTS hero h5.1.5.2647 build 20240118 and later QuTScloud c5.1.5.2651 and later

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

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.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

Unauthenticated OS command injection in the public-facing quick.cgi web endpoint on uninitialized QNAP NAS devices enables exploitation of public-facing applications (T1190) and arbitrary Unix shell command execution via system() (T1059.004).

Affected Assets

qnap
qts
5.1.5.2645 · 5.1.0 — 5.1.5.2645
qnap
quts hero
h5.1.5.2647 · h5.1.0 — h5.1.5.2647
qnap
qutscloud
c5.0.0.1919 — c5.1.5.2651

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-78

Platform-independent apps typically execute inside a managed runtime or sandbox that restricts direct OS command execution, reducing the ability to exploit OS command injection.

addresses: CWE-78

Validates inputs to block special elements that would alter OS command execution.

References