News for hackers. Stuff that matters.
Re:A web server in a shell script by sjs on Tuesday November 02, 2010 @08:34PM (#1863065)
Not saying there isn't an exploit here, but that's not it.

    % foo="& do_evil"
    % cat "$foo"
    cat: & do_evil: No such file or directory
Now if the request was for the path /../../../../../../etc/passwd ... that's a different story.

edit: and with the CGI stuff it might be possible to execute rm or something else dangerous/destructive.

There are no comments on this comment yet.