1. CVE archive
  2. 2017
  3. CVE-2017-20203

CVE-2017-20203

9.3 Critical severity CVSS v4.0 · source NVD CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 9.3 – Critical

Description

NetSarang Xmanager Enterprise 5.0 Build 1232, Xmanager 5.0 Build 1045, Xshell 5.0 Build 1322, Xftp 5.0 Build 1218, and Xlpd 5.0 Build 1220 contain a malicious nssock2.dll that implements a multi-stage, DNS-based backdoor. The dormant library contacts a C2 DNS server via a specially crafted TXT record for a month‑generated domain. After receiving a decryption key, it then downloads and executes arbitrary code, creates an encrypted virtual file system (VFS) in the registry, and grants the attacker full remote code execution, data exfiltration, and persistence. NetSarang released builds for each product line that remediated the compromise: Xmanager Enterprise Build 1236, Xmanager Build 1049, Xshell Build 1326, Xftp Build 1222, and Xlpd Build 1224. Kaspersky Lab identified an instance of exploitation in the wild in August 2017.

Affected products

VendorProductVersionPlatform
netsarang xftp 5.0 –
netsarang xlpd 5.0.1220 –
netsarang xmanager 5.0 –
netsarang xshell 5.0 –

Vulnerability type

CWE-506 Embedded Malicious Code

The product contains code that appears to be malicious in nature.

Impact on systems

ScopeImpact
Confidentiality, Integrity, Availability Execute Unauthorized Code or Commands

How to prevent it

Implementation · Operation Remove the malicious code and start an effort to ensure that no more malicious code exists. This may require a detailed review of all code, as it is possible to hide a serious attack in only one or two lines of code. These lines may be located almost anywhere in an application and may have been intentionally obfuscated by the attacker.

All 60 CWE-506 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org