GLSA-200410-29 : PuTTY: Pre-authentication buffer overflow

critical Nessus Plugin ID 15581

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200410-29 (PuTTY: Pre-authentication buffer overflow)

PuTTY fails to do proper bounds checking on SSH2_MSG_DEBUG packets. The 'stringlen' parameter value is incorrectly checked due to signedness issues. Note that this vulnerability is similar to the one described in GLSA 200408-04 but not the same.
Impact :

When PuTTY connects to a server using the SSH2 protocol, an attacker may be able to send specially crafted packets to the client, resulting in the execution of arbitrary code with the permissions of the user running PuTTY. Note that this is possible during the authentication process but before host key verification.
Workaround :

There is no known workaround at this time.

Solution

All PuTTY users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/putty-0.56'

See Also

http://www.nessus.org/u?f0cf3f40

https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html

https://security.gentoo.org/glsa/200410-29

Plugin Details

Severity: Critical

ID: 15581

File Name: gentoo_GLSA-200410-29.nasl

Version: 1.22

Type: local

Published: 10/28/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:putty, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 10/27/2004

Reference Information

CVE: CVE-2004-1008

GLSA: 200410-29