in reply to Re: How to call external scripts from a CGI-script in taint mode?
in thread How to call external scripts from a CGI-script in taint mode?
I was adding something to $ENV{'PATH'}, but setting it explicitely to my "trusted" directories does not help:
Insecure dependency in `` while running with -T switch at /v/webserver/consensus/cgi-bin/interface.pl line 171.
Line 171 says:
$log = `/v/webserver/consensus/cgi-bin/conss_aln.pl $shellstring`;
But when using tainted mode, I get the error message above. Its reason is the '$shellstring', removing it from the line helps. But I can't start my external script anymore without the parameters stored in '$shellstring' ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to call external scripts from a CGI-script in taint mode?
by Coruscate (Sexton) on Apr 03, 2003 at 12:05 UTC | |
by professa (Beadle) on Apr 03, 2003 at 12:28 UTC | |
|
Re: Re: Re: How to call external scripts from a CGI-script in taint mode?
by davorg (Chancellor) on Apr 03, 2003 at 12:02 UTC |