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

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

缺陷编号:wooyun-2015-0149134

漏洞标题:中石化车e族APP存在SQL注入漏洞之三(16万联通库用户)

相关厂商:中国石油化工股份有限公司

漏洞作者: 路人甲

提交时间:2015-10-24 14:28

修复时间:2015-12-10 17:50

公开时间:2015-12-10 17:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-24: 细节已通知厂商并且等待厂商处理中
2015-10-26: 厂商已经确认,细节仅向厂商公开
2015-11-05: 细节向核心白帽子及相关领域专家公开
2015-11-15: 细节向普通白帽子公开
2015-11-25: 细节向实习白帽子公开
2015-12-10: 细节向公众公开

简要描述:

中石化APP之SQL注入

详细说明:

目标:中石化车e族APP
以下地方存在注入:(POST中的cardNo,报错型)

POST /api/shihuaCard/bindCard HTTP/1.1
Content-Length: 440
Content-Type: application/x-www-form-urlencoded
Cookie: ff911a88cc5c46ac9185aa1e2d241864%3D82f2ba74b46e3ae60ec55fac85f4d775d00f6e07a%3A4%3A%7Bi%3A0%3Bs%3A11%3A%2218000000000%22%3Bi%3A1%3Bs%3A11%3A%2218000000000%22%3Bi%3A2%3Bi%3A2592000%3Bi%3A3%3Ba%3A3%3A%7Bs%3A2%3A%22id%22%3Bs%3A6%3A%22689472%22%3Bs%3A4%3A%22name%22%3Bs%3A19%3A%22cy_1445582464_20034%22%3Bs%3A4%3A%22user%22%3Ba%3A17%3A%7Bs%3A6%3A%22userId%22%3Bs%3A6%3A%22689472%22%3Bs%3A4%3A%22name%22%3Bs%3A19%3A%22cy_1445582464_20034%22%3Bs%3A3%3A%22pwd%22%3Bs%3A32%3A%226267df2c218b8439a7b72d038833fd65%22%3Bs%3A3%3A%22mob%22%3Bs%3A11%3A%2218002512025%22%3Bs%3A5%3A%22alias%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22imgKey%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22status%22%3Bs%3A1%3A%220%22%3Bs%3A7%3A%22addTime%22%3Bs%3A19%3A%222015-10-23%2B14%3A41%3A04%22%3Bs%3A7%3A%22modTime%22%3Bs%3A19%3A%222015-10-23%2B14%3A41%3A04%22%3Bs%3A5%3A%22email%22%3Bs%3A29%3A%22cy_1445582464_20034%40huaat.net%22%3Bs%3A9%3A%22loginTime%22%3Bs%3A19%3A%222015-10-23%2B14%3A41%3A05%22%3Bs%3A4%3A%22type%22%3Bs%3A1%3A%220%22%3Bs%3A9%3A%22companyId%22%3Bs%3A1%3A%220%22%3Bs%3A6%3A%22client%22%3Bs%3A1%3A%220%22%3Bs%3A11%3A%22deviceToken%22%3Bs%3A0%3A%22%22%3Bs%3A10%3A%22modPwdTime%22%3Bs%3A19%3A%220000-00-00%2B00%3A00%3A00%22%3Bs%3A4%3A%22role%22%3Bs%3A1%3A%220%22%3B%7D%7D%7D%3B%20USERSESSID%3D1c77bb9dddde1a94319042e526b25b27
Host: e.o2obest.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
ajax=1&cardNo=1000111300007528682&companyKey=874d8c821358a5e26f2524b10f43a292&https=0&idNo=440622196505060825&name=%E9%99%88%E4%BC%9F


sqlmap.jpg


1、可跨9个库,当前库为server_shuchuang。

dbs.jpg


2、跨去server_liantong库看看,共一百多个表,16万联通库用户数据

user-counts.jpg


具体数据内容就不跑了~~

漏洞证明:

修复方案:

请多指教~

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-10-26 17:48

厂商回复:

谢谢!我们将尽快修改。

最新状态:

暂无