Vulnerability Name:

CVE-2017-15042 (CCN-133098)

Assigned:2017-10-04
Published:2017-10-04
Updated:2019-10-03
Summary:An unintended cleartext issue exists in Go before 1.8.4 and 1.9.x before 1.9.1. RFC 4954 requires that, during SMTP, the PLAIN auth scheme must only be used on network connections secured with TLS. The original implementation of smtp.PlainAuth in Go 1.0 enforced this requirement, and it was documented to do so. In 2013, upstream issue #5184, this was changed so that the server may decide whether PLAIN is acceptable. The result is that if you set up a man-in-the-middle SMTP server that doesn't advertise STARTTLS and does advertise that PLAIN auth is OK, the smtp.PlainAuth implementation sends the username and password.
CVSS v3 Severity:5.9 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
5.2 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
5.3 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N)
4.6 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
5.4 Medium (CCN CVSS v2 Vector: AV:N/AC:H/Au:N/C:C/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-319
CWE-300
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2017-15042

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

Source: CCN
Type: BID-101197
Golang Go CVE-2017-15042 Man in the Middle Information Disclosure Vulnerability

Source: REDHAT
Type: UNKNOWN
RHSA-2017:3463

Source: REDHAT
Type: UNKNOWN
RHSA-2018:0878

Source: XF
Type: UNKNOWN
go-cve201715042-info-disc(133098)

Source: CCN
Type: Go GIT Repository
smtp.PlainAuth susceptible to man-in-the-middle password harvesting [Go 1.8] #22134

Source: CONFIRM
Type: Issue Tracking, Patch, Vendor Advisory
https://github.com/golang/go/issues/22134

Source: CONFIRM
Type: Issue Tracking, Patch, Vendor Advisory
https://golang.org/cl/68023

Source: CONFIRM
Type: Vendor Advisory
https://golang.org/cl/68210

Source: CONFIRM
Type: Mailing List, Vendor Advisory
https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ

Source: GENTOO
Type: Third Party Advisory
GLSA-201710-23

Vulnerable Configuration:Configuration 1:
  • cpe:/a:golang:go:*:*:*:*:*:*:*:* (Version <= 1.8.3)
  • OR cpe:/a:golang:go:1.9:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:7::server:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:golang:go:1.9:*:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.8.3:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:8012
    P
    go-1.19-150000.3.26.1 on GA media (Moderate)
    2023-06-20
    oval:org.opensuse.security:def:112331
    P
    go1.12-1.12.17-4.8 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112327
    P
    go-1.17-1.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112343
    P
    go1.4-1.4.3-12.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112329
    P
    go1.10-1.10.8-8.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112344
    P
    go1.9-1.9.7-11.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112330
    P
    go1.11-1.11.13-10.5 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:105859
    P
    Security update for java-11-openjdk (Important)
    2021-11-16
    oval:org.opensuse.security:def:105858
    P
    Security update for tomcat (Important)
    2021-11-16
    oval:org.opensuse.security:def:105851
    P
    Security update for libvirt (Important)
    2021-10-27
    oval:org.opensuse.security:def:105850
    P
    Security update for busybox (Important)
    2021-10-27
    oval:org.opensuse.security:def:105852
    P
    go1.12-1.12.17-4.8 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:105848
    P
    go-1.17-1.1 on GA media (Moderate)
    2021-10-01
    oval:com.redhat.rhsa:def:20180878
    P
    RHSA-2018:0878: golang security, bug fix, and enhancement update (Moderate)
    2018-04-10
    oval:com.ubuntu.bionic:def:2017150420000000
    V
    CVE-2017-15042 on Ubuntu 18.04 LTS (bionic) - low.
    2017-10-05
    oval:com.ubuntu.trusty:def:201715042000
    V
    CVE-2017-15042 on Ubuntu 14.04 LTS (trusty) - low.
    2017-10-05
    oval:com.ubuntu.xenial:def:2017150420000000
    V
    CVE-2017-15042 on Ubuntu 16.04 LTS (xenial) - low.
    2017-10-05
    oval:com.ubuntu.artful:def:201715042000
    V
    CVE-2017-15042 on Ubuntu 17.10 (artful) - low.
    2017-10-05
    oval:com.ubuntu.xenial:def:201715042000
    V
    CVE-2017-15042 on Ubuntu 16.04 LTS (xenial) - low.
    2017-10-05
    oval:com.ubuntu.bionic:def:201715042000
    V
    CVE-2017-15042 on Ubuntu 18.04 LTS (bionic) - low.
    2017-10-05
    oval:com.ubuntu.cosmic:def:2017150420000000
    V
    CVE-2017-15042 on Ubuntu 18.10 (cosmic) - low.
    2017-10-05
    oval:com.ubuntu.cosmic:def:201715042000
    V
    CVE-2017-15042 on Ubuntu 18.10 (cosmic) - low.
    2017-10-05
    BACK
    golang go *
    golang go 1.9
    golang go 1.9
    golang go 1.8.3