Vulnerability Name:

CVE-2021-3331 (CCN-195729)

Assigned:2021-01-21
Published:2021-01-21
Updated:2021-02-04
Summary:WinSCP before 5.17.10 allows remote attackers to execute arbitrary programs when the URL handler encounters a crafted URL that loads session settings. (For example, this is exploitable in a default installation in which WinSCP is the handler for sftp:// URLs.)
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:10.0 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-3331

Source: XF
Type: UNKNOWN
winscp-cve20213331-code-exec(195729)

Source: CCN
Type: WinSCP GIT Repository
Bug 1943: Prevent loading session settings that can lead to remote

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/winscp/winscp/commit/faa96e8144e6925a380f94a97aa382c9427f688d

Source: MISC
Type: Release Notes, Vendor Advisory
https://winscp.net/eng/docs/history#5.17.10

Source: MISC
Type: Vendor Advisory
https://winscp.net/eng/docs/rawsettings

Source: MISC
Type: Patch, Vendor Advisory
https://winscp.net/tracker/1943

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-3331

Vulnerable Configuration:Configuration 1:
  • cpe:/a:winscp:winscp:*:*:*:*:*:*:*:* (Version < 5.17.10)

  • Configuration CCN 1:
  • cpe:/a:winscp:winscp:5.17.9:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    winscp winscp *
    winscp winscp 5.17.9