[31037] in bugtraq

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

Re: Solaris ld.so.1 buffer overflow

daemon@ATHENA.MIT.EDU (Crist J. Clark)
Mon Aug 4 15:53:23 2003

Date: Fri, 1 Aug 2003 13:58:48 -0700
From: "Crist J. Clark" <cristjc@comcast.net>
To: Jouko Pynnonen <jouko@iki.fi>
Message-ID: <20030801205847.GC52053@blossom.cjclark.org>
Reply-To: cjclark@alum.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030729203617.GG27022@ip212-226-112-140.kestel.pp.fi>

On Tue, Jul 29, 2003 at 11:36:18PM +0300, Jouko Pynnonen wrote:
> 
> OVERVIEW
> ========
> 
> There is a buffer overflow vulnerability in the Solaris runtime linker, 
> /lib/ld.so.1. A local user can gain elevated privileges if there are
> any dynamically linked, executable SUID/SGID programs in the 
> filesystem.
[snip]

According to the Sun Alert on this vulnerability,

  http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert/55680

Various patchlevels of Solaris 2.6, 7, 8, and 9 sparc and i386 are all
vulnerable.

On Solaris 2.5.1,

  $ uname -a  
  SunOS wallace 5.5.1 Generic_103640-40 sun4u sparc SUNW,Ultra-Enterprise

When I try the simple,

  $ LD_PRELOAD=/`perl -e 'print "A"x2000'`/ passwd
  passwd:  Changing password for cclark
  Enter login(NIS) password:

It doesn't crash. That reassures me somewhat, but does anyone know if
2.5.1 is not listed because it is (a) no longer supported and not
tested and patched, or (b) not actually vulnerable?

Thanks.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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