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

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

缺陷编号:wooyun-2015-0102338

漏洞标题:某查询系统通用SQL注入

相关厂商:上海财大科技发展有限公司

漏洞作者: 路人甲

提交时间:2015-03-19 16:00

修复时间:2015-06-22 10:30

公开时间:2015-06-22 10:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-19: 细节已通知厂商并且等待厂商处理中
2015-03-24: 厂商已经确认,细节仅向厂商公开
2015-03-27: 细节向第三方安全合作伙伴开放
2015-05-18: 细节向核心白帽子及相关领域专家公开
2015-05-28: 细节向普通白帽子公开
2015-06-07: 细节向实习白帽子公开
2015-06-22: 细节向公众公开

简要描述:

RT

详细说明:

案例如下:
http://61.142.174.200/cwc/KFweb/admin/AddRegisterUser.aspx
http://cwc.sxufe.edu.cn/KfWeb/admin/AddRegisterUser.aspx
http://www.shcdkf.com/kfweb/admin/AddRegisterUser.aspx
http://gzcx.tynu.edu.cn/kfweb/admin/AddRegisterUser.aspx
http://cwch.ahu.edu.cn/querynetweb/admin/AddRegisterUser.aspx
http://221.5.51.228/cjb/admin/AddRegisterUser.aspx
http://59.72.128.44/KfWeb//admin/AddRegisterUser.aspx
http://www.cqvie.com/xfcxbn/admin/AddRegisterUser.aspx
http://cycwc.gzife.edu.cn/kefa/admin/AddRegisterUser.aspx
http://210.45.92.21/admin/AddRegisterUser.aspx
http://cwcx.jlsu.edu.cn/admin/AddRegisterUser.aspx
http://cw.syu.edu.cn:8080/kfweb/admin/AddRegisterUser.aspx
需要抓包。。

1.png


参数:txtGh存在注入。
1.测试案例:http://61.142.174.200/cwc/KFweb/admin/AddRegisterUser.aspx

POST /cwc/KFweb/admin/AddRegisterUser.aspx HTTP/1.1
Host: 61.142.174.200
Proxy-Connection: keep-alive
Content-Length: 310
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://61.142.174.200
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://61.142.174.200/cwc/KFweb/admin/AddRegisterUser.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASP.NET_SessionId=r2vf1jqictiq4u55rekdh1yn
__VIEWSTATE=%2FwEPDwUKMjA0MDIxMjU3NmRk9Q75YxYxSpv7X8Cyt9qXk3jEpvo%3D&txtGh=11&btGetInfo=%BB%F1%C8%A1%D0%C5%CF%A2&txtXm=&txtSfz=&txtBmm=&txtUserId=&txtPassword=&__EVENTVALIDATION=%2FwEWCgLfyMzHAwKA%2B%2F7tBQKK9N%2FVAgKD%2B%2Br3AwKO%2B%2BaLBAKD%2B%2Fa0AQKz8dy8BQK1qbSRCwKHh9SODAKP7IKRCeK7vBI2uPfYb82REj1B7kF4Am8q


2.png


2.测试案例:http://cwc.sxufe.edu.cn/KfWeb/admin/AddRegisterUser.aspx

POST /KfWeb/admin/AddRegisterUser.aspx HTTP/1.1
Host: cwc.sxufe.edu.cn
Proxy-Connection: keep-alive
Content-Length: 314
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://cwc.sxufe.edu.cn
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://cwc.sxufe.edu.cn/KfWeb/admin/AddRegisterUser.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASP.NET_SessionId=oiguee3l3whlgprzdoybk3fq
__VIEWSTATE=%2FwEPDwUKMjA0MDIxMjU3NmRkkkAjColf8PkaZnJbJ0Livhi%2F764%3D&txtGh=11&btGetInfo=%BB%F1%C8%A1%D0%C5%CF%A2&txtXm=&txtSfz=&txtBmm=&txtUserId=&txtPassword=&__EVENTVALIDATION=%2FwEWCgKoy%2BGmBQKA%2B%2F7tBQKK9N%2FVAgKD%2B%2Br3AwKO%2B%2BaLBAKD%2B%2Fa0AQKz8dy8BQK1qbSRCwKHh9SODAKP7IKRCfPSWqjJ9YB8YIw52rHhHFFPN6JF


3.png

漏洞证明:

3.png


2.png

修复方案:

参数过滤。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2015-03-24 10:28

厂商回复:

CNVD确认所述情况,已经由CNVD通过网站公开联系方式(或以往建立的处置渠道)向网站管理单位(软件生产厂商)通报。

最新状态:

暂无


漏洞评价:

评论