Twenty Year Anniversary

absolute.telnet.txt

absolute.telnet.txt
Posted Feb 7, 2003
Authored by Knud Erik Hojgaard | Site kokanins.homepage.dk

The code that sets the programs title bar in AbsoluteTelnet contains a buffer overflow vulnerability that can allow code execution. This affects AbsoluteTelnet version 2.00, 2.11 and has been fixed in this beta version of AbsoluteTelnet.

tags | advisory, overflow, code execution
MD5 | 37c13470d238492e647dd46d8ddbff44

absolute.telnet.txt

Change Mirror Download
<crap>
This advisory may be found at http://kokanins.homepage.dk/
This advisory may not be reproduced, in part or in full, unless this notice
is included.
This advisory was written by knud.
</crap>

I. BACKGROUND

Celestial software's AbsoluteTelnet is "the ultimate terminal client,
it provides the most rock-solid emulations, the best security, and
the fastest throughput of all terminal clients, along with unrelenting
performance and stellar features"

More information about the application is available at
http://www.celestialsoftware.net/telnet/index.html

II. DESCRIPTION

Insufficient bounds checking in the code that sets the programs titlebar
leads to execution of arbitrary code.
The following will reproduce the problem/set EIP to 0x0:

export KNUD=`perl -e 'print "A" x 174'`
echo -ne "\033]0;$KNUD\007"

and the following will set EBP/EIP to 0x41414141, hence allowing the
execution of attacker-supplied code.

export KNUD=`perl -e 'print "A" x 296'`
echo -ne "\033]0;$KNUD\007"

III. ANALYSIS

A user able to entice the victim to 'cat' a file will be able to perform
this attack. AbsoluteTelnet may furthermore be selected as the "default
telnet client", which will enable an attacker to exploit this via amongst
other means, a meta refresh such as
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=telnet://hostile.serv.er">.

Furthermore the ssh login/password is kept in plaintext in memory throughout
the entire session, which might enable the attacker to recover this as well.

IV. DETECTION

AbsoluteTelnet 2.00 is vulnerable.
AbsoluteTelnet 2.11 is vulnerable, but the buffer gets converted to unicode
before the register overwrite, which hinders exploitation a bit.

V. WORKAROUND

http://www.celestialsoftware.net/telnet/beta_software.html has an updated
beta version.

VI. VENDOR FIX

above

VII. CREDIT

Knud

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

August 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close