Multiple vendor SFTP logging format string

sftp-logging-format-string (24651) The risk level is classified as MediumMedium Risk

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.

*CVSS:

Base Score: 5.6
  Access Vector: Remote
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 4.1
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

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.

References:

  • AttachmateWRQ Web site: Using the AttachmateWRQ Upgrade Process.
  • 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).
  • 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).
  • SSH Communications Security Web site: SSH Tectia Server Downloads.
  • WRQ Tech Note 1882: Reflection for Secure IT Server Security Vulnerability Update and Workaround.
  • 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.
  • GLSA-200703-13: SSH Communications Security's Secure Shell Server: SFTP privilege escalation
  • OSVDB ID: 23120: SSH Tectia Server SFTP Service Filename Logging Format String
  • OSVDB ID: 23172: WRQ Reflection Secure IT SFTP Service Filename Logging Format String
  • 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
  • VUPEN/ADV-2006-0554: SSH Tectia Server SFTP Logging Function Format String Vulnerability
  • VUPEN/ADV-2006-0555: WRQ Reflection for Secure IT Server SFTP Format String Vulnerability
  • VUPEN/ADV-2008-1008: HP Tru64 UNIX SFTP Server Code Execution and DoS Vulnerabilities

Platforms Affected:

  • F-Secure SSH for UNIX 3.x - 5.x
  • F-Secure SSH for Windows 5.x
  • Gentoo Linux
  • 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

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 (IBM 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.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.