update

Jim Popovitch jimpop at gmail.com
Wed Sep 24 23:22:14 UTC 2014


On Sep 24, 2014 7:00 PM, <Valdis.Kletnieks at vt.edu> wrote:
>
> On Wed, 24 Sep 2014 18:50:05 -0400, Jim Popovitch said:
>
> > If someone is already invoking #!/bin/bash from a cgi, then they are
> > already doing it wrong (bash has massive bloat/overhead for a CGI
script).
>
> You sure you don't have *any* cgi's that do something like
> system("mail -s 'cgi program xxyz hit fatal error' webadmin at localhost");
> because all it takes is finding a way to force the fatal error while you
> send a crafted User-Agent: header....

That won't automatically invoke bash on Debian/Ubuntu....unless someone
intentionally changed default shells....

-Jim P.


More information about the NANOG mailing list