CVE-2023-47218 is an unauthenticated OS command injection vulnerability in the quick.cgi component used by several QNAP operating system versions, including QTS, QuTS hero, and QuTScloud. QNAP states that, if exploited, the issue could allow users to execute commands via a network. Supporting reporting indicates the flaw is exploitable by sending a specially crafted HTTP POST request to quick.cgi. Rapid7 reported the issue and published a proof-of-concept exploit. The vulnerable quick.cgi component is noted to be present on uninitialized QNAP NAS devices and disabled after successful device initialization, which may limit exposure in some deployments.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module (modules/exploits/linux/http/qnap_qts_rce_cve_2023_47218.rb) targeting CVE-2023-47218, an unauthenticated remote code execution vulnerability in QNAP QTS and QuTS hero NAS devices. The exploit leverages a command injection flaw in the /cgi-bin/quick/quick.cgi endpoint, which is exposed on uninitialized QNAP NAS devices. The module checks for vulnerability by sending a GET request to the endpoint and analyzing the response. If vulnerable, it uploads a bash script containing the encoded payload to a writable directory (/mnt/update) and executes it via command injection. The exploit is operational, allowing arbitrary command execution as a privileged user. The only endpoints referenced are the vulnerable CGI path and the writable directory used for payload delivery. The code is written in Ruby and is structured as a standard Metasploit exploit module.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
An unauthenticated OS command injection / remote code execution vulnerability in QNAP NAS firmware (quick.cgi), exploitable via a specially crafted HTTP POST request.
A QNAP-related vulnerability referenced only by CVE ID in a list of other vendors’ updates; no technical details provided in the content.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.