in reply to Insecure dependency

Is the script setuid?
Perl automatically jumps into taint mode when setuid'ing.
davis

Replies are listed 'Best First'.
Re: Re: Insecure dependency
by hotshot (Prior) on Dec 17, 2001 at 14:59 UTC
    that is the answer, the script is indeed setuid, I'll check that.
    thanks

    Hotshot
      Ofcourse un-setuid'ing the script wont fix any security holes you might have. Closing a file that's not open is probably not a very smart thing. Many brothers here think it would be wise to keep taint checking on and just secure your code a bit. See perlsec for some more hints.

      Greetz
      Beatnik
      ... Quidquid perl dictum sit, altum viditur.