CVE-2018-19949 — QNAP NAS File Station Command Injection Vulnerability

CVE-2018-19949

QNAP File Station Command Injection — Unauthenticated Root Compromise of Internet-Facing NAS

What is QNAP File Station?

File Station is the web-based file manager bundled with QNAP's QTS operating system for its NAS appliances, letting users browse, upload, and share files through a browser. QNAP devices are widely deployed for home and small-business backup and file sharing, and — because many are reachable from the internet for remote access — they are a favorite target for both opportunistic botnets and ransomware crews.

Overview

CVE-2018-19949 is a critical, unauthenticated command injection vulnerability in QNAP File Station. An attacker with no credentials at all can send a specially crafted request that causes the underlying operating system to execute attacker-supplied commands, giving them direct control over the NAS device — typically at the highest privilege level available to the File Station process.

Technical Details

The flaw is tracked under CWE-20 (improper input validation): a parameter that File Station passes through to a system-level command is not adequately sanitized, allowing shell metacharacters or additional command sequences to be injected and executed by the underlying OS. Because the CVSS vector shows no privileges or user interaction required, an attacker only needs network reachability to the File Station interface to trigger the flaw remotely — making this one of the more dangerous QNAP vulnerabilities from an internet-exposure standpoint.

Discovery

QNAP resolved this vulnerability through its standard firmware update process and published a corresponding security advisory. No specific third-party researcher credit is confidently documented for this individual CVE.

Exploitation Context

This CVE is flagged in CISA's KEV catalog as confirmed exploited in the wild, and its ransomwareUse: true marker reflects the broader pattern of ransomware operators (such as those behind the Qlocker and DeadBolt campaigns) targeting internet-exposed QNAP NAS devices. Unauthenticated command injection is an especially attractive primitive for mass-scanning campaigns, since a single crafted HTTP request can compromise any reachable, unpatched device without requiring credential theft or social engineering first.

Remediation

  1. Update QNAP QTS firmware and File Station to the latest vendor-supplied version immediately — this is a critical, unauthenticated remote code execution risk.
  2. Do not expose QNAP NAS web management interfaces directly to the internet; use QNAP's VPN-based remote access options or place the device behind a firewall.
  3. Disable File Station or any unnecessary QNAP apps/services that are not actively in use to reduce the attack surface.
  4. Review NAS system and access logs for unexpected processes, new user accounts, or outbound connections that could indicate prior exploitation.
  5. Keep independent, offline backups of NAS-hosted data, since ransomware operators known to target this platform frequently destroy on-device snapshots as part of their attack.

Key Details

PropertyValue
CVE ID CVE-2018-19949
Vendor / Product QNAP — Network Attached Storage (NAS)
NVD Published2020-10-28
NVD Last Modified2025-11-03
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-20 find similar ↗
CISA KEV Added2022-05-24
CISA KEV Deadline2022-06-14
Known Ransomware Use ⚠️ Yes

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-06-14. Apply updates per vendor instructions.

Timeline

DateEvent
2020-10-28CVE published
2022-05-24Added to CISA Known Exploited Vulnerabilities catalog
2022-06-14CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2018-19949 Vulnerability Database
CISA KEV Catalog Entry US Government