CVE-2017-20203
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedNetSarang 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceSupply chain compromise in NetSarang's nssock2.dll library containing a multi-stage DNS-based backdoor. The malicious DLL contacts a C2 DNS server via specially crafted TXT records using a month-generated domain, receives a decryption key, downloads/executes arbitrary code, creates an encrypted VFS in the registry, and provides full RCE, data exfiltration, and persistence.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- A
- Scope
- X
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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify NetSarang product installationsCheck the system for installed NetSarang applications: Xmanager Enterprise, Xmanager, Xshell, Xftp, or Xlpd. Use 'Add or Remove Programs' on Windows or check common installation directories.Affected if Any of these NetSarang products are installed and the nssock2.dll library has not been replaced with a clean version
-
Locate and inspect nssock2.dllFind the nssock2.dll file within the NetSarang product installation directory. Compare its file hash or digital signature against a known clean version from the official vendor.Affected if The DLL file is present and its hash does not match the legitimate vendor file, or the file exhibits unexpected characteristics such as DNS query functionality
-
Monitor for suspicious DNS TXT queriesCapture and inspect network traffic for DNS TXT record queries to suspicious domains. Use network monitoring tools or DNS server logs to identify queries from NetSarang applications to unusual or unknown domains.Affected if NetSarang applications generate DNS TXT queries to domains that are not recognized or are associated with the C2 infrastructure
-
Examine registry for encrypted VFS artifactsSearch the Windows registry for unusual encrypted virtual file system (VFS) entries created by the malicious DLL. Focus on registry keys that may contain encoded configuration or data related to the backdoor.Affected if Unexpected encrypted registry artifacts are found that correspond to the VFS persistence mechanism described in the threat intelligence
-
Check for unauthorized code executionReview process creation logs, startup items, and scheduled tasks for evidence of arbitrary code downloaded and executed by the compromised DLL.Affected if Unknown or unauthorized code or scripts are being executed on the system in correlation with NetSarang application usage
The environment is affected if any NetSarang product contains the malicious nssock2.dll with DNS-based C2 capabilities, evidenced by unusual DNS TXT activity, registry artifacts, or unauthorized code execution.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate to the patched builds: Xmanager Enterprise Build 1236, Xmanager Build 1049, Xshell Build 1326, Xftp Build 1222, or Xlpd Build 1224. Investigate for signs of compromise including unusual DNS TXT queries and registry artifacts.
Xmanager Enterprise Build 1236, Xmanager Build 1049, Xshell Build 1326, Xftp Build 1222, Xlpd Build 1224
- 1. Identify which NetSarang products are installed (Xmanager Enterprise, Xmanager, Xshell, Xftp, or Xlpd)
- 2. Check the current build version of each installed product
- 3. If running a compromised build (Xmanager Enterprise ≤1232, Xmanager ≤1045, Xshell ≤1322, Xftp ≤1218, or Xlpd ≤1220), uninstall the current version
- 4. Download the remediated builds from the official NetSarang website or trusted source: Xmanager Enterprise Build 1236, Xmanager Build 1049, Xshell Build 1326, Xftp Build 1222, or Xlpd Build 1224
- 5. Install the updated versions of each affected product
- 6. Verify the nssock2.dll file is the legitimate version (optionally compare file hash with known good values from NetSarang)
- 7. Monitor for any suspicious network activity, particularly DNS queries to unknown domains
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2017-20203 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2017-20203 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data