Vulnerabilities > CVE-2017-15042 - Cleartext Transmission of Sensitive Information vulnerability in Golang GO

047910
CVSS 5.9 - MEDIUM
Attack vector
NETWORK
Attack complexity
HIGH
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
NONE
Availability impact
NONE
network
high complexity
golang
CWE-319
nessus

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.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Session Sidejacking
    Session sidejacking takes advantage of an unencrypted communication channel between a victim and target system. The attacker sniffs traffic on a network looking for session tokens in unencrypted traffic. Once a session token is captured, the attacker performs malicious actions by using the stolen token with the targeted application to impersonate the victim. This attack is a specific method of session hijacking, which is exploiting a valid session token to gain unauthorized access to a target system or information. Other methods to perform a session hijacking are session fixation, cross-site scripting, or compromising a user or server machine and stealing the session token.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Harvesting Usernames or UserIDs via Application API Event Monitoring
    An attacker hosts an event within an application framework and then monitors the data exchanged during the course of the event for the purpose of harvesting any important data leaked during the transactions. One example could be harvesting lists of usernames or userIDs for the purpose of sending spam messages to those users. One example of this type of attack involves the attacker creating an event within the sub-application. Assume the attacker hosts a "virtual sale" of rare items. As other users enter the event, the attacker records via MITM proxy the user_ids and usernames of everyone who attends. The attacker would then be able to spam those users within the application using an automated script.
  • Signature Spoofing by Mixing Signed and Unsigned Content
    An attacker exploits the underlying complexity of a data structure that allows for both signed and unsigned content, to cause unsigned data to be processed as though it were signed data.
  • Passively Sniff and Capture Application Code Bound for Authorized Client
    Attackers can capture application code bound for the client and can use it, as-is or through reverse-engineering, to glean sensitive information or exploit the trust relationship between the client and server. Such code may belong to a dynamic update to the client, a patch being applied to a client component or any such interaction where the client is authorized to communicate with the server.

Nessus

  • NASL familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2017-918.NASL
    descriptionArbitrary code execution during go get or go get -d : Go before 1.8.4 and 1.9.x before 1.9.1 allows
    last seen2020-06-01
    modified2020-06-02
    plugin id104392
    published2017-11-06
    reporterThis script is Copyright (C) 2017-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/104392
    titleAmazon Linux AMI : golang (ALAS-2017-918)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20180410_GOLANG_ON_SL7_X.NASL
    descriptionThe following packages have been upgraded to a later upstream version: golang (1.9.4). Security Fix(es) : - golang: arbitrary code execution during
    last seen2020-03-18
    modified2018-05-01
    plugin id109448
    published2018-05-01
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/109448
    titleScientific Linux Security Update : golang on SL7.x (noarch) (20180410)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201710-23.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201710-23 (Go: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in Go. Please review the references below for details. Impact : Remote attackers could execute arbitrary Go commands or conduct a man in the middle attack. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id104066
    published2017-10-23
    reporterThis script is Copyright (C) 2017-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/104066
    titleGLSA-201710-23 : Go: Multiple vulnerabilities
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2017-F4FC897E8F.NASL
    descriptionSecurity fix for CVE-2017-15041 and CVE-2017-15042 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2018-01-15
    plugin id106006
    published2018-01-15
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/106006
    titleFedora 27 : golang (2017-f4fc897e8f)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2018-0878.NASL
    descriptionAn update for golang is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The golang packages provide the Go programming language compiler. The following packages have been upgraded to a later upstream version: golang (1.9.4). (BZ#1479095, BZ#1499827) Security Fix(es) : * golang: arbitrary code execution during
    last seen2020-06-01
    modified2020-06-02
    plugin id108990
    published2018-04-11
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/108990
    titleRHEL 7 : golang (RHSA-2018:0878)
  • NASL familyAmazon Linux Local Security Checks
    NASL idAL2_ALAS-2018-1011.NASL
    descriptionArbitrary code execution during go get or go get -d Go before 1.8.4 and 1.9.x before 1.9.1 allows
    last seen2020-06-01
    modified2020-06-02
    plugin id109690
    published2018-05-11
    reporterThis script is Copyright (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/109690
    titleAmazon Linux 2 : golang (ALAS-2018-1011)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2018-0878.NASL
    descriptionAn update for golang is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. The golang packages provide the Go programming language compiler. The following packages have been upgraded to a later upstream version: golang (1.9.4). (BZ#1479095, BZ#1499827) Security Fix(es) : * golang: arbitrary code execution during
    last seen2020-06-01
    modified2020-06-02
    plugin id109376
    published2018-04-27
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/109376
    titleCentOS 7 : golang (CESA-2018:0878)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2017-6F1B90DBB7.NASL
    descriptionSecurity fix for CVE-2017-15041 and CVE-2017-15042 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2017-10-18
    plugin id103899
    published2017-10-18
    reporterThis script is Copyright (C) 2017-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/103899
    titleFedora 26 : golang (2017-6f1b90dbb7)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2017-8F7BCA960B.NASL
    descriptionSecurity fix for CVE-2017-15041 and CVE-2017-15042 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2017-10-20
    plugin id103997
    published2017-10-20
    reporterThis script is Copyright (C) 2017-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/103997
    titleFedora 25 : golang (2017-8f7bca960b)
  • NASL familyNewStart CGSL Local Security Checks
    NASL idNEWSTART_CGSL_NS-SA-2019-0047_GOLANG.NASL
    descriptionThe remote NewStart CGSL host, running version CORE 5.04 / MAIN 5.04, has golang packages installed that are affected by multiple vulnerabilities: - An arbitrary command execution flaw was found in the way Go
    last seen2020-06-01
    modified2020-06-02
    plugin id127229
    published2019-08-12
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/127229
    titleNewStart CGSL CORE 5.04 / MAIN 5.04 : golang Multiple Vulnerabilities (NS-SA-2019-0047)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2017-3463.NASL
    descriptionAn update for go-toolset-7 and go-toolset-7-golang is now available for Red Hat Developer Tools. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Go Toolset provides the Go programming language tools and libraries. Go is alternatively known as golang. Security Fix(es) : * An arbitrary command execution flaw was found in the way Go
    last seen2020-06-01
    modified2020-06-02
    plugin id105367
    published2017-12-19
    reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/105367
    titleRHEL 7 : go-toolset-7 and go-toolset-7-golang (RHSA-2017:3463)

Redhat

advisories
  • rhsa
    idRHSA-2017:3463
  • rhsa
    idRHSA-2018:0878
rpms
  • go-toolset-7-0:1.8-10.el7
  • go-toolset-7-build-0:1.8-10.el7
  • go-toolset-7-dockerfiles-0:1.8-10.el7
  • go-toolset-7-golang-0:1.8.5-1.el7
  • go-toolset-7-golang-bin-0:1.8.5-1.el7
  • go-toolset-7-golang-docs-0:1.8.5-1.el7
  • go-toolset-7-golang-misc-0:1.8.5-1.el7
  • go-toolset-7-golang-race-0:1.8.5-1.el7
  • go-toolset-7-golang-src-0:1.8.5-1.el7
  • go-toolset-7-golang-tests-0:1.8.5-1.el7
  • go-toolset-7-runtime-0:1.8-10.el7
  • go-toolset-7-scldevel-0:1.8-10.el7
  • golang-0:1.9.4-1.el7
  • golang-bin-0:1.9.4-1.el7
  • golang-docs-0:1.9.4-1.el7
  • golang-misc-0:1.9.4-1.el7
  • golang-src-0:1.9.4-1.el7
  • golang-tests-0:1.9.4-1.el7