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

CVE-2018-0706: Exposure of Private Information in QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could allow authenticated users to access sensitive information.

PriorityP268high8.8CVSS 3.0
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
48.69%
98.7th percentile
Exposure of Private Information in QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could allow authenticated users to access sensitive information.

Affected

2 ranges
VendorProductVersion rangeFixed in
qnapq_center<= 1.7.1063
qnapq_center_virtual_appliance

Detection & IOCsextracted from sources · hover to see the quote

url/qcenter/hawkeye/v1/account
url/qcenter/hawkeye/v1/account?change_passwd
url/qcenter/hawkeye/v1/login
url/qcenter/hawkeye/v1/network_config
url/qcenter/hawkeye/v1/date_config
cookieCMS_SID=IV4P74Y16X; ROLE=1082130432; _ID=5a9847223af7e2034924e7b6
path/tmp/changepas
path/tmp/netconfigpower
path/tmp/date_config
port443
commandsudo passwd
  • Monitor HTTP GET requests to /qcenter/hawkeye/v1/account from non-admin authenticated sessions; the presence of a 'new_password' field in the JSON response indicates the password disclosure vulnerability (CVE-2018-0706) is being triggered.
  • Detect POST requests to /qcenter/hawkeye/v1/account?change_passwd where the new_password JSON field contains base64-encoded strings that decode to shell metacharacters (e.g., semicolons, quotes) indicative of command injection.
  • Alert on POST requests to /qcenter/hawkeye/v1/network_config or /qcenter/hawkeye/v1/date_config where the 'passwd' field contains base64 data that decodes to shell injection payloads (e.g., semicolons, touch/echo commands).
  • Inspect session cookies for ROLE values corresponding to low-privilege accounts (e.g., ROLE=1082130432 for viewer, ROLE=1610612735 for power user) making requests to privileged API endpoints like /hawkeye/v1/account, which should be restricted to admin.
  • Check for the _ID cookie value being scanned/extracted from session cookies, as the exploit uses it to identify the admin account _id for the change_passwd injection.
  • Version fingerprinting: Q'Center versions prior to 1.7.1083 are vulnerable; detect version strings in HTTP responses via the pattern `.js?_v=<version>` in the index.html body.
  • ·CVE-2018-0706 (password disclosure) is chained with CVE-2018-0707 (command injection via change_passwd) in the Metasploit module; the two CVEs are distinct but used together in exploitation.
  • ·The exploit requires valid credentials for at least one authenticated user (not necessarily admin); any authenticated user can exploit CVE-2018-0706 to retrieve the admin password.
  • ·The admin password is only the one set at installation time; if the admin password was changed post-install, the new_password field may not reflect the current password.
  • ·The module targets HTTPS (port 443) by default; detections should account for TLS-encrypted traffic requiring SSL inspection.

CVSS provenance

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