CVE-2020-2509
CONFIRMED EXPLOITEDQNAP Network-Attached Storage (NAS) Command Injection Vulnerability
Is QNAP QNAP Network-Attached Storage (NAS) affected by CVE-2020-2509?
QNAP QNAP Network-Attached Storage (NAS) is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2020-2509, added on 2022-04-11. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (40 vulnerable CPE entries): qnap qts.
Published CPE version bounds mark releases below 4.5.1 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-05-02.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2023-47565Same vendorQNAP VioStor NVR
QNAP VioStor NVR OS Command Injection Vulnerability
- CVE-2022-27593Same vendorQNAP Photo Station
QNAP Photo Station Externally Controlled Reference Vulnerability
- CVE-2019-7195Same vendorQNAP Photo Station
QNAP Photo Station Path Traversal Vulnerability
- CVE-2019-7194Same vendorQNAP Photo Station
QNAP Photo Station Path Traversal Vulnerability
- CVE-2017-11317Neighboring entryTelerik User Interface (UI) for ASP.NET AJAX
Telerik UI for ASP.NET AJAX Unrestricted File Upload Vulnerability
- CVE-2021-22600Neighboring entryLinux Kernel
Linux Kernel Privilege Escalation Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
QNAP NAS devices contain a command injection vulnerability which could allow attackers to perform remote code execution.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
A command injection vulnerability has been reported to affect QTS and QuTS hero. If exploited, this vulnerability allows attackers to execute arbitrary commands in a compromised application. We have already fixed this vulnerability in the following versions: QTS 4.5.2.1566 Build 20210202 and later QTS 4.5.1.1495 Build 20201123 and later QTS 4.3.6.1620 Build 20210322 and later QTS 4.3.4.1632 Build 20210324 and later QTS 4.3.3.1624 Build 20210416 and later QTS 4.2.6 Build 20210327 and later QuTS hero h4.5.1.1491 build 20201119 and later
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-04-11. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of QNAP Network-Attached Storage (NAS) has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Network service surface (QNAP QNAP Network-Attached Storage (NAS)): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running QNAP QNAP Network-Attached Storage (NAS) and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- https://www.qnap.com/en/security-advisory/qsa-21-05Vendor Advisory
- https://www.qnap.com/en/security-advisory/qsa-21-05Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-2509US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting