From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f38522ce0f0159be X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-31 20:51:02 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Dave Uhring Newsgroups: comp.unix.tru64 Subject: Re: Security warning draws DMCA threat Date: Wed, 31 Jul 2002 22:50:22 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:8272 Sylvain Robitaille wrote: > /usr/bin/su on my systems is mode 4111 (ie: no read pemrmission for > anyone -- I do that with all my setuid/setgid binaries to protect > against "core dumps follow symlinks" attacks. It would be interesting > to see if that (permission on the binary) makes any difference. I > can't think of any way that it would, but I've certainly seen enough > behaviour that I can't explain that I'm interested in trying it... > [/bin]# uname -a OSF1 moby.uhring.com T5.1 2359 alpha [/bin]# ls -l /bin/su -rws--x--x 1 root bin 24832 May 29 03:49 /bin/su [/bin]# chmod 4111 su [/bin]# ls -l su ---s--x--x 1 root bin 24832 May 29 03:49 su [/bin]# exit logout [duhring]$ ./su /bin/su by phased payload 15116b buffer 8238b # whoami root #