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

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

缺陷编号:wooyun-2014-087777

漏洞标题:完美世界某服务器rsync配置不当导致数据泄露

相关厂商:完美时空

漏洞作者: zhangfei

提交时间:2014-12-19 00:51

修复时间:2015-02-02 00:52

公开时间:2015-02-02 00:52

漏洞类型:重要敏感信息泄露

危害等级:低

自评Rank:2

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

萧泓诛仙里给个11套啊~~~

详细说明:

rsync --old-d rsync://122.228.76.54/backup/game1/root/gamed/


如图

rsync泄露.png


rsync -vzrtopg --progress rsync://122.228.76.54/backup/game1/root/gamed/lottery.lua


看起来是个游戏的服务端?上面有一些lua脚本

rsync泄露2.png


然后在里面翻啊翻,翻出来另一个脚本

--称号显示脚本本
--title_definition部分为称号描述,包括'asdf'(字符串描述)、id、note(名称)、desc(描述1)、desc_1(描述2)、desc_2(描述3) --title_definition中的desc的第一个字符表示称号归属的国家:0表示称号永远显示;1表示只有魏国玩家才能显示;2表示蜀国玩家才能显示;3表示吴国玩家才能显示
--$S 表示夫妻
--$T 表示师徒
title_definition = {}
title_definition['测试称号1'] = {id = 1 , note = "^ffbc3c【$S的相公】" , desc = "0从此便相濡以沫,不离不弃。" , desc_1 = "" , desc_2 = ""}
title_definition['测试称号2'] = {id = 2 , note = "^ffbc3c【$S的娘子】" , desc = "0从此便相濡以沫,不离不弃。" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国友善'] = {id = 1101 , note = "^72fe00【魏国义士】" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国尊敬'] = {id = 1102 , note = "^0184ff【魏国侠客】" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国崇敬'] = {id = 1103 , note = "^a800ff【魏国豪杰】" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国崇拜'] = {id = 1104 , note = "^a800ff【魏国英雄】" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国排行榜1'] = {id = 1105 , note = "^ff7d2f※魏国小霸王※" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国排行榜2'] = {id = 1106 , note = "^a800ff※魏国五虎将※" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国排行榜3'] = {id = 1107 , note = "^a800ff※魏国家将※" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国排行榜4'] = {id = 1108 , note = "^a800ff※魏国重臣※" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国排行榜5'] = {id = 1109 , note = "^0184ff※魏国猛将※" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国排行榜6'] = {id = 1110 , note = "^0184ff※魏国义臣※" , desc = "0" , desc_1 = "" , desc_2 = ""}
--title_definition['称号_阵营魏国排行榜7'] = {id = 1111 , note = "^0184ff※魏国名流※" , desc = "0" , desc_1 = "" , desc_2 = ""}


看来这是赤壁的服务端源码?

漏洞证明:

122.228.76.54/backup/game1/etc/hosts内容
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
172.19.51.254 manager
172.19.51.11 game1 game2 game3
172.19.51.31 database
172.19.51.32 backup delivery link1 link2

修复方案:

rsync设置密码,或者限定允许连接的主机
最好限定允许连接的主机并设置密码

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2014-12-19 15:38

厂商回复:

感谢洞主对完美世界的关注,我们会尽快修补漏洞。

最新状态:

暂无