EZDatabase Index.PHP跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1109638 漏洞类型 跨站脚本
发布时间 2006-01-16 更新时间 2006-01-20
CVE编号 CVE-2006-0315 CNNVD-ID CNNVD-200601-222
漏洞平台 PHP CVSS评分 5.8
|漏洞来源
https://www.exploit-db.com/exploits/27093
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200601-222
|漏洞详情
EZDatabase2.1.2之前版本中的index.php,在建构和包含.php文件名之前未适当清除p参数,远程攻击者可以执行目录遍历攻击,并导致发生跨站脚本攻击(XSS)和路径披露问题。
|漏洞EXP
source: http://www.securityfocus.com/bid/16257/info

EZDatabase is prone to a cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.

An attacker may leverage this issue to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may facilitate the theft of cookie-based authentication credentials as well as other attacks.

Versions less than 2.1.2 are reported to be affected; other versions may also be vulnerable. 

http://www.example.com/index.php?db_id=1&cat_id=1&display=30&p=%3Cscript%3Ealert(document.cookie)%3C/script%3E&rowstart=90
|参考资料

来源:MISC
链接:http://zur.homelinux.com/Advisories/ezdatabase_dir_trans.txt
来源:BID
名称:16257
链接:http://www.securityfocus.com/bid/16257
来源:BUGTRAQ
名称:20060115EZDatabaseDirectoryTransversal,XSSandPathDisclosureVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/422071/100/0/threaded
来源:SECUNIA
名称:18043
链接:http://secunia.com/advisories/18043
来源:FULLDISC
名称:20060115EZDatabaseDirectoryTransversal,XSSandPathDisclosureVulnerability
链接:http://archives.neohapsis.com/archives/fulldisclosure/2006-01/0515.html
来源:XF
名称:ezdatabase-index-p-path-disclosure(24135)
链接:http://xforce.iss.net/xforce/xfdb/24135
来源:XF
名称:ezdatabase-index-p-xss(24134)
链接:http://xforce.iss.net/xforce/xfdb/24134
来源:OSVDB
名称:22684
链接:http://www.osvdb.org/22684