CVE-2017-20203
NetSarang v5.0 Malicious Backdoor Supply Chain Compromise
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- active: a user has to take a deliberate step, such as installing or running something
- Impact on the vulnerable system
- confidentiality high, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality high, integrity high, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 46.8% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 15 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-506 Embedded Malicious Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Xmanager Enterprise |
affected 5.0 Build 1232
Other versions: unaffected
|
| Xmanager |
affected 5.0 Build 1045
Other versions: unaffected
|
| Xshell |
affected 5.0 Build 1322
Other versions: unaffected
|
| Xftp |
affected 5.0 Build 1218
Other versions: unaffected
|
| Xlpd |
affected 5.0 Build 1220
Other versions: unaffected
|
Is my server affected?
Find the installed version of xftp and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i xftp
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-20203 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-20203RHEL, Rocky, Alma, Fedora
rpm -q xftp
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-20203Alpine
apk list --installed | grep -i xftpWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2017-20203
trivy image --scanners vuln IMAGE | grep CVE-2017-20203
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Advisories
- https://web.archive.org/web/20181022035109/https://www.netsarang.com/news/security_exploit_in_july_18_2017_build.html web.archive.org · vendor advisory, patch
- https://www.vulncheck.com/advisories/netsarang-malicious-backdoor-supply-chain-compromise vulncheck.com · third party advisory
Other references
- https://usa.kaspersky.com/about/press-releases/shadowpad-attackers-hid-backdoor-in-software-used-by-hundreds-of-large-companies-worldwide usa.kaspersky.com · technical description
- https://securelist.com/shadowpad-in-corporate-networks/81432/ securelist.com · technical description
Source: the record CVE-2017-20203 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.