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

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

缺陷编号:wooyun-2016-0185662

漏洞标题:360某系统git配置不当导致源码泄露

相关厂商:奇虎360

漏洞作者: orange

提交时间:2016-03-17 15:45

修复时间:2016-04-19 19:04

公开时间:2016-04-19 19:04

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

危害等级:中

自评Rank:10

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-03-17: 细节已通知厂商并且等待厂商处理中
2016-03-17: 厂商已经确认,细节仅向厂商公开
2016-03-27: 细节向核心白帽子及相关领域专家公开
2016-04-06: 细节向普通白帽子公开
2016-04-16: 细节向实习白帽子公开
2016-04-19: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

##URL

http://api.b.360.cn/.git


发现是天擎的管理后台源码

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>天擎6全国用户分布图</title>

漏洞证明:

##.git/config

➜  GitHack git:(master) ✗ curl http://api.b.360.cn/.git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://git.corp.qihoo.net/360wangguanban/u_b_360_cn_code.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "dev_newub360cn"]
remote = origin
merge = refs/heads/dev_newub360cn
[branch "sync_api_b_360_cn"]
remote = origin
merge = refs/heads/sync_api_b_360_cn
[branch "bugfix_2018XXXX"]
remote = origin
merge = refs/heads/bugfix_2018XXXX


##数据库配置文件

<?php
// This is the database connection configuration.
return array(
// 'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
// uncomment the following lines to use a MySQL database

'class' => 'CDbConnection',
'connectionString' => sprintf('mysql:host=%s;port=%s;dbname=%s', '10.131.199.254', '3489', 'entvalidate'),
'emulatePrepare' => true,
'username' => 'entvalidate',
'password' => '056f8ceb1c3953ae',
'charset' => 'utf8',

);

修复方案:

删除

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:3

确认时间:2016-03-17 19:03

厂商回复:

感谢白帽子关注360产品安全,我们第一时间修复处理。

最新状态:

2016-04-19:已修复