Multiple vendor SFTP logging format string
| sftp-logging-format-string (24651) |
Description:
Multiple vendors' Secure FTP (SFTP) server implementations could allow a remote attacker to execute arbitrary commands on the system, caused by a format string vulnerability in the SFTP logging functionality. If a remote attacker could persuade an authenticated user to "stat" a malicious file with a specially-crafted file name, the attacker could execute arbitrary commands on the affected system or cause a denial of service.
Platforms Affected:
- F-Secure, F-Secure SSH for UNIX 3.x - 5.x
- F-Secure, F-Secure SSH for Windows 5.x
- SSH, Tectia Server 4.0
- SSH, Tectia Server 4.0.3
- SSH, Tectia Server 4.0.4
- SSH, Tectia Server 4.0.5
- SSH, Tectia Server 4.2.1
- SSH, Tectia Server 4.3
- SSH, Tectia Server 4.3.1
- SSH, Tectia Server 4.3.2
- SSH, Tectia Server 4.3.3
- SSH, Tectia Server 4.3.4
- SSH, Tectia Server 4.3.5
- SSH, Tectia Server 4.3.6
- SSH, Tectia Server 4.4
- WRQ, Reflection for Secure IT UNIX 6.0
- WRQ, Reflection for Secure IT Windows 6.0
Remedy:
For SSH Tectia Server:
Upgrade to the latest software version (5.0 or later), available from the SSH Communications Security Web site. See References.
For WRQ Reflection for Secure IT Windows Server:
Upgrade to the latest software version (6.0 build 38 or later), available from the AttachmateWRQ Web site. See References.
For WRQ Reflection for Secure IT UNIX Server:
Upgrade to the latest software version (6.0.0.9 or later), available from the AttachmateWRQ Web site. See References.
For F-Secure SSH Server for Windows:
Upgrade to the latest software version (5.3 build 35 or later), available from the AttachmateWRQ Web site. See References.
For F-Secure SSH Server for UNIX:
Upgrade to the latest software version (5.0.8 or later), available from the AttachmateWRQ Web site. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200703-13 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- AttachmateWRQ Web site, Using the AttachmateWRQ Upgrade Process at https://download.wrq.com/Login.aspx?ReturnUrl=%2fUpgrades%2fDownloadAgreement.aspx%3fcode%3dRSSW&code=RSSW.
- HP IT resource center Web site, HPSBTU02322 SSRT080011 rev.2 - HP Tru64 UNIX running SSH/SFTP Server, Remote Execution of Arbitrary Code or Denial of Service (DoS) at http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01404118.
- HP IT resource center Web site, HP Tru64 UNIX - SSRT080011: SSH Running on HP Tru64 UNIX, Remote Execution of Arbitrary Code or Denial of Service (DoS) at http://www12.itrc.hp.com/service/patch/patchDetail.do?patchid=T64KIT1001467-V51BB26-ES-20080314&admit=109447627+1206623507084+28353475.
- SSH Communications Security Web site, SSH Tectia Server Downloads at http://www.ssh.com/support/downloads/tectia-server/.
- WRQ Tech Note 1882, Reflection for Secure IT Server Security Vulnerability Update and Workaround at http://support.wrq.com/techdocs/1882.html.
- BID-14733: AttachmateWRQ Reflection for Secure IT Windows Server Renamed Account Remote Login Vulnerability
- BID-14734: AttachmateWRQ Reflection for Secure IT Windows Server Insecure Private Key Permissions Vulnerability
- BID-14735: AttachmateWRQ Reflection for Secure IT Windows Server Access Restriction Bypass Vulnerability
- BID-16625: AttachmateWRQ Reflection for Secure IT Remote Format String Vulnerability
- BID-16640: SSH Tectia Server Remote Format String Vulnerability
- CVE-2006-0705: Format string vulnerability in a logging function as used by various SFTP servers, including (1) AttachmateWRQ Reflection for Secure IT UNIX Server before 6.0.0.9, (2) Reflection for Secure IT Windows Server before 6.0 build 38, (3) F-Secure SSH Server for Windows before 5.3 build 35, (4) F-Secure SSH Server for UNIX 3.0 through 5.0.8, (5) SSH Tectia Server 4.3.6 and earlier and 4.4.0, and (6) SSH Shell Server 3.2.9 and earlier, allows remote authenticated users to execute arbitrary commands via unspecified vectors, involving crafted filenames and the stat command.
- FrSIRT/ADV-2006-0554: SSH Tectia Server SFTP Logging Function Format String Vulnerability
- FrSIRT/ADV-2006-0555: WRQ Reflection for Secure IT Server SFTP Format String Vulnerability
- FrSIRT/ADV-2008-1008: HP Tru64 UNIX SFTP Server Code Execution and DoS Vulnerabilities
- GLSA-200703-13: SSH Communications Security's Secure Shell Server: SFTP privilege escalation
- SA18828: SSH Tectia Server SFTP Service Unspecified Vulnerability
- SA18843: WRQ Reflection Secure IT SFTP Format String Vulnerability
- SA24516: Gentoo net-misc/ssh Vulnerability
- SA29552: HP Tru64 UNIX SSH SFTP Server Vulnerability
- SECTRACK ID: 1015619: SSH Tectia Server SFTP Logging Bug May Let Remote Authenticated Users Execute Arbitrary Commands
- US-CERT VU#419241: Multiple vendor SFTP logging format string vulnerability
Reported:
Feb 13, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
