[39107] in bugtraq

home help back first fref pref prev next nref lref last post

remote command execution in 'tattle'

daemon@ATHENA.MIT.EDU (b0iler)
Thu Jun 9 13:44:51 2005

Message-ID: <1118139469.squirrel@r00thell.org>
Date: Tue, 7 Jun 2005 11:17:49 +0100 (BST)
From: "b0iler" <b0iler@r00thell.org>
To: bugtraq@securityfocus.com
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1

Hello, a recent bugtraq posting by CISSP C.J. Steele contains a vulnerability which will leave
a box possibly open for remote command execution.  There are many ways to exploit this, but I
chose logging in through ftp with username like

sshd rhost 9 10 11 |rm${IFS}-rf${IFS}/|echo'1.1.1.1'

because of poor input validation and improper use of system calls in tattle this will execute
the rm -rf / and echo'1.1.1.1' commands.  I would assume that in many cases tattle would be
running as root.  The problem is in the getemails subroutine on the line my $whois =
`/usr/bin/whois $tld`;

Author not notified.  I believe he reads this list.
Suggested workaround.  Disable tattle until patch.

home help back first fref pref prev next nref lref last post