SSH Communications Security's Secure Shell Server: SFTP privilege escalation
Gentoo Linux Security Advisory
||GLSA 200703-13 / net-misc/ssh
||March 14, 2007
||March 14, 2007: 01
All supported architectures
The SSH Secure Shell Server SFTP function is vulnerable to privilege
The SSH Secure Shell Server from SSH Communications Security
(www.ssh.com) is a commercial SSH implementation available free for
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
An authenticated system user may be able to exploit this vulnerability
to bypass command restrictions, or run commands as another user.
There is no known workaround at this time.
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
Code Listing 3.1: Resolution
# emerge --ask --verbose --unmerge net-misc/ssh