GLSA-200703-13 : SSH Communications Security's Secure Shell Server: SFTP privilege escalation

This script is Copyright (C) 2007-2014 Tenable Network Security, Inc.


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-200703-13
(SSH Communications Security's Secure Shell Server: SFTP privilege escalation)

The SSH Secure Shell Server contains a format string vulnerability in
the SFTP code that handles file transfers (scp2 and sftp2). In some
situations, this code passes the accessed filename to the system log.
During this operation, an unspecified error could allow uncontrolled
stack access.

Impact :

An authenticated system user may be able to exploit this vulnerability
to bypass command restrictions, or run commands as another user.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200703-13.xml

Solution :

This package is currently masked, there is no upgrade path for the
3.2.x version, and a license must be purchased in order to update to a
non-vulnerable version. Because of this, we recommend unmerging this
package:
# emerge --ask --verbose --unmerge net-misc/ssh

Risk factor :

Medium / CVSS Base Score : 6.5
(CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 24830 (gentoo_GLSA-200703-13.nasl)

Bugtraq ID:

CVE ID: CVE-2006-0705