On this page
Atomicorp WAF Research Note: CVE-2023-47218
QNAP QTS and QuTS Hero - OS Command Injection
CVE Details
- Already protected by existing Atomicorp WAF rules
- Protection status: Understanding Atomicorp WAF Protection Status
- CVE: CVE-2023-47218
- Name: QNAP QTS and QuTS Hero - OS Command Injection
- Severity: High
- CVSS: 8.3 (v3.1) (High)
- CVSS version: 3.1
- CVSS source: NVD
- CVSS vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- CWE: CWE-77 — Improper Neutralization of Special Elements used in a Command (‘Command Injection’), CWE-78 — Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’)
- Related CAPEC attack patterns (via MITRE CWE relationships): CAPEC-108 (opens in a new tab) , CAPEC-136 (opens in a new tab) , CAPEC-15 (opens in a new tab) , CAPEC-183 (opens in a new tab) , CAPEC-248 (opens in a new tab) , CAPEC-40 (opens in a new tab) , CAPEC-43 (opens in a new tab) , CAPEC-6 (opens in a new tab) , CAPEC-75 (opens in a new tab) , CAPEC-76 (opens in a new tab) , CAPEC-88 (opens in a new tab)
- Vendor: qnap
- Vulnerable products: qts , quts hero , qutscloud
- CVE published: 2024-02-13
- CVE last modified: 2026-06-17
- Affected versions (NVD configurations):
- qts: >= 5.1.0, < 5.1.5.2645
- qts: 5.1.5.2645
- quts hero: >= h5.1.0, < h5.1.5.2647
- quts hero: h5.1.5.2647
- qutscloud: >= c5.0.0.1919, < c5.1.5.2651
- EPSS: 0.8992; 99.8th percentile (FIRST (opens in a new tab) )
- Latest Update: 2026-09-06
- Selected Rule IDs observed: 330791 , 340152
- Matching rules: 2; rules with blocking actions: 2
- Would-block Rule IDs: 330791 , 340152
Technical CPE data
This section lists vulnerable CPE matches retained from the NVD configurations. It supplements the readable affected-product information above.
cpe:2.3:o:qnap:qts:*:*:*:*:*:*:*:*- Version start (inclusive):
5.1.0 - Version end (exclusive):
5.1.5.2645 - NVD match criteria ID:
E4280A69-14E4-4781-945A-B9768B6D72A8
- Version start (inclusive):
cpe:2.3:o:qnap:qts:5.1.5.2645:-:*:*:*:*:*:*- NVD match criteria ID:
F39AD4D1-B99D-4724-AF31-A04209C43D1C
- NVD match criteria ID:
cpe:2.3:o:qnap:quts_hero:*:*:*:*:*:*:*:*- Version start (inclusive):
h5.1.0 - Version end (exclusive):
h5.1.5.2647 - NVD match criteria ID:
FE3E8F1F-9C73-4DA5-8060-D7C4E8B40345
- Version start (inclusive):
cpe:2.3:o:qnap:quts_hero:h5.1.5.2647:-:*:*:*:*:*:*- NVD match criteria ID:
4A99570F-1F53-4E24-A3B0-F8BA3C5A4363
- NVD match criteria ID:
cpe:2.3:o:qnap:qutscloud:*:*:*:*:*:*:*:*- Version start (inclusive):
c5.0.0.1919 - Version end (exclusive):
c5.1.5.2651 - NVD match criteria ID:
3B9BF274-5800-4A1E-A2BE-9E7B62BBF9BC
- Version start (inclusive):
Vulnerability Description
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 build 20240116 and later QuTS hero h5.1.5.2647 build 20240118 and later QuTScloud c5.1.5.2651 and later
Recommended Actions
Maintain the observed Atomicorp protections. Keep your Atomicorp commercial rules current and confirm that the selected observed rules (330791 , 340152 ) have not been locally disabled. Atomicorp commercial rules are enabled by default. If you use Atomic WAF, review the applicable policy and rule settings.
Apply the vendor’s remediation. WAF protection is defense in depth and does not replace upgrading or following the affected vendor’s guidance.
- Affected versions: QNAP Systems Inc. QTS versions earlier than 5.1.5.2645 build 20240116.
- Versions reported unaffected: QNAP Systems Inc. QTS version 4.x.
- Affected versions: QNAP Systems Inc. QuTS hero versions earlier than h5.1.5.2647 build 20240118.
- Versions reported unaffected: QNAP Systems Inc. QuTS hero version h4.x.
- Affected versions: QNAP Systems Inc. QuTScloud versions earlier than c5.1.5.2651.
- No specific CNA/vendor solution or workaround is included in the current CVE Record (opens in a new tab) . Review the vendor’s security advisories and supported-release guidance before making changes.
Validate after changes. Confirm rule updates are current, review WAF events for the affected application, and test application behavior after vendor upgrades, mitigations, or local policy changes.
Research Notes
Atomicorp WAF protections are designed around attack techniques and exploit behaviors, allowing existing protections to apply across multiple vulnerabilities without requiring a unique rule for every CVE.
Public Vulnerability References
- NVD (opens in a new tab)
- CVE Record (opens in a new tab)
- Vendor advisory: https://www.qnap.com/en/security-advisory/qsa-23-57 (opens in a new tab)
- Exploit or technical research: https://www.rapid7.com/blog/post/2024/02/13/cve-2023-47218-qnap-qts-and-quts-hero-unauthenticated-command-injection-fixed/ (opens in a new tab)
Test or Research Source
- Source: http/cves/2023/CVE-2023-47218.yaml (opens in a new tab)
- Tags: cve, cve2023, intrusive, qnap, qts, quts, rce, vkev, vuln
Research Note Context
This research note documents exploit-technique analysis associated with this vulnerability and references Atomicorp WAF protections observed during engineering review, testing, or validation activities.
Atomicorp security controls are generally designed to identify and mitigate attack techniques and exploit behaviors rather than individual CVE identifiers. As a result, protections developed for one vulnerability may also apply to related attack variants and future vulnerabilities using similar techniques.
Learn More
Atomicorp develops commercially supported security technologies for web applications, servers, endpoints, workloads, and legacy enterprise platforms.
Organizations interested in protecting systems against exploit techniques associated with vulnerabilities such as this one can learn more about:
- Atomic ModSecurity Rules: commercially maintained WAF rules for ModSecurity deployments, including protections for web attacks, bots, scanners, malware, exploitation attempts, and emerging vulnerability classes.
- Atomic WAF: an enterprise web application firewall with Atomicorp rules, centralized management, reporting, authentication controls, and operational tooling.
- Atomic ModSecurity Integrator: a special licensing option for MSPs, MSSPs, OEMs, VARs, reverse proxy providers, and other integrators who want to incorporate Atomicorp ModSecurity rule technology into their own products or services.
- Atomic OSSEC: an enterprise OSSEC-based intrusion detection, compliance, and security monitoring platform.
- Atomic Protector: workload protection for Linux, web, cloud, data center, and hybrid environments.
For additional information, product evaluations, or technical discussions, visit https://www.atomicorp.com/ or https://modsecurity.io/ (opens in a new tab) .