CVE DatabaseCVE-2023-47565
한국어 권고문 →
CVE-2023-475658.8/HIGHCISA KEVCWE-78CWE-78

QNAP VioStor NVR OS Command Injection Vulnerability (CVE-2023-47565) Security Advisory & Mitigation Guide

⚡ Jump to Patch
Affected Vendors
qnap
Affected Components
viostor nvr, qvr firmware
Published Date
2023-12-08
CVSS v3.1
8.8
HIGH
EPSS (30d)
73.3%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Legacy QNAP VioStor NVR models running QVR Firmware 4.x

Impact

Authenticated attackers can execute arbitrary OS commands via network requests, potentially leading to full system compromise

Mitigation

Immediately upgrade QVR Firmware to version 5.0.0 or later, or restrict network access to the device

Affected Products & Version Scope

Legacy QNAP VioStor NVR models running QVR Firmware 4.x (all versions prior to 5.0.0)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

According to QNAP's official advisory, users must upgrade QVR Firmware to version 5.0.0 or later. This can be done via the web administration console or by manually uploading the firmware package.

bash
# Check the current system firmware version via QNAP CLI
getcfg System Version
# Check the current build number
getcfg System 'Build Number'

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, isolate the NVR from the public internet and restrict access to trusted administrative IP addresses only.

bash
# Restrict access to web ports (80/443) to a trusted admin IP (e.g., 192.168.1.100) using iptables
iptables -A INPUT -p tcp -s 192.168.1.100 --dport 443 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP
iptables -A INPUT -p tcp --dport 80 -j DROP

3. Log Audit & IoC Verification Commands

Inspect web server access logs for suspicious patterns indicating command injection attempts.

bash
# Search web access logs for common command injection payloads and utilities
grep -Ei '(/bin/sh|/bin/bash|curl|wget|chmod|cat%20/etc/passwd)' /var/log/apache2/access.log
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Due to active exploitation in the wild, immediately upgrade QVR Firmware to 5.0.0+ or isolate the device from untrusted networks.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2023-47565) is an OS command injection vulnerability (CWE-78) affecting legacy QNAP VioStor NVR (Network Video Recorder) devices running QVR Firmware 4.x. The root cause lies in the insufficient sanitization and validation of user-supplied inputs before passing them to system shell execution functions within the web management interface.

2. Exploitation Mechanics & Attack Scenario

An attacker must first obtain authenticated access to the target device (even with low-privilege credentials). Once authenticated, the attacker sends a specially crafted HTTP request containing shell metacharacters (such as ';', '&', or '|') within the parameters. Because the backend application fails to escape these characters, the system executes the appended malicious commands with the privileges of the web server or root user.

3. Infrastructure & Business Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Successful exploitation allows attackers to gain unauthorized access to sensitive surveillance video feeds, recruit the NVR into botnets for DDoS campaigns, or use the compromised device as a pivot point to compromise the internal corporate network.

Official Vendor Advisories & References

NVD Original English Description

An OS command injection vulnerability has been found to affect legacy QNAP VioStor NVR models running QVR Firmware 4.x. If exploited, the vulnerability could allow authenticated users to execute commands via a network. We have already fixed the vulnerability in the following versions: QVR Firmware 5.0.0 and later

Frequently Asked SecOps Questions (CVE-2023-47565)

FAQ

Q1. How critical is CVE-2023-47565 and is it actively exploited in the wild?

CVE-2023-47565 is rated CVSS 8.8 (HIGH) with a 30-day EPSS exploitation probability of 73.3%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2023-47565?

Primary impacted vendors include qnap across viostor nvr, qvr firmware. Scope summary: Legacy QNAP VioStor NVR models running QVR Firmware 4.x (all versions prior to 5.0.0)

Q3. What temporary mitigations or workarounds exist for CVE-2023-47565 before patching?

[Mitigation] Immediately upgrade QVR Firmware to version 5.0.0 or later, or restrict network access to the device Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2023-47565

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (qnap)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2023-47565 QNAP VioStor NVR OS Command Injection Vulnerability (CVE-2023-47565) Security Advisory & Mitigation Guide (CVSS 8.8) - Patch & Workaround | CVE Pulse