CVE-2018-0710
published 2018-07-17CVE-2018-0710: Command injection vulnerability in SSH 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
14.23%
96.2th percentile
Command injection vulnerability in SSH of QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could allow authenticated users to run arbitrary commands.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| qnap | q_center | <= 1.7.1063 | — |
| qnap | q_center_virtual_appliance | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor HTTP POST requests to /qcenter/hawkeye/v1/account?change_passwd, /qcenter/hawkeye/v1/network_config, and /qcenter/hawkeye/v1/date_config for base64-encoded payloads in the 'passwd' or 'new_password' fields containing shell metacharacters (e.g., semicolons, quotes) after decoding. ↗
- →Alert on GET requests to /qcenter/hawkeye/v1/account from non-admin roles (e.g., ROLE=1082130432 viewer, ROLE=1610612735 power user), which indicates exploitation of the privilege escalation to harvest the admin password. ↗
- →Detect creation of indicator files /tmp/netconfigpower, /tmp/changepass, or /tmp/date_config on the Q'center appliance filesystem, which are artifacts of PoC command injection payloads. ↗
- →The injection point for CVE-2018-0710 (SSH config update) follows the same pattern as CVE-2018-0708/0709: an unsanitized base64-encoded 'passwd' field passed to a sudo OS command. Monitor POST requests to the SSH settings API endpoint for the same base64-encoded shell injection patterns. ↗
- →The 'new_password' field in the JSON response from /qcenter/hawkeye/v1/account exposes the admin password in base64 (field name 'new_password'). Detect responses containing this field to identify successful credential harvesting. ↗
- ·Exploitation of CVE-2018-0710 (SSH command injection) requires authentication. However, CVE-2018-0706 (information exposure) allows any authenticated user to retrieve the admin password in base64 from the account API, enabling privilege escalation as a prerequisite step. ↗
- ·The command injection payloads are base64-encoded before submission to the API, meaning network-layer string-matching on raw shell metacharacters will not detect the attack without base64 decoding of the request body. ↗
- ·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. Other versions may also be affected but were not tested. ↗
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.
No detection rules found.
No writeups or analysis indexed.
http://packetstormsecurity.com/files/148515/QNAP-Qcenter-Virtual-Appliance-1.6.x-Information-Disclosure-Command-Injection.htmlhttp://seclists.org/fulldisclosure/2018/Jul/45https://www.coresecurity.com/advisories/qnap-qcenter-virtual-appliance-multiple-vulnerabilitieshttps://www.exploit-db.com/exploits/45015/https://www.qnap.com/zh-tw/security-advisory/nas-201807-10https://www.securityfocus.com/archive/1/542141/100/0/threadedhttp://packetstormsecurity.com/files/148515/QNAP-Qcenter-Virtual-Appliance-1.6.x-Information-Disclosure-Command-Injection.htmlhttp://seclists.org/fulldisclosure/2018/Jul/45https://www.coresecurity.com/advisories/qnap-qcenter-virtual-appliance-multiple-vulnerabilitieshttps://www.exploit-db.com/exploits/45015/https://www.qnap.com/zh-tw/security-advisory/nas-201807-10https://www.securityfocus.com/archive/1/542141/100/0/threaded
2018-07-17
Published