in reply to Re^6: On being 'critical'
in thread On being 'critical'
I don't know much about web apps, so you tell me. Is there any way that input from a user via a web app will be used by <>, without the programmer explictly assigning it to @ARGV? Even then, shouldn't all cgi scripts have taint mode enabled?
If the programmer is going to ignore taint or detaint and then assign unvetted filenames from an unknown user into @ARGV, do you think that changing the magic open to use the 3-arg variant will stop them?
Aren't they just as likely to use the 2-arg open themselves, or a piped open, or IO::Pipe or $secretInfo = `cat $filename`;?
Also, don't most cgi scripts run under userids that have specifically restricted privileges, and rooted to heavily restricted portions of the server directory space specifically to prevent or severally restrict the possibility of this kind of damage?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: On being 'critical'
by sauoq (Abbot) on Dec 15, 2006 at 20:29 UTC | |
|
Re^8: On being 'critical'
by Sartak (Hermit) on Dec 15, 2006 at 08:30 UTC | |
by BrowserUk (Patriarch) on Dec 15, 2006 at 09:20 UTC |