CVE-2019-7193 — QNAP QTS Improper Input Validation Vulnerability

CVE-2019-7193

QNAP QTS — Unauthenticated Code Injection, Part of the Photo Station Device-Takeover Chain

What is QNAP QTS?

QTS is the Linux-based operating system that runs QNAP's NAS appliances, providing the file services, app store, and web management console used by millions of home and small-business NAS deployments worldwide.

Overview

CVE-2019-7193 is a critical (CVSS 9.8) improper input validation flaw in QTS that lets an unauthenticated remote attacker inject and execute arbitrary code on the device. It was disclosed and patched as part of the same December 2019 QNAP update batch as the related Photo Station flaws CVE-2019-7192, CVE-2019-7194, and CVE-2019-7195.

Technical Details

QTS fails to properly validate attacker-supplied input before using it in a system-level operation, allowing an attacker to inject commands or code that QTS then executes with the privileges of the underlying service. Because the flaw requires no authentication and no user interaction, an attacker who can reach the NAS's management interface over the network can potentially achieve full code execution.

Discovery

Reported through QNAP's vendor security-advisory process and patched in a QTS firmware update; no independent researcher credit is listed in NVD.

Exploitation Context

QNAP NAS devices have long been a preferred target for ransomware operators (eCh0raix/QNAPCrypt) and the QSnatch/Derek data-theft malware that CISA, NCSC-UK, and other national CERTs jointly warned about. CISA flags this CVE for confirmed ransomware-campaign use, consistent with it being combined with the related Photo Station flaws in real-world device-compromise chains.

Remediation

  1. Update QTS to the latest vendor-supported version without delay.
  2. Restrict NAS administrative access to trusted internal networks only — never expose it directly to the internet.
  3. Enable QNAP's auto-update and Malware Remover features.
  4. Audit scheduled tasks/cron entries on the device for unauthorized additions.
  5. Review NAS access logs for unfamiliar authentication attempts or configuration changes.

Key Details

PropertyValue
CVE ID CVE-2019-7193
Vendor / Product QNAP — QTS
NVD Published2019-12-05
NVD Last Modified2025-10-27
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
CISA KEV Added2022-06-08
CISA KEV Deadline2022-06-22
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-22. Apply updates per vendor instructions.

Timeline

DateEvent
2019-12-05Patched by QNAP in a QTS firmware update
2022-06-08Added to CISA Known Exploited Vulnerabilities catalog
2022-06-22CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2019-7193 Vulnerability Database
CISA KEV Catalog Entry US Government