|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: SUID shell scripts, questions?
Greg Woods (woods
ncar.ucar.edu)Fri, 10 Feb 95 17:23:11 MST
- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Pete Hartman: "Re: Re: Need source routing prog"
- Previous message: AMONK
delphi.com: "Re: this list is turning into usless drivel"
- In reply to: That Whispering Wolf...: "SUID shell scripts, questions?"
- Next in thread: Carson Gaspar: "Re: SUID shell scripts, questions?"
>Since starting the shell can take > a finite amount of time, there's a race condition where you can substitute > in a different file for the one that originally spawned the shell. Or you can just create a symlink to a setuid script called "-i". Guess what happens when the system executes "sh -i"? Don't even need the race condition. And even without this, you could always overwrite the SAME file with something new, so the fd doesn't change. --Greg
- Next message: Pete Hartman: "Re: Re: Need source routing prog"
- Previous message: AMONK
delphi.com: "Re: this list is turning into usless drivel"
- In reply to: That Whispering Wolf...: "SUID shell scripts, questions?"
- Next in thread: Carson Gaspar: "Re: SUID shell scripts, questions?"