From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,54857fb1ad7c82f3 X-Google-Attributes: gidfee84,public From: Rob Urban Subject: Re: LD_LIBRARY_PATH mangled on SUID program Date: 2000/02/03 Message-ID: <3899DC34.6ECDDC9C@spielwiese.de>#1/1 X-Deja-AN: 581213354 Content-Transfer-Encoding: 7bit References: <87cab9$h5v$1@news.gov.on.ca> X-Accept-Language: en, German, de Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@ecrc.de X-Trace: news.ecrc.de 949607217 194.112.100.97 (Thu, 03 Feb 2000 20:46:57 MET) MIME-Version: 1.0 NNTP-Posting-Date: Thu, 03 Feb 2000 20:46:57 MET Newsgroups: comp.unix.osf.osf1 Richard wrote: > wishing to run the program becomes mangled by a prepended string which > appears as follows when it is od'd from an output file. > > del 2 1 2 del 1 8 1 > > when echoed to the screen it is: j212j181 (the j's have 2 dots above each) the loader is munging the value to close the security hole mentioned in another reply. I don't know why, but it seems the loader is prefixing 0377 0377 0377 to the value, where UID is your user-ID and GID is your group-ID Rob Urban