Vulnerability Name:

CVE-2017-6542 (CCN-123504)

Assigned:2017-03-21
Published:2017-03-21
Updated:2018-10-30
Summary:The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have unspecified impact via a large length value in an agent protocol message and leveraging the ability to connect to the Unix-domain socket representing the forwarded agent connection, which trigger a buffer overflow.
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
5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2017-6542

Source: SUSE
Type: Third Party Advisory
openSUSE-SU-2017:0741

Source: CCN
Type: SECTRACK ID: 1038067
PuTTY Integer Overflow in ssh_agent_channel_data Lets Local Users Gain Elevated Privileges or Deny Service

Source: CCN
Type: PuTTY Web Site
PuTTY vulnerability vuln-agent-fwd-overflow

Source: CONFIRM
Type: Patch, Vendor Advisory
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-agent-fwd-overflow.html

Source: BID
Type: Third Party Advisory, VDB Entry
97156

Source: CCN
Type: BID-97156
PuTTY 'ssh_agent_channel_data()' Function Integer Overflow Vulnerability

Source: SECTRACK
Type: UNKNOWN
1038067

Source: XF
Type: UNKNOWN
putty-cve20176542-priv-esc(123504)

Source: CONFIRM
Type: Patch, Third Party Advisory
https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4ff22863d895cb7ebfced4cf923a012a614adaa8

Source: GENTOO
Type: Third Party Advisory, VDB Entry
GLSA-201703-03

Source: GENTOO
Type: UNKNOWN
GLSA-201706-09

Source: EXPLOIT-DB
Type: UNKNOWN
42137

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2017-6542

Vulnerable Configuration:Configuration 1:
  • cpe:/a:putty:putty:*:*:*:*:*:*:*:* (Version <= 0.67)

  • Configuration 2:
  • cpe:/o:opensuse:leap:42.2:*:*:*:*:*:*:*
  • OR cpe:/o:opensuse_project:leap:42.1:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:putty:putty:0.67:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20176542
    V
    CVE-2017-6542
    2022-06-30
    oval:org.opensuse.security:def:113185
    P
    putty-0.76-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106606
    P
    putty-0.76-1.2 on GA media (Moderate)
    2021-10-01
    oval:com.ubuntu.cosmic:def:201765420000000
    V
    CVE-2017-6542 on Ubuntu 18.10 (cosmic) - medium.
    2017-03-27
    oval:com.ubuntu.artful:def:20176542000
    V
    CVE-2017-6542 on Ubuntu 17.10 (artful) - medium.
    2017-03-27
    oval:com.ubuntu.trusty:def:20176542000
    V
    CVE-2017-6542 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-03-27
    oval:com.ubuntu.bionic:def:201765420000000
    V
    CVE-2017-6542 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-03-27
    oval:com.ubuntu.bionic:def:20176542000
    V
    CVE-2017-6542 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-03-27
    oval:com.ubuntu.xenial:def:20176542000
    V
    CVE-2017-6542 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-03-27
    oval:com.ubuntu.xenial:def:201765420000000
    V
    CVE-2017-6542 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-03-27
    oval:com.ubuntu.cosmic:def:20176542000
    V
    CVE-2017-6542 on Ubuntu 18.10 (cosmic) - medium.
    2017-03-27
    oval:com.ubuntu.disco:def:201765420000000
    V
    CVE-2017-6542 on Ubuntu 19.04 (disco) - medium.
    2017-03-27
    oval:com.ubuntu.precise:def:20176542000
    V
    CVE-2017-6542 on Ubuntu 12.04 LTS (precise) - medium.
    2017-03-27
    BACK
    putty putty *
    opensuse leap 42.2
    opensuse_project leap 42.1
    putty putty 0.67