CWE-506Weakness · CWE-506

CVE-2017-20203

CRITICAL · 9.3 CVSS v4.0 Published 2025-10-09
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges

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 · unedited
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.

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 confidence

Supply 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.

MitigationUpdate 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify NetSarang product installations
    Check 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
  2. Locate and inspect nssock2.dll
    Find 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
  3. Monitor for suspicious DNS TXT queries
    Capture 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
  4. Examine registry for encrypted VFS artifacts
    Search 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
  5. Check for unauthorized code execution
    Review 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Update 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.

Recommended fix High confidence

Xmanager Enterprise Build 1236, Xmanager Build 1049, Xshell Build 1326, Xftp Build 1222, Xlpd Build 1224

  1. 1. Identify which NetSarang products are installed (Xmanager Enterprise, Xmanager, Xshell, Xftp, or Xlpd)
  2. 2. Check the current build version of each installed product
  3. 3. If running a compromised build (Xmanager Enterprise ≤1232, Xmanager ≤1045, Xshell ≤1322, Xftp ≤1218, or Xlpd ≤1220), uninstall the current version
  4. 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. 5. Install the updated versions of each affected product
  6. 6. Verify the nssock2.dll file is the legitimate version (optionally compare file hash with known good values from NetSarang)
  7. 7. Monitor for any suspicious network activity, particularly DNS queries to unknown domains
Caveat Minimal risk - these are security fixes for compromised builds; ensure any saved sessions/configuration are backed up before reinstalling

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2017-20203 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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