cbcvebase.
CVE-2017-5227
published 2017-03-23

CVE-2017-5227: QNAP QTS before 4.2.4 Build 20170313 allows local users to obtain sensitive Domain Administrator password information by reading data in an XOR format within…

PriorityP353high7.5CVSS 3.0
AVNACLPRNUINSUCHINAN
EXPLOIT
EPSS
6.44%
92.9th percentile
QNAP QTS before 4.2.4 Build 20170313 allows local users to obtain sensitive Domain Administrator password information by reading data in an XOR format within the /etc/config/uLinux.conf configuration file.

Affected

1 ranges
VendorProductVersion rangeFixed in
qnapqts<= 4.2.4

Detection & IOCsextracted from sources · hover to see the quote

path/etc/config/uLinux.conf
  • Passwords in /etc/config/uLinux.conf are stored as XOR-obfuscated, base64-encoded strings. Each decoded byte XORed with 0x62 yields the plaintext character. Monitor for read access to this file by unprivileged local users.
  • The credential field to look for in /etc/config/uLinux.conf is 'Password =' under a domain administrator section; the value is a base64 string that decodes to XOR-obfuscated ciphertext.
  • Exploitation can be performed with a trivial PHP or shell one-liner using base64 decode + XOR 0x62. Detect execution of scripts reading /etc/config/uLinux.conf and piping through base64/XOR operations.
  • Shell-based decoding can also be performed with: echo -n '<base64_value>' | base64 -d | hexdump -C — monitor for such command sequences targeting the uLinux.conf password field.
  • ·The vulnerability is local — an attacker must already have local user access to the QNAP device to read /etc/config/uLinux.conf. The file is world-readable, which is the root cause.
  • ·The fix is included in QTS 4.2.4 Build 20170313 and later. Devices running earlier builds remain vulnerable.

CVSS provenance

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