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

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

缺陷编号:wooyun-2015-0102151

漏洞标题:某查询系统一处SQL注入

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

漏洞作者: 路人甲

提交时间:2015-03-18 16:36

修复时间:2015-06-17 09:36

公开时间:2015-06-17 09:36

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

案例如下:
http://61.142.174.200/cwc/KFweb/kfsf/Sf_ShowAllBm2.aspx
http://cwc.sxufe.edu.cn/KfWeb/kfsf/Sf_ShowAllBm2.aspx
http://www.shcdkf.com/kfweb//kfsf/Sf_ShowAllBm2.aspx
http://gzcx.tynu.edu.cn/kfweb//kfsf/Sf_ShowAllBm2.aspx
http://cwch.ahu.edu.cn/querynetweb//kfsf/Sf_ShowAllBm2.aspx
http://221.5.51.228/cjb//kfsf/Sf_ShowAllBm2.aspx
http://59.72.128.44/KfWeb/kfsf/Sf_ShowAllBm2.aspx
http://www.cqvie.com/xfcxbn/kfsf/Sf_ShowAllBm2.aspx
需要一个个的抓包。。
1.测试案例:http://61.142.174.200/cwc/KFweb/kfsf/Sf_ShowAllBm2.aspx

POST /cwc/KFweb//kfsf/Sf_ShowAllBm2.aspx HTTP/1.1
Host: 61.142.174.200
Proxy-Connection: keep-alive
Content-Length: 1154
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//kfsf/Sf_ShowAllBm2.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASP.NET_SessionId=iapjrqylbcb5pkvq1nfoepfj; ASPSESSIONIDCQDQTCAC=EBMFMPIALKGPMHOEMJAPENKF; ASPSESSIONIDAQATTDAC=LCPFCFJAHMDPJOIDCGFFGDBF
__VIEWSTATE=%2FwEPDwUKMTY3MzYxOTE1Mw9kFgICAw9kFhICBw8QZBAVCw495YWo6YOo6aG555uuPQblrabotLkJ5L2P5a6%2F6LS5D%2BWunuS5oOWunumqjOi0uQnooaXogIPotLkJ6YeN5L%2Bu6LS5CeaVmeadkOi0uQzpgInkv67mlZnmnZAP55%2Bt5pyf5Z%2B56K6t6LS5GOS7o%2BaUtuWtpueUn%2BWxheawkeWMu%2BS%2FnR7kuK3ogYzmioDog73ogIPor5XogIPlnLrnu4%2FotLkVCwACMDECMDICMDMCMDQCMDUCMDYCMDcCMDgCMDkCMTAUKwMLZ2dnZ2dnZ2dnZ2dkZAILDxBkDxYBZhYBEAUOPeWFqOmDqOmZouezuz1lZ2RkAhkPDxYEHgRUZXh0BQlIeXBlckxpbmseC05hdmlnYXRlVXJsBUx%2BL2Zpc19wcmludC5hc3B4P3JwdD1TZl9TaG93QWxsQm0yLnJwdCZzZm5mPTEmeG1tPTAxJmJtaD0mYmptYz0xJnhtPTEmaXNxZj0wZGQCLw88KwANAQAPFgQeC18hRGF0YUJvdW5kZx4LXyFJdGVtQ291bnRmZGQCMw8PFgIfAAUEMC4wMGRkAjUPDxYCHwAFBDAuMDBkZAI3Dw8WAh8ABQQwLjAwZGQCOQ8PFgIfAAUEMC4wMGRkAjsPDxYCHwAFBDAuMDBkZBgCBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQULQ2hrQWxsQm0yUWYFDkdyaWRWaWV3QWxsQm0yDzwrAAkBCGZkxCVhrzFj9XBVKGrpXrYHRvlGfww%3D&TxtAllBm2Sfnf=1&DpAllBm2Sfxm=01&DpAllBm2Xxbm=&TxtAllBm2Bjmc=1&TxtAllBm2Xm=1&BtnAllBm2Cx=%B2%E9%D1%AF&__EVENTVALIDATION=%2FwEWEgLQ166%2FDgLry607Ao75wjgCnpak1QwCnpag1QwCnpac1QwCnpaY1QwCnpaU1QwCnpaQ1QwCnpaM1QwCnpbI1gwCnpbE1gwCgZao1QwCx%2B7KZAK0uou6BALlmeWpDgK5ivIJAtaIhvcD4cTk8H6G7AkURLQDRANS1jG1Dco%3D


参数:TxtAllBm2Sfnf存在注入。

1.png


以上均可复现。

漏洞证明:

1.测试案例:http://61.142.174.200/cwc/KFweb/kfsf/Sf_ShowAllBm2.aspx

POST /cwc/KFweb//kfsf/Sf_ShowAllBm2.aspx HTTP/1.1
Host: 61.142.174.200
Proxy-Connection: keep-alive
Content-Length: 1154
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//kfsf/Sf_ShowAllBm2.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASP.NET_SessionId=iapjrqylbcb5pkvq1nfoepfj; ASPSESSIONIDCQDQTCAC=EBMFMPIALKGPMHOEMJAPENKF; ASPSESSIONIDAQATTDAC=LCPFCFJAHMDPJOIDCGFFGDBF
__VIEWSTATE=%2FwEPDwUKMTY3MzYxOTE1Mw9kFgICAw9kFhICBw8QZBAVCw495YWo6YOo6aG555uuPQblrabotLkJ5L2P5a6%2F6LS5D%2B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.png

修复方案:

参数过滤。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-03-19 09:35

厂商回复:

漏洞重复

最新状态:

暂无