<<< Date Index >>>     <<< Thread Index >>>

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



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200703-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: SSH Communications Security's Secure Shell Server: SFTP
            privilege escalation
      Date: March 14, 2007
      Bugs: #168584
        ID: 200703-13

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The SSH Secure Shell Server SFTP function is vulnerable to privilege
escalation.

Background
==========

The SSH Secure Shell Server from SSH Communications Security
(www.ssh.com) is a commercial SSH implementation available free for
non-commercial use.

Affected packages
=================

    -------------------------------------------------------------------
     Package       /  Vulnerable  /                         Unaffected
    -------------------------------------------------------------------
  1  net-misc/ssh       < 4.3.7                            Vulnerable!
    -------------------------------------------------------------------
     NOTE: Certain packages are still vulnerable. Users should migrate
           to another package if one is available or wait for the
           existing packages to be marked stable by their
           architecture maintainers.

Description
===========

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.

Resolution
==========

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

References
==========

  [ 1 ] CVE-2006-0705
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0705

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

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

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: pgpe4nwW5wbys.pgp
Description: PGP signature