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

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

缺陷编号:wooyun-2015-0131601

漏洞标题:中粮集团某接口post注入(26个数据库8829个表)

相关厂商:中粮集团有限公司

漏洞作者: 牛 小 帅

提交时间:2015-08-04 17:19

修复时间:2015-09-18 17:28

公开时间:2015-09-18 17:28

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-04: 细节已通知厂商并且等待厂商处理中
2015-08-04: 厂商已经确认,细节仅向厂商公开
2015-08-14: 细节向核心白帽子及相关领域专家公开
2015-08-24: 细节向普通白帽子公开
2015-09-03: 细节向实习白帽子公开
2015-09-18: 细节向公众公开

简要描述:

123

详细说明:

接口存在post注入:
http://joycitycrmws.cofco.com:8081/ws_member.asmx?op=CRM_VipSales

POST /ws_member.asmx/CRM_VipSales HTTP/1.1
Host: joycitycrmws.cofco.com:8081
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.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://joycitycrmws.cofco.com:8081/ws_member.asmx?op=CRM_VipSales
Cookie: WT_FPC=id=28d79c8c3fc4559a7181438668561176:lv=1438669842393:ss=1438668561176
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 139
strCallUserCode=1&strCallPassword=1&strVipCode=1&strStoreCode=1&strDocNo=1&strTillId=1&strSalesTxdate=1&strAmt=1&strEarnBonus=1&strSource=1


直接上sqlmap图:

260I8[%)OJAVD56FFF50D~6.png


C~9XIPB[463L[{497[6LMKI.png


8H{H}_HZM5(K{LODVZ[A%49.png


到此停手
要有节操

漏洞证明:

接口存在post注入:
http://joycitycrmws.cofco.com:8081/ws_member.asmx?op=CRM_VipSales

POST /ws_member.asmx/CRM_VipSales HTTP/1.1
Host: joycitycrmws.cofco.com:8081
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.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://joycitycrmws.cofco.com:8081/ws_member.asmx?op=CRM_VipSales
Cookie: WT_FPC=id=28d79c8c3fc4559a7181438668561176:lv=1438669842393:ss=1438668561176
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 139
strCallUserCode=1&strCallPassword=1&strVipCode=1&strStoreCode=1&strDocNo=1&strTillId=1&strSalesTxdate=1&strAmt=1&strEarnBonus=1&strSource=1


直接上sqlmap图:

260I8[%)OJAVD56FFF50D~6.png


C~9XIPB[463L[{497[6LMKI.png


8H{H}_HZM5(K{LODVZ[A%49.png


到此停手
要有节操

修复方案:

版权声明:转载请注明来源 牛 小 帅@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-08-04 17:26

厂商回复:

非常感谢!

最新状态:

暂无


漏洞评价:

评论