Knusperleicht GuestBook 'index.php' GB_PATH参数远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110722 漏洞类型 输入验证
发布时间 2006-08-01 更新时间 2006-09-05
CVE编号 CVE-2006-4007 CNNVD-ID CNNVD-200608-082
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/28320
https://cxsecurity.com/issue/WLB-2006080042
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200608-082
|漏洞详情
KnusperleichtGuestbook3.5的index.php脚本存在PHP远程文件包含漏洞,远程攻击者可借助GB_PATH参数中的URL执行任意PHP代码。
|漏洞EXP
source: http://www.securityfocus.com/bid/19274/info

GuestBook is prone to a remote file-include vulnerability because it fails to properly sanitize user-supplied input.

An attacker can exploit this issue to include arbitrary remote files containing malicious PHP code and execute it in the context of the webserver process. This may allow the attacker to compromise the application and to gain access to the underlying system.

http://www.example.com/[scriptpath]/index.php?GB_PATH=evilcode.txt?&cmd=id
|参考资料

来源:XF
名称:guestbook-index-file-include(28133)
链接:http://xforce.iss.net/xforce/xfdb/28133
来源:BID
名称:19274
链接:http://www.securityfocus.com/bid/19274
来源:BUGTRAQ
名称:20060801[KurdishSecurity#17]GuestBook3.5RemoteCommandExecution
链接:http://www.securityfocus.com/archive/1/archive/1/441810/100/0/threaded
来源:SREASON
名称:1333
链接:http://securityreason.com/securityalert/1333