MyBB 跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1109559 漏洞类型 跨站脚本
发布时间 2005-12-26 更新时间 2006-10-05
CVE编号 CVE-2006-0470 CNNVD-ID CNNVD-200601-379
漏洞平台 PHP CVSS评分 4.3
|漏洞来源
https://www.exploit-db.com/exploits/27137
https://cxsecurity.com/issue/WLB-2006010061
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200601-379
|漏洞详情
MyBulletinBoard(MyBB)1.02的search.php中存在跨站脚本攻击漏洞,远程攻击者可以通过未在重定向中适当处理的(1)sortby和(2)sortordr参数注入任意Web脚本或HTML。
|漏洞EXP
source: http://www.securityfocus.com/bid/16387/info

MyBB is prone to multiple cross-site scripting vulnerabilities. These issues are due to a lack of proper sanitization of 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. 

http://www.example.com/mybb/search.php?action=do_search&keywords=&postthread=1&author=imei&matchusername=1&forums=all&findthreadst=1&numreplies=&postdate=0&pddir=1&sortby="><script
language=javascript>alert(document.cookie)/script>&sorder=1&showresults=threads&submit=Search
|参考资料

来源:BID
名称:16387
链接:http://www.securityfocus.com/bid/16387
来源:OSVDB
名称:22750
链接:http://www.osvdb.org/22750
来源:VUPEN
名称:ADV-2006-0350
链接:http://www.frsirt.com/english/advisories/2006/0350
来源:SECUNIA
名称:18617
链接:http://secunia.com/advisories/18617
来源:BUGTRAQ
名称:20060125MyBB1.0.2XSSattackinsearch.phpredirection
链接:http://seclists.org/lists/bugtraq/2006/Jan/0414.html
来源:community.mybboard.net
链接:http://community.mybboard.net/showthread.php?tid=6418
来源:community.mybboard.net
链接:http://community.mybboard.net/attachment.php?aid=2181
来源:XF
名称:mybb-search-xss(24466)
链接:http://xforce.iss.net/xforce/xfdb/24466
来源:SREASON
名称:374
链接:http://securityreason.com/securityalert/374