# CVE-2023-47218: Qnap - RCE

> Live exploitation tracking for CVE-2023-47218 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2023-47218

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 5.8
- **Public exploit available:** Yes
- **Affected products:** QNAP Systems Inc. QuTScloud
- **Weaknesses:** 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'))
- **Tags:** nas

## 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

## CrowdSec analysis

[CVE-2023-47218](https://euvd.enisa.europa.eu/vulnerability/CVE-2023-47218) is an OS command injection vulnerability affecting multiple QNAP operating system versions, potentially allowing attackers to execute arbitrary commands over the network.

CrowdSec has been tracking this vulnerability and its exploits since 18th of July 2024.

Data from the CrowdSec community indicates that exploitation of CVE-2023-47218 is highly selective and intelligence-driven. Threat actors use advanced reconnaissance and carefully choose their targets, often as part of sophisticated campaigns or advanced persistent threat operations.
In addition, according to the CrowdSec network, attack volume against CVE-2023-47218 has dipped slightly compared to the previous week. Although still commonly targeted, the decline suggests a cooling-off period. Long-term relevance remains, but attention is waning.

Detection of exploitation attempts often focuses on network traffic directed towards QNAP device management endpoints.

## Timeline

- 2024-02-13: CVE Published. CVE-2023-47218 is published to NVD.
- 2024-07-18: Rule Released. CrowdSec releases a rule to detect CVE-2023-47218 exploitation attempts against the CrowdSec Network.
- 2024-11-27: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2023-47218 for the first time.

## References

- https://www.qnap.com/en/security-advisory/qsa-23-57
- https://www.rapid7.com/blog/post/2024/02/13/cve-2023-47218-qnap-qts-and-quts-hero-unauthenticated-command-injection-fixed/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-47218.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2023-47218) follows observed exploitation activity for CVE-2023-47218. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
