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

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

缺陷编号:wooyun-2014-077505

漏洞标题:某通用系统备份数据session验证不严第四波

相关厂商:西安网科创想

漏洞作者: 小邪

提交时间:2014-09-28 12:56

修复时间:2014-12-27 12:58

公开时间:2014-12-27 12:58

漏洞类型:设计缺陷/逻辑错误

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-09-28: 细节已通知厂商并且等待厂商处理中
2014-09-29: 厂商已经确认,细节仅向厂商公开
2014-10-02: 细节向第三方安全合作伙伴开放
2014-11-23: 细节向核心白帽子及相关领域专家公开
2014-12-03: 细节向普通白帽子公开
2014-12-13: 细节向实习白帽子公开
2014-12-27: 细节向公众公开

简要描述:

某通用系统备份数据session验证不严 感觉文件名控制的挺严的不能直接getshell= =

详细说明:

backup.php

<?php
ob_start();
error_reporting(0);
include("lead_db.php"); //调用库类
/*--------------界面--------------*/
if(@!$_POST['act']){//未提交了表单
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<link href="../css.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<div id=hiddenDiv style="filter:Alpha(opacity=10);">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="border-left:1px solid #B7E6B0;border-right:1px solid #B7E6B0;">
<tr>
<td height="30" colspan="3" background="../images/main_title_bg.jpg">&nbsp;&nbsp;您的当前位置:系统设置 > 数据备份</td>
</tr>
<tr>
<td width="10"></td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<!--开始-->
<table width="408" border="0" align="center" cellpadding="0" cellspacing="2" class="yy">
<form name="form1" method="post" action="">
<input name="hiddenField" type="hidden" value="ok" />
<tr>
<td width="56" height="24" class="bd_txt">数据库</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><input name="bfzl" type="radio" value="quanbubiao" checked="checked"></td>
<td class="txt">备份[全部]数据表的数据到一个.sql文件</td>
..................


我们可以看到未验证session 因此我们可以直接未授权访问

漏洞证明:

我们拿厂商进行测试
直接访问:http://www.xanet.net/admin/databak/backup.php

1.jpg


勾选本地 点击备份

2.jpg


3.jpg


修复方案:

验证session 另外还有处数据恢复同理

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-09-29 16:47

厂商回复:

最新状态:

暂无