cbcvebase.
CVE-2023-50358
published 2024-02-13

CVE-2023-50358: An OS command injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow users to…

PriorityP179medium5.8CVSS 3.1
AVAACHPRNUINSCCLILAL
ITWVulnCheck KEV
Exploited in the wild
EPSS
12.77%
95.8th percentile
An OS command injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow users to execute commands via a network. We have already fixed the vulnerability in the following versions: QTS 5.1.5.2645 build 20240116 and later QTS 4.5.4.2627 build 20231225 and later QTS 4.3.6.2665 build 20240131 and later QTS 4.3.4.2675 build 20240131 and later QTS 4.3.3.2644 build 20240131 and later QTS 4.2.6 build 20240131 and later QuTS hero h5.1.5.2647 build 20240118 and later QuTS hero h4.5.4.2626 build 20231225 and later QuTScloud c5.1.5.2651 and later

Affected

23 ranges
VendorProductVersion rangeFixed in
qnapqts
qnapqts
qnapqts
qnapqts>= 4.2.0 < 4.2.64.2.6
qnapqts>= 4.3.0 < 4.3.3.26444.3.3.2644
qnapqts>= 4.3.4 < 4.3.4.26754.3.4.2675
qnapqts>= 4.3.5 < 4.3.6.26654.3.6.2665
qnapqts>= 4.5.1 < 4.5.4.26274.5.4.2627
qnapqts>= 5.1.0 < 5.1.5.26455.1.5.2645
qnapquts_hero
qnapquts_hero
qnapquts_hero>= h4.5.0 < h4.5.4.2626h4.5.4.2626
qnapquts_hero>= h5.0.0 < h5.1.5.2647h5.1.5.2647
qnapqutscloud>= c5.0.0.1919 < c5.1.5.2651c5.1.5.2651
qnap_systems_incqts>= 4.2.x < 4.2.6 build 202401314.2.6 build 20240131
qnap_systems_incqts>= 4.3.4 < 4.3.4.2675 build 202401314.3.4.2675 build 20240131
qnap_systems_incqts>= 4.3.6, 4.3.5 < 4.3.6.2665 build 202401314.3.6.2665 build 20240131
qnap_systems_incqts>= 4.3.x < 4.3.3.2644 build 202401314.3.3.2644 build 20240131
qnap_systems_incqts>= 4.5.x, 4.4.x < 4.5.4.2627 build 202312254.5.4.2627 build 20231225
qnap_systems_incqts>= 5.x < 5.1.5.2645 build 202401165.1.5.2645 build 20240116
qnap_systems_incquts_hero>= h4.x < h4.5.4.2626 build 20231225h4.5.4.2626 build 20231225
qnap_systems_incquts_hero>= h5.x < h5.1.5.2647 build 20240118h5.1.5.2647 build 20240118
qnap_systems_incqutscloud>= c5.x < c5.1.5.2651c5.1.5.2651

Detection & IOCsextracted from sources · hover to see the quote

path/tmp/quick/quick_tmp.conf
  • The vulnerable endpoint is quick.cgi, accessible without authentication. Monitor for HTTP requests to /cgi-bin/quick/quick.cgi — an HTTP 200 (empty page) response indicates a vulnerable device, while HTTP 404 indicates it is not vulnerable.
  • Exploitation is triggered via the HTTP request parameter todo=set_timeinfo with a malicious value in the SPECIFIC_SERVER parameter. Inspect POST/GET requests to quick.cgi for this parameter combination containing shell metacharacters.
  • The injected command is ultimately executed via system() after being read from the NTP Address entry in quick_tmp.conf. Alert on unexpected child processes spawned from the quick.cgi or ntpdate process on QNAP devices.
  • During a one-week period in mid-January 2024, vulnerable QNAP NAS devices were detected from 289,665 separate IP addresses globally. Prioritize scanning/blocking externally exposed QNAP NAS devices.
  • ·No authentication is required to reach the vulnerable quick.cgi endpoint, meaning any network-reachable attacker can exploit this vulnerability without credentials.

CVSS provenance

nvdv3.15.8MEDIUMCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
vulncheck5.8MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.