Bugtraq mailing list archives

Re: Solaris telnet vulnberability - how many on your network?


From: Joe Shamblin <wjs () cs duke edu>
Date: Tue, 13 Feb 2007 19:16:43 -0500

Casper.Dik () Sun COM wrote:
On Tue, 13 Feb 2007 Casper.Dik () Sun COM wrote:
On Tue, 13 Feb 2007 Casper.Dik () Sun COM wrote:
Am I missing something?  This vulnerability is close to 10 years old.
It was in one of the first versions of Solaris after Sun moved off of
the SunOS BSD platform and over to SysV.  It has specifically to do w=
ith
how arguments are processed via getopt() if I recall correctly.
You're confused with AIX/Linux

Solaris did not have the -f option in login until much later.
Hi Casper. While we have you here, any idea on when Sun will be patching
this issue?
Now, follow the links from http://sunsolve.sun.com/tpatches

Casper

Many thanks Casper! Can you give some more information on exactly what is
patched. Any Sun released advisory?


The simplest possible fix on such short notice:

http://cvs.opensolaris.org/source/diff/onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.telnetd.c?r2=3629&r1=2923

Casper


How about just uncommenting the following from /etc/default/login

# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
CONSOLE=/dev/console

Not a fix to be sure, but at least prevents a remote login.

Joe
--
Joe Shamblin                                    wjs () cs duke edu
Senior Systems Administrator             Department of Computer Science
(919) 660-6582                                  Duke University


Current thread: