Unauthenticated command execution via uploaded filename
Published Feb 13, 2024 · Updated May 7, 2025
OS command injection in QNAP QTS 5.1.x, QuTS hero h5.1.x, and QuTScloud c5.x allows remote attackers to execute commands via HTTP. The uploaf_firmware_image routine places a URL-decoded multipart filename inside an update_fw shell command and passes it to system without neutralizing embedded quotes. No authentication or user interaction is required when quick.cgi is network-accessible, and successful exploitation runs commands with administrative privileges.
Summary
What happened
OS command injection in QNAP QTS 5.1.x, QuTS hero h5.1.x, and QuTScloud c5.x allows remote attackers to execute commands via HTTP. The uploaf_firmware_image routine places a URL-decoded multipart filename inside an update_fw shell command and passes it to system without neutralizing embedded quotes. No authentication or user interaction is required when quick.cgi is network-accessible, and successful exploitation runs commands with administrative privileges.
The record
- CVE
- CVE-2023-47218
- Published
- Feb 13, 2024
- Updated
- May 7, 2025
- Vendor
- Linn Products Limited
- Product
- QuTS hero
- Classifications
- CWE-77, CWE-78, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 13, 2024CVE publishedPublication date reported by the CVE source.
- May 7, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=h5.1.x <h5.1.5.2647 build 20240118
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- qnap_hax.rb proof-of-concept exploitproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo