[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

WordPress themify themes File Upload Vulnerability

[ 0Day-ID-21551 ]
Full title
WordPress themify themes File Upload Vulnerability [ Highlight ]
Highlight - is paid service, that can help to get more visitors to your material.

Price: 10
Date add
Category
Platform
Verified
Price
free
Risk
[
Security Risk High
]
Rel. releases
Description
all theme suffer of File Upload Vulnerability.
all whitout autoritation can upload malicious code to all themify theme
Usage info
prof of concept:


code not properly sanitized at get function:

function themify_upload(){
if(!empty($_FILES)) {
if(!isset($_POST['target']) || $_POST['target'] == ''){
$target = TEMPLATEPATH.'/uploads/';
} else {
$target = TEMPLATEPATH.'/'.$_POST['target'];
}
$target = rtrim($target, "/");
$check = false;
if(!is_dir($target)){
if(!mkdir($target, 0777, true)){
echo "false";
} else {
$check = true;
}
} else {
$check = true;
}
if($check){
if(move_uploaded_file($_FILES['Filedata']['tmp_name'], $target."/".str_replace(" ", "-", basename($_FILES['Filedata']['name'])))){
echo str_replace(" ", "-", basename($_FILES['Filedata']['name']));
} else {
echo "false";
}
}
}
}
if($_GET['upload']){
themify_upload();
}
Vendor
http://themify.me
Affected ver
all version
Tested on
linux - windows
Solution
no solution. no contact from themify staff
Other Information
Abuses
0
Comments
6
Views
9 481
We DO NOT use Telegram or any messengers / social networks! We DO NOT use Telegram or any messengers / social networks! Please, beware of scammers!
free
Open Exploit
You can open this source code for free
Open Exploit
Open Exploit
You can open this source code for free
Author
BL
29
Exploits
1
Readers
0
[ Comments: 6 ]
Terms of use of comments:
  • Users are forbidden to exchange personal contact details
  • Haggle on other sites\projects is forbidden
  • Reselling is forbidden
Punishment: permanent block of user account with all Gold.

Login or register to leave comments