Unauthenticated command execution via quick.cgi NTP input
Published Feb 13, 2024 · Updated May 9, 2025
OS command injection in QNAP QTS, QuTS hero, and QuTScloud allows remote attackers to execute arbitrary commands through quick.cgi. quick.cgi writes the unauthenticated SPECIFIC_SERVER value into the NTP Address field of a temporary configuration file, then passes the resulting ntpdate command line to system(). Network access to the NAS system port is sufficient, and successful exploitation grants command execution with the CGI process's privileges.
Summary
What happened
OS command injection in QNAP QTS, QuTS hero, and QuTScloud allows remote attackers to execute arbitrary commands through quick.cgi. quick.cgi writes the unauthenticated SPECIFIC_SERVER value into the NTP Address field of a temporary configuration file, then passes the resulting ntpdate command line to system(). Network access to the NAS system port is sufficient, and successful exploitation grants command execution with the CGI process's privileges.
The record
- CVE
- CVE-2023-50358
- Published
- Feb 13, 2024
- Updated
- May 9, 2025
- Vendor
- Linn Products Limited
- Product
- QuTS hero
- Classifications
- CWE-78, T1190, T1059.004
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 13, 2024CVE publishedPublication date reported by the CVE source.
- May 9, 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=h4.x <h4.5.4.2626 build 20231225
- Affected versionversion=h5.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
- Unit 42 quick.cgi proof of command executionproof 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