what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

idefense.ssh2-client.txt

idefense.ssh2-client.txt
Posted Jan 30, 2003
Authored by Knud Erik Hojgaard | Site idefense.com

iDEFENSE Security Advisory 01.28.03 - It has been found that several SSH clients leave authentication data unprotected in the system memory while connecting to a remote host using the SSH2 protocol. Anyone with read access to the system memory can retrieve and abuse this information.

tags | remote, protocol
SHA-256 | f96e214d26eae0377c74c3630c49679d41e66ba1f20315afe47ab9a17bed5cd3

idefense.ssh2-client.txt

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

iDEFENSE Security Advisory 01.28.03: SSH2 Clients Insecurely Store
Passwords (AbsoluteTelnet, SecureCRT, Entunnel, SecureFx, and PuTTY)
http://www.idefense.com/advisory/01.28.03.txt
January 28, 2003

I. BACKGROUND

PuTTY is a free implementation of Telnet and SSH for Win32 platforms,
along with an xterm terminal emulator. More information is available at
http://www.chiark.greenend.org.uk/~sgtatham/putty/.

SecureCRT provides security for remote access, file transfer, and data
tunneling by combining the open Secure Shell protocol with emulation.
Entunnel provides SSH2 data tunneling (port forwarding) services when
connected to an SSH2 server. The SecureFX client application is an SFTP
and FTP over an encrypted SSH2 client. More information is available at
www.vandyke.com/products.

AbsoluteTelnet is a terminal client program developed for the Microsoft
Windows platform. AbsoluteTelnet supports multiple protocols including
Telnet, SSH1, SSH2, TAPI Dialup and direct COM. More information is
available at http://www.celestialsoftware.net/telnet/index.html.

II. DESCRIPTION

AbsoluteTelnet, SecureCRT, Entunnel, SecureFx, and PuTTY do not properly
scrub memory allowing an attacker with access to memory or a memory dump
to retrieve authentication information.

When connected via SSH2, an attacker can search memory or a memory dump
for logon credentials. Passwords transmitted by PuTTY can be found by
searching for the second occurrence of the string "password:". The user's
password is stored in plaintext shortly after this string. Passwords
transmitted by SecureCRT can be found by searching for the string
"ssh-connection". The logon and password is stored in plaintext on the
respective sides of this keyword. Passwords transmitted by AbsoluteTelnet
can be found by searching for the first occurrence of the string
"Password", that lies in a segment of read/write memory. The logon and
password is stored in plaintext on the respective sides of this keyword.

III. ANALYSIS

An attacker able to ascertain a target user's memory dump will be able to
recover passwords for remote systems. This is of special concern in shared
environments.

IV. DETECTION

iDEFENSE has verified the existence of this vulnerability in the following
versions of the above mentioned clients:

• AbsoluteTelnet: latest (2.11)
• SecureCRT: latest (4.0.2) and 3.4.6
• SecureFX : 2.1.2 and 2.0.4
• Entunnel: 1.0.2 and earlier
• PuTTY: latest (0.53b)

Earlier versions of the tested clients as well as other clients may be
vulnerable as well.

V. VENDOR RESPONSE(S)/FIX

Current development snapshots of PuTTY are believed to have this problem
fixed. Unfortunately, we are in the middle of heavy code restructuring and
not currently in a position to make a stable release, but the current
snapshots should be good enough for anyone for whom this is a problem.
- ---------------
The SSH password vulnerability discovered by iDEFENSE has been found to
exist in all versions of AbsoluteTelnet prior to (and including) version
2.11.

Version 2.12, which Celestial Software will make available as a FREE
update to ALL existing users, fixes the problem by keeping password memory
"scrubbed" and free of plaintext copies of the password.

Version 2.12 is currently in beta testing pending the beta test group's
acceptance of the changes it contains. Upon release, it will be available
for download at the Celestial Software website:

http://www.celestialsoftware.net/telnet

For a sneak peak at the 2.12 beta, go here:

http://www.celestialsoftware.net/telnet/beta_software.html

Thanks to iDEFENSE for bringing this to my attention and for allowing
adequate time to make corrections! In particular, thanks to David Endler
for staying on top of this!
- ---------------
VanDyke Software recognizes the efforts of iDEFENSE in discovering this
security issue and commends iDEFENSE for the responsible manner in which
the security issue was made known so as to allow time for revisions to be
made before the information was released to the public.

The vulnerability reported by iDEFENSE exists in the following versions of
VanDyke Software client applications:

SecureCRT: 4.0.2 and 3.4.7
SecureFX : 2.1.2 and 2.0.4
Entunnel: 1.0.2 and earlier

Earlier versions of these client applications are vulnerable as well.
VanDyke encourages all users whose licenses were purchased prior to June
1, 2000 to consider upgrading to the current version(s) of their licensed
applications.

Vulnerability fix downloads are available:
SecureCRT 4.0.3 - http://www.vandyke.com/download/securecrt/index.html
SecureCRT 3.4.8 -
http://www.vandyke.com/download/securecrt/3.4/index.html

SecureFX 2.1.3 - http://www.vandyke.com/download/securefx/index.html
SecureFX 2.0.5 -
http://www.vandyke.com/download/securefx/2.0/index.html

Entunnel 1.0.3 - http://www.vandyke.com/download/entunnel/index.html
- --------


VI. CVE INFORMATION

The Mitre Corp.'s Common Vulnerabilities and Exposures (CVE) Project
assigned the following identification numbers to these issue:

CAN-2003-0046 - AbsoluteTelnet
CAN-2003-0047 - SecureCRT
CAN-2003-0048 - PuTTY, SecureFx, and Entunnel

VII. DISCLOSURE TIMELINE

12/13/2002 Issues disclosed to iDEFENSE
01/09/2003 putty@projects.tartarus.org, Mark.Walker@vandyke.com, and
bpence@celestialsoftware.net notified
01/09/2003 iDEFENSE clients notified
01/09/2003 Response received from Simon Tatham [anakin@pobox.com]
01/10/2003 Response received from Celestial Software
[bpence@mindspring.com]
01/10/2003 Response received from Van Dyke Software
[mark.walker@vandyke.com]
01/28/2003 Coordinated public disclosure

VIII. CREDIT

Knud Erik Højgaard (knud@skodliv.dk) discovered these vulnerabilities.

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0
Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE4A96E4F

iQA/AwUBPjf1w/rkky7kqW5PEQIB0gCfS/p/OlKojuA8wIB8iytoH4UajlMAoN3Q
POahV8fSAXxxpciBR1o+C0uR
=h+Ru
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close