记录黑客技术中优秀的内容, 传播黑客文化,分享黑客技术精华

中粮集团某接口post注入(26个数据库8829个表)

2015-09-18 19:15

接口存在post注入:

http://joycitycrmws.cofco.com:8081/ws_member.asmx?op=CRM_VipSales



code 区域
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



code 区域
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





到此停手



要有节操

修复方案:

知识来源: www.wooyun.org/bugs/wooyun-2015-0131601

阅读:76137 | 评论:0 | 标签:注入

想收藏或者和大家分享这篇好文章→复制链接地址

“中粮集团某接口post注入(26个数据库8829个表)”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

关注公众号hackdig,学习最新黑客技术

推广

工具

标签云