On Wed, Oct 1, 2014 at 4:59 PM, Tom Metro <[email protected]> wrote:
> But in the case of CGI you are just moving the network/local
> barrier a bit further down the stack.

and moved it right through system() => /bin/sh => /bin/bash by alias
which last wasn't designed to be network secure.

> The CGI code is written with the
> expectation that the inputs are tainted.

alas, that paranoia (even if correctly implemented, which even Perl
Taint doesn't guarantee, only that something is tried) is only *after*
system() gives unclean ENV to bash to pass to Perl.

[ Efficient CGI implementations using pool processes and RPC for
non-spawning CGI emulation avoid *this* problem, plenty of other room
for trouble. ]

-- 
Bill Ricker
[email protected]
https://www.linkedin.com/in/n1vux
_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to