Vulnerability Development mailing list archives
Re: nobody suid shell (kind of relationship with the ld-2.2.4 thread...)
From: Bill Weiss <houdini () nmt edu>
Date: Fri, 26 Apr 2002 10:51:02 -0600
Anibal Ambertin(aambertin () securetty com ar)@Thu, Apr 25, 2002 at 01:02:52PM -0300:
Hi you all. I've been playing with a linux system that we've for research and gained shell access. I placed at /tmp a nobody suid shell (tcsh) with permissions like "4777" (remember, just research :)). Well, thing is when I try to execute it it says "Permission Denied", that's pretty strange 'cause as you can see, I do have execution access. I really can't see why... When this happened I thought in the ld-x.x.x behavior and tried it... well, actually it worked right, but It DID NOT SUID ME!. If someone has a tip or idea I'll take it :). Thank you all.
Ok, two-parter: 1) /tmp is probably mounted noexec, possibly nosuid. Put the root shell somewhere else. 2) As the discussion came out, that's the desired thing for ld to do. It's executing the contents of the file, not the file itself. Since the SUID bit is on the file, it doesn't happen. -- Bill Weiss
Current thread:
- /lib/ld-2.2.4.so Sabau Daniel (Apr 22)
- RE: /lib/ld-2.2.4.so Tech Support (Apr 24)
- Re: /lib/ld-2.2.4.so Marlon Jabbur (Apr 24)
- Re: /lib/ld-2.2.4.so Eric Rostetter (Apr 24)
- Re: /lib/ld-2.2.4.so Olaf Kirch (Apr 24)
- Re: /lib/ld-2.2.4.so Bill Weiss (Apr 24)
- Re: /lib/ld-2.2.4.so Kurt Seifried (Apr 25)
- Re: /lib/ld-2.2.4.so Robert A. Seace (Apr 25)
- nobody suid shell (kind of relationship with the ld-2.2.4 thread...) Anibal Ambertin (Apr 26)
- Re: nobody suid shell (kind of relationship with the ld-2.2.4 thread...) c0n (Apr 26)
- Re: nobody suid shell (kind of relationship with the ld-2.2.4 thread...) Bill Weiss (Apr 26)
- Re: nobody suid shell (kind of relationship with the ld-2.2.4 thread...) Jim Nanney (Apr 26)
- Re: /lib/ld-2.2.4.so Bill Weiss (Apr 24)
- Re: /lib/ld-2.2.4.so Florian Weimer (Apr 26)
- RE: /lib/ld-2.2.4.so Tech Support (Apr 24)
- Re: /lib/ld-2.2.4.so FozZy (Apr 24)
- RE: /lib/ld-2.2.4.so Tech Support (Apr 25)
- Re: /lib/ld-2.2.4.so SpaceWalker (Apr 26)
- Re: /lib/ld-2.2.4.so Michal Zalewski (Apr 25)
- Re: /lib/ld-2.2.4.so Olaf Kirch (Apr 25)