ID CVE-2016-0778
Summary The (1) roaming_read and (2) roaming_write functions in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2, when certain proxy and forward options are enabled, do not properly maintain connection file descriptors, which allows remote servers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact by requesting many forwardings.
References
Vulnerable Configurations
  • Oracle Linux 7.0
    cpe:2.3:o:oracle:linux:7.0
  • Oracle Solaris 11.3
    cpe:2.3:o:oracle:solaris:11.3
  • OpenBSD OpenSSH 5.9 Patch 1
    cpe:2.3:a:openbsd:openssh:5.9:p1
  • OpenBSD OpenSSH 5.9
    cpe:2.3:a:openbsd:openssh:5.9
  • OpenBSD OpenSSH 5.8 Patch 1
    cpe:2.3:a:openbsd:openssh:5.8:p1
  • OpenBSD OpenSSH 5.8
    cpe:2.3:a:openbsd:openssh:5.8
  • OpenBSD OpenSSH 5.7 Patch 1
    cpe:2.3:a:openbsd:openssh:5.7:p1
  • OpenBSD OpenSSH 5.7
    cpe:2.3:a:openbsd:openssh:5.7
  • OpenBSD OpenSSH 5.6 Patch 1
    cpe:2.3:a:openbsd:openssh:5.6:p1
  • OpenBSD OpenSSH 5.6
    cpe:2.3:a:openbsd:openssh:5.6
  • OpenBSD OpenSSH 5.5 Patch 1
    cpe:2.3:a:openbsd:openssh:5.5:p1
  • OpenBSD OpenSSH 5.5
    cpe:2.3:a:openbsd:openssh:5.5
  • OpenBSD OpenSSH 5.4 Patch 1
    cpe:2.3:a:openbsd:openssh:5.4:p1
  • OpenBSD OpenSSH 5.4
    cpe:2.3:a:openbsd:openssh:5.4
  • OpenBSD OpenSSH 6.0 Patch 1
    cpe:2.3:a:openbsd:openssh:6.0:p1
  • OpenBSD OpenSSH 6.0
    cpe:2.3:a:openbsd:openssh:6.0
  • OpenBSD OpenSSH 6.1
    cpe:2.3:a:openbsd:openssh:6.1
  • OpenBSD OpenSSH 6.1 Patch 1
    cpe:2.3:a:openbsd:openssh:6.1:p1
  • OpenBSD OpenSSH 6.2
    cpe:2.3:a:openbsd:openssh:6.2
  • OpenBSD OpenSSH 6.2 Patch 1
    cpe:2.3:a:openbsd:openssh:6.2:p1
  • OpenBSD OpenSSH 6.2 Patch 2
    cpe:2.3:a:openbsd:openssh:6.2:p2
  • OpenBSD OpenSSH 6.3
    cpe:2.3:a:openbsd:openssh:6.3
  • OpenBSD OpenSSH 6.3 Patch 1
    cpe:2.3:a:openbsd:openssh:6.3:p1
  • OpenBSD OpenSSH 6.4
    cpe:2.3:a:openbsd:openssh:6.4
  • OpenBSD OpenSSH 6.4 Patch 1
    cpe:2.3:a:openbsd:openssh:6.4:p1
  • OpenBSD OpenSSH 6.5
    cpe:2.3:a:openbsd:openssh:6.5
  • OpenBSD OpenSSH 6.5 Patch 1
    cpe:2.3:a:openbsd:openssh:6.5:p1
  • OpenBSD OpenSSH 6.6
    cpe:2.3:a:openbsd:openssh:6.6
  • OpenBSD OpenSSH 6.6 Patch 1
    cpe:2.3:a:openbsd:openssh:6.6:p1
  • OpenBSD OpenSSH 6.7
    cpe:2.3:a:openbsd:openssh:6.7
  • OpenBSD OpenSSH 6.7 Patch 1
    cpe:2.3:a:openbsd:openssh:6.7:p1
  • OpenBSD OpenSSH 6.8
    cpe:2.3:a:openbsd:openssh:6.8
  • OpenBSD OpenSSH 6.8 Patch 1
    cpe:2.3:a:openbsd:openssh:6.8:p1
  • OpenBSD OpenSSH 6.9
    cpe:2.3:a:openbsd:openssh:6.9
  • OpenBSD OpenSSH 6.9 Patch 1
    cpe:2.3:a:openbsd:openssh:6.9:p1
  • OpenBSD OpenSSH 7.0 Patch 1
    cpe:2.3:a:openbsd:openssh:7.0:p1
  • OpenBSD OpenSSH 7.0
    cpe:2.3:a:openbsd:openssh:7.0
  • OpenBSD OpenSSH 7.1
    cpe:2.3:a:openbsd:openssh:7.1
  • OpenBSD OpenSSH 7.1 Patch 1
    cpe:2.3:a:openbsd:openssh:7.1:p1
  • Apple Mac OS X 10.9.5
    cpe:2.3:o:apple:mac_os_x:10.9.5
  • Apple Mac OS X 10.10.5
    cpe:2.3:o:apple:mac_os_x:10.10.5
  • Apple Mac OS X 10.11.3
    cpe:2.3:o:apple:mac_os_x:10.11.3
  • cpe:2.3:o:hp:virtual_customer_access_system:15.07
    cpe:2.3:o:hp:virtual_customer_access_system:15.07
  • cpe:2.3:a:sophos:unified_threat_management_software:9.353
    cpe:2.3:a:sophos:unified_threat_management_software:9.353
CVSS
Base: 4.6 (as of 18-10-2016 - 10:36)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK HIGH SINGLE_INSTANCE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
exploit-db via4
  • description OpenSSH < 7.4 - agent Protocol Arbitrary Library Loading. CVE-2016-10009. Remote exploit for Linux platform
    file exploits/linux/remote/40963.txt
    id EDB-ID:40963
    last seen 2016-12-23
    modified 2016-12-23
    platform linux
    port 22
    published 2016-12-23
    reporter Exploit-DB
    source https://www.exploit-db.com/download/40963/
    title OpenSSH < 7.4 - agent Protocol Arbitrary Library Loading
    type remote
  • description OpenSSH 7.2 - Denial of Service. CVE-2016-6515. Dos exploit for Linux platform
    file exploits/linux/dos/40888.py
    id EDB-ID:40888
    last seen 2016-12-07
    modified 2016-12-07
    platform linux
    port
    published 2016-12-07
    reporter Exploit-DB
    source https://www.exploit-db.com/download/40888/
    title OpenSSH 7.2 - Denial of Service
    type dos
  • description OpenSSH < 7.4 - 'UsePrivilegeSeparation Disabled' Forwarded Unix Domain Sockets Privilege Escalation. CVE-2016-10010. Local exploit for Linux platform. Ta...
    file exploits/linux/local/40962.txt
    id EDB-ID:40962
    last seen 2016-12-23
    modified 2016-12-23
    platform linux
    port
    published 2016-12-23
    reporter Exploit-DB
    source https://www.exploit-db.com/download/40962/
    title OpenSSH < 7.4 - 'UsePrivilegeSeparation Disabled' Forwarded Unix Domain Sockets Privilege Escalation
    type local
  • description OpenSSH 6.8 < 6.9 - 'PTY' Privilege Escalation. CVE-2015-6565. Local exploit for Linux platform
    file exploits/linux/local/41173.c
    id EDB-ID:41173
    last seen 2017-01-26
    modified 2017-01-26
    platform linux
    port
    published 2017-01-26
    reporter Exploit-DB
    source https://www.exploit-db.com/download/41173/
    title OpenSSH 6.8 < 6.9 - 'PTY' Privilege Escalation
    type local
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2016-0118-1.NASL
    description This update for openssh fixes the following issues : - CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642) - CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645) This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server. Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-12-27
    plugin id 87961
    published 2016-01-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87961
    title SUSE SLED12 / SLES12 Security Update : openssh (SUSE-SU-2016:0118-1)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20160114_OPENSSH_ON_SL7_X.NASL
    description An information leak flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to leak portions of memory (possibly including private SSH keys) of a successfully authenticated OpenSSH client. (CVE-2016-0777) A buffer overflow flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to execute arbitrary code on a successfully authenticated OpenSSH client if that client used certain non-default configuration options. (CVE-2016-0778) After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.
    last seen 2017-10-29
    modified 2016-10-19
    plugin id 87938
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87938
    title Scientific Linux Security Update : openssh on SL7.x x86_64
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_DFE0CDC1BAF211E5863AB499BAEBFEAF.NASL
    description OpenSSH reports : OpenSSH clients between versions 5.4 and 7.1 are vulnerable to information disclosure that may allow a malicious server to retrieve information including under some circumstances, user's private keys.
    last seen 2017-10-29
    modified 2016-10-19
    plugin id 87935
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87935
    title FreeBSD : openssh -- information disclosure (dfe0cdc1-baf2-11e5-863a-b499baebfeaf)
  • NASL family Misc.
    NASL id OPENSSH_71P2_ROAMING_DOS.NASL
    description According to its banner, the version of OpenSSH running on the remote host is 5.x, 6.x or 7.x prior to 7.1p2. It is, therefore, affected by multiple vulnerabilities. - A potential information disclosure vulnerability which may allow remote servers to obtain sensitive information from process memory by requesting transmission of an entire buffer (CVE-2016-0777) - A denial of service vulnerability due to a heap-base overflow in roaming_common.c (CVE-2016-07778) Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.
    last seen 2018-02-06
    modified 2018-02-06
    plugin id 106608
    published 2018-02-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106608
    title OpenSSH 5.4 < 7.1p2 Multiple Vulnerabilities
  • NASL family Firewalls
    NASL id PFSENSE_SA-16_02.NASL
    description According to its self-reported version number, the remote pfSense install is prior to 2.3. It is, therefore, affected by multiple vulnerabilities.
    last seen 2018-04-16
    modified 2018-04-16
    plugin id 106499
    published 2018-01-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106499
    title pfSense < 2.3 Multiple Vulnerabilities (SA-16_01 - SA-16_02)
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2016-014-01.NASL
    description New openssh packages are available for Slackware 13.0, 13.1, 13.37, 14.0, 14.1, and -current to fix security issues.
    last seen 2017-10-29
    modified 2016-10-19
    plugin id 87929
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87929
    title Slackware 13.0 / 13.1 / 13.37 / 14.0 / 14.1 / current : openssh (SSA:2016-014-01)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2016-0043.NASL
    description From Red Hat Security Advisory 2016:0043 : Updated openssh packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. OpenSSH is OpenBSD's SSH (Secure Shell) protocol implementation. These packages include the core files necessary for both the OpenSSH client and server. An information leak flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to leak portions of memory (possibly including private SSH keys) of a successfully authenticated OpenSSH client. (CVE-2016-0777) A buffer overflow flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to execute arbitrary code on a successfully authenticated OpenSSH client if that client used certain non-default configuration options. (CVE-2016-0778) Red Hat would like to thank Qualys for reporting these issues. All openssh users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.
    last seen 2017-10-29
    modified 2016-12-07
    plugin id 87936
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87936
    title Oracle Linux 7 : openssh (ELSA-2016-0043)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201601-01.NASL
    description The remote host is affected by the vulnerability described in GLSA-201601-01 (OpenSSH: Multiple vulnerabilities) Qualys have reported two issues in the “roaming” code included in the OpenSSH client, which provides undocumented, experimental support for resuming SSH connections. An OpenSSH client could be tricked into leaking parts of its memory to a malicious server. Furthermore, a buffer overflow can be exploited by a malicious server, but its exploitation requires non-default options and is mitigated due to another bug. Impact : A remote attacker could entice a user to connect to a specially crafted OpenSSH server, possibly resulting in the disclosure of the user’s private keys. Users with private keys that are not protected by a passphrase are advised to generate new keys if they have connected to an SSH server they don’t fully trust. Note that no special configuration is required to be vulnerable as the roaming feature is enabled by default on the client. Workaround : The issues can be worked around by disabling the roaming code. To do so, add “UseRoaming no” to the SSH client configuration, or specify “-o ‘UseRoaming no’” on the command line.
    last seen 2017-10-29
    modified 2016-10-10
    plugin id 87985
    published 2016-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87985
    title GLSA-201601-01 : OpenSSH: Multiple vulnerabilities
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2016-39.NASL
    description This update for openssh fixes the following issues : - CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642) - CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645) This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server.
    last seen 2017-10-29
    modified 2016-10-13
    plugin id 88129
    published 2016-01-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88129
    title openSUSE Security Update : openssh (openSUSE-2016-39)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3446.NASL
    description The Qualys Security team discovered two vulnerabilities in the roaming code of the OpenSSH client (an implementation of the SSH protocol suite). SSH roaming enables a client, in case an SSH connection breaks unexpectedly, to resume it at a later time, provided the server also supports it. The OpenSSH server doesn't support roaming, but the OpenSSH client supports it (even though it's not documented) and it's enabled by default. - CVE-2016-0777 An information leak (memory disclosure) can be exploited by a rogue SSH server to trick a client into leaking sensitive data from the client memory, including for example private keys. - CVE-2016-0778 A buffer overflow (leading to file descriptor leak), can also be exploited by a rogue SSH server, but due to another bug in the code is possibly not exploitable, and only under certain conditions (not the default configuration), when using ProxyCommand, ForwardAgent or ForwardX11. This security update completely disables the roaming code in the OpenSSH client. It is also possible to disable roaming by adding the (undocumented) option 'UseRoaming no' to the global /etc/ssh/ssh_config file, or to the user configuration in ~/.ssh/config, or by passing -oUseRoaming=no on the command line. Users with passphrase-less private keys, especially in non interactive setups (automated jobs using ssh, scp, rsync+ssh etc.) are advised to update their keys if they have connected to an SSH server they don't trust. More details about identifying an attack and mitigations will be available in the Qualys Security Advisory.
    last seen 2017-10-29
    modified 2016-12-06
    plugin id 87934
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87934
    title Debian DSA-3446-1 : openssh - security update
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2016-4556904561.NASL
    description Sync with latest openssh package. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-10-18
    plugin id 88464
    published 2016-01-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88464
    title Fedora 23 : gsi-openssh-7.1p2-1.fc23 (2016-4556904561)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2016-638.NASL
    description An information leak flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to leak portions of memory (possibly including private SSH keys) of a successfully authenticated OpenSSH client. A buffer overflow flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to execute arbitrary code on a successfully authenticated OpenSSH client if that client used certain non-default configuration options.
    last seen 2018-04-19
    modified 2018-04-18
    plugin id 87972
    published 2016-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87972
    title Amazon Linux AMI : openssh (ALAS-2016-638)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2016-2E89EBA0C1.NASL
    description Sync with latest openssh package. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-10-18
    plugin id 89505
    published 2016-03-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=89505
    title Fedora 22 : gsi-openssh-6.9p1-7.fc22 (2016-2e89eba0c1)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2016-38.NASL
    description This update for openssh fixes the following issues : - CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642) - CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645) This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server. This update was imported from the SUSE:SLE-12:Update update project.
    last seen 2017-10-29
    modified 2016-10-13
    plugin id 88128
    published 2016-01-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88128
    title openSUSE Security Update : openssh (openSUSE-2016-38)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2016-0043.NASL
    description Updated openssh packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. OpenSSH is OpenBSD's SSH (Secure Shell) protocol implementation. These packages include the core files necessary for both the OpenSSH client and server. An information leak flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to leak portions of memory (possibly including private SSH keys) of a successfully authenticated OpenSSH client. (CVE-2016-0777) A buffer overflow flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to execute arbitrary code on a successfully authenticated OpenSSH client if that client used certain non-default configuration options. (CVE-2016-0778) Red Hat would like to thank Qualys for reporting these issues. All openssh users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.
    last seen 2017-10-29
    modified 2017-01-10
    plugin id 87937
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87937
    title RHEL 7 : openssh (RHSA-2016:0043)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2016-0043.NASL
    description Updated openssh packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. OpenSSH is OpenBSD's SSH (Secure Shell) protocol implementation. These packages include the core files necessary for both the OpenSSH client and server. An information leak flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to leak portions of memory (possibly including private SSH keys) of a successfully authenticated OpenSSH client. (CVE-2016-0777) A buffer overflow flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to execute arbitrary code on a successfully authenticated OpenSSH client if that client used certain non-default configuration options. (CVE-2016-0778) Red Hat would like to thank Qualys for reporting these issues. All openssh users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.
    last seen 2017-10-29
    modified 2016-11-17
    plugin id 87930
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87930
    title CentOS 7 : openssh (CESA-2016:0043)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2016-0120-1.NASL
    description This update for openssh fixes the following issues : - CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642) - CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645) This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server. Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-12-27
    plugin id 87963
    published 2016-01-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87963
    title SUSE SLED11 / SLES11 Security Update : openssh (SUSE-SU-2016:0120-1)
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_10_11_4.NASL
    description The remote host is running a version of Mac OS X that is 10.11.x prior to 10.11.4. It is, therefore, affected by multiple vulnerabilities in the following components : - apache_mod_php - AppleRAID - AppleUSBNetworking - Bluetooth - Carbon - dyld - FontParser - HTTPProtocol - Intel Graphics Driver - IOFireWireFamily - IOGraphics - IOHIDFamily - IOUSBFamily - Kernel - libxml2 - Messages - NVIDIA Graphics Drivers - OpenSSH - OpenSSL - Python - QuickTime - Reminders - Ruby - Security - Tcl - TrueTypeScaler - Wi-Fi Note that successful exploitation of the most serious issues can result in arbitrary code execution.
    last seen 2017-10-29
    modified 2016-07-13
    plugin id 90096
    published 2016-03-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=90096
    title Mac OS X 10.11.x < 10.11.4 Multiple Vulnerabilities
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2869-1.NASL
    description It was discovered that the OpenSSH client experimental support for resuming connections contained multiple security issues. A malicious server could use this issue to leak client memory to the server, including private client user keys. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-12-01
    plugin id 87939
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87939
    title Ubuntu 12.04 LTS / 14.04 LTS / 15.04 / 15.10 : openssh vulnerabilities (USN-2869-1)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2016-49.NASL
    description - CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642) - CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645) This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server.
    last seen 2017-10-29
    modified 2016-10-13
    plugin id 88157
    published 2016-01-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88157
    title openSUSE Security Update : openssh (openSUSE-2016-49)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-387.NASL
    description The Qualys Security team discovered two vulnerabilities in the roaming code of the OpenSSH client (an implementation of the SSH protocol suite). SSH roaming enables a client, in case an SSH connection breaks unexpectedly, to resume it at a later time, provided the server also supports it. The OpenSSH server doesn't support roaming, but the OpenSSH client supports it (even though it's not documented) and it's enabled by default. CVE-2016-0777 An information leak (memory disclosure) can be exploited by a rogue SSH server to trick a client into leaking sensitive data from the client memory, including for example private keys. CVE-2016-0778 A buffer overflow (leading to file descriptor leak), can also be exploited by a rogue SSH server, but due to another bug in the code is possibly not exploitable, and only under certain conditions (not the default configuration), when using ProxyCommand, ForwardAgent or ForwardX11. This security update completely disables the roaming code in the OpenSSH client. It is also possible to disable roaming by adding the (undocumented) option 'UseRoaming no' to the global /etc/ssh/ssh_config file, or to the user configuration in ~/.ssh/config, or by passing -oUseRoaming=no on the command line. Users with passphrase-less privates keys, especially in non interactive setups (automated jobs using ssh, scp, rsync+ssh etc.) are advised to update their keys if they have connected to an SSH server they don't trust. More details about identifying an attack and mitigations can be found in the Qualys Security Advisory. - -- Yves-Alexis Perez NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-12-06
    plugin id 87933
    published 2016-01-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87933
    title Debian DLA-387-1 : openssh security update
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SECUPD2016-002.NASL
    description The remote host is running a version of Mac OS X that is 10.9.5 or 10.10.5 and is missing Security Update 2016-002. It is, therefore, affected by multiple vulnerabilities in the following components : - apache_mod_php - Kernel - libxml2 - OpenSSH - Python - Tcl Note that successful exploitation of the most serious issues can result in arbitrary code execution.
    last seen 2017-10-29
    modified 2016-11-28
    plugin id 90097
    published 2016-03-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=90097
    title Mac OS X 10.9.5 / 10.10.5 Multiple Vulnerabilities (Security Update 2016-002)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2016-0119-1.NASL
    description This update for openssh fixes the following issues : - CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642) - CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645) This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server. Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2017-10-29
    modified 2016-12-27
    plugin id 87962
    published 2016-01-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=87962
    title SUSE SLED11 / SLES11 Security Update : openssh (SUSE-SU-2016:0119-1)
  • NASL family AIX Local Security Checks
    NASL id AIX_OPENSSH_ADVISORY7.NASL
    description The remote AIX host has a version of OpenSSH installed that is affected by the following vulnerabilities : - An information disclosure vulnerability exists in the resend_bytes() function in the undocumented roaming connection feature. An authenticated, remote attacker can exploit this vulnerability, by persuading a victim to connect to a malicious server, to retrieve private cryptographic keys or other sensitive information. (CVE-2016-0777) - A heap-based buffer overflow condition exists in the undocumented roaming connection feature due to improper bounds checking of user-supplied input to the packet_write_wait() and ssh_packet_write_wait() functions whenever the non-default option ProxyCommand is used with either ForwardAgent or ForwardX11. An authenticated, remote attacker can exploit this vulnerability, by persuading a victim to connect to a malicious server, to execute arbitrary code or cause a denial of service. (CVE-2016-0778)
    last seen 2017-10-29
    modified 2016-07-14
    plugin id 88590
    published 2016-02-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88590
    title AIX OpenSSH Advisory : openssh_advisory7.asc
redhat via4
advisories
bugzilla
id 1298033
title CVE-2016-0778 OpenSSH: Client buffer-overflow when using roaming connections
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 7 Client is installed
      oval oval:com.redhat.rhsa:tst:20140675001
    • comment Red Hat Enterprise Linux 7 Server is installed
      oval oval:com.redhat.rhsa:tst:20140675002
    • comment Red Hat Enterprise Linux 7 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20140675003
    • comment Red Hat Enterprise Linux 7 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20140675004
  • OR
    • AND
      • comment openssh is earlier than 0:6.6.1p1-23.el7_2
        oval oval:com.redhat.rhsa:tst:20160043019
      • comment openssh is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120884006
    • AND
      • comment openssh-askpass is earlier than 0:6.6.1p1-23.el7_2
        oval oval:com.redhat.rhsa:tst:20160043011
      • comment openssh-askpass is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120884008
    • AND
      • comment openssh-clients is earlier than 0:6.6.1p1-23.el7_2
        oval oval:com.redhat.rhsa:tst:20160043017
      • comment openssh-clients is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120884014
    • AND
      • comment openssh-keycat is earlier than 0:6.6.1p1-23.el7_2
        oval oval:com.redhat.rhsa:tst:20160043007
      • comment openssh-keycat is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20150425012
    • AND
      • comment openssh-ldap is earlier than 0:6.6.1p1-23.el7_2
        oval oval:com.redhat.rhsa:tst:20160043005
      • comment openssh-ldap is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120884012
    • AND
      • comment openssh-server is earlier than 0:6.6.1p1-23.el7_2
        oval oval:com.redhat.rhsa:tst:20160043009
      • comment openssh-server is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120884016
    • AND
      • comment openssh-server-sysvinit is earlier than 0:6.6.1p1-23.el7_2
        oval oval:com.redhat.rhsa:tst:20160043013
      • comment openssh-server-sysvinit is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20150425016
    • AND
      • comment pam_ssh_agent_auth is earlier than 0:0.9.3-9.23.el7_2
        oval oval:com.redhat.rhsa:tst:20160043015
      • comment pam_ssh_agent_auth is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120884010
rhsa
id RHSA-2016:0043
released 2016-01-14
severity Moderate
title RHSA-2016:0043: openssh security update (Moderate)
rpms
  • openssh-0:6.6.1p1-23.el7_2
  • openssh-askpass-0:6.6.1p1-23.el7_2
  • openssh-clients-0:6.6.1p1-23.el7_2
  • openssh-keycat-0:6.6.1p1-23.el7_2
  • openssh-ldap-0:6.6.1p1-23.el7_2
  • openssh-server-0:6.6.1p1-23.el7_2
  • openssh-server-sysvinit-0:6.6.1p1-23.el7_2
  • pam_ssh_agent_auth-0:0.9.3-9.23.el7_2
refmap via4
apple APPLE-SA-2016-03-21-5
bid 80698
bugtraq 20160114 Qualys Security Advisory - Roaming through the OpenSSH client: CVE-2016-0777 and CVE-2016-0778
confirm
debian DSA-3446
fedora
  • FEDORA-2016-2e89eba0c1
  • FEDORA-2016-4556904561
fulldisc 20160115 Qualys Security Advisory - Roaming through the OpenSSH client: CVE-2016-0777 and CVE-2016-0778
gentoo GLSA-201601-01
misc http://packetstormsecurity.com/files/135273/Qualys-Security-Advisory-OpenSSH-Overflow-Leak.html
mlist [oss-security] 20160114 Qualys Security Advisory - Roaming through the OpenSSH client: CVE-2016-0777 and CVE-2016-0778
sectrack 1034671
suse
  • SUSE-SU-2016:0117
  • SUSE-SU-2016:0118
  • SUSE-SU-2016:0119
  • SUSE-SU-2016:0120
  • openSUSE-SU-2016:0127
  • openSUSE-SU-2016:0128
ubuntu USN-2869-1
the hacker news via4
id THN:BAEF64F9CA063BE8A102DD4466CE7A54
last seen 2018-01-27
modified 2016-01-15
published 2016-01-14
reporter Swati Khandelwal
source https://thehackernews.com/2016/01/openssh-vulnerability-cryptokeys.html
title Critical OpenSSH Flaw Leaks Private Crypto Keys to Hackers
Last major update 16-02-2017 - 21:59
Published 14-01-2016 - 17:59
Back to Top