cbcvebase.
CVE-2018-0709
published 2018-07-17

CVE-2018-0709: Command injection vulnerability in date of QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could allow authenticated users to run arbitrary…

PriorityP268high8.8CVSS 3.0
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
13.62%
96.0th percentile
Command injection vulnerability in date of QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could allow authenticated users to run arbitrary commands.

Affected

2 ranges
VendorProductVersion rangeFixed in
qnapq_center<= 1.7.1063
qnapq_center_virtual_appliance

Detection & IOCsextracted from sources · hover to see the quote

urlPOST /qcenter/hawkeye/v1/date_config HTTP/1.1
path/qcenter/hawkeye/v1/date_config
path/tmp/date_config
command";touch /tmp/date_config;echo"lalala
otherpasswd=Ijt0b3VjaCAvdG1wL2RhdGVfY29uZmlnO2VjaG8ibGFsYWxh
urlGET /qcenter/hawkeye/v1/account?_dc=1519932315271 HTTP/1.1
path/qcenter/hawkeye/v1/account
path/qcenter/hawkeye/v1/network_config
path/tmp/netconfigpower
  • Monitor for POST requests to /qcenter/hawkeye/v1/date_config with a base64-encoded 'passwd' field; the passwd value decodes to a shell injection payload (e.g., contains semicolons and shell commands).
  • Alert on GET requests to /qcenter/hawkeye/v1/account by non-admin roles (e.g., ROLE=1082130432 viewer), which may indicate privilege escalation reconnaissance to harvest the admin base64 password.
  • Detect unexpected file creation under /tmp/ (e.g., /tmp/date_config, /tmp/netconfigpower) on QNAP Q'center appliances, which are artifacts of successful command injection via the passwd parameter.
  • Flag HTTP responses from /qcenter/hawkeye/v1/account that include the 'new_password' field in JSON output, as this leaks the admin password encoded in base64.
  • Inspect POST bodies to /qcenter/hawkeye/v1/date_config for the 'passwd' key containing base64 strings that decode to shell metacharacters (e.g., semicolons, quotes, touch/echo commands).
  • ·The command injection in CVE-2018-0709 requires an authenticated session; exploitation is facilitated by first chaining with CVE-2018-0706 (password disclosure) to obtain admin credentials.
  • ·A Power User role (ROLE=1610612735) can also trigger the date_config injection endpoint despite the web UI not exposing this function to that role, broadening the attacker surface beyond admin-only.
  • ·The passwd field is base64-encoded before submission, meaning shell metacharacters pass through any surface-level input filters undetected until decoded server-side.
  • ·Affected versions confirmed in testing are Q'center Virtual Appliance 1.6.1056 (20170825) and 1.6.1075 (20171123); NVD lists 1.7.1063 and earlier as vulnerable.

CVSS provenance

nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
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.