CakePHP Vendors.PHP目录遍历漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111111 漏洞类型 路径遍历
发布时间 2006-09-22 更新时间 2006-09-28
CVE编号 CVE-2006-5031 CNNVD-ID CNNVD-200609-469
漏洞平台 PHP CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/28645
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200609-469
|漏洞详情
CakeSoftwareFoundationCakePHP1.1.8.3544之前版本的app/webroot/js/vendors.php中存在目录遍历漏洞,远程攻击者可以通过file参数中的..(两点)且后跟以"%00"结尾的文件名和.js扩展名来读取任意文件。
|漏洞EXP
source: http://www.securityfocus.com/bid/20150/info

CakePHP is prone to a directory-traversal vulnerability because it fails to properly sanitize user-supplied input. 

An attacker can exploit this vulnerability to retrieve arbitrary files from the vulnerable system in the context of the affected application. Information obtained may aid in further attacks.

Version 1.1.7.3633 is vulnerable; earlier versions may also be affected.

http://www.example.com/js/vendors.php?file=../../../../[file]%00foobar.js
|参考资料

来源:BID
名称:20150
链接:http://www.securityfocus.com/bid/20150
来源:SECUNIA
名称:22040
链接:http://secunia.com/advisories/22040
来源:MISC
链接:http://www.gulftech.org/?node=research&article_id=00114-09212006
来源:cakeforge.org
链接:http://cakeforge.org/frs/shownotes.php?release_id=134
来源:XF
名称:cakephp-vendors-information-disclosure(29115)
链接:http://xforce.iss.net/xforce/xfdb/29115