Local File Inclusion

Local File Inclusions in Perl/CGI

Last time we wrote about Local File Inclusion we covered the PHP vectors, this time we will discuss the Perl/CGI vectors instead. Perl/CGI consists of Perl scripts with the file endings .cgi and .pl, as opposed to PHP’s .php. While the concept remains the same, the Perl/CGI way of this attack differs greatly from PHP.