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

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

缺陷编号:wooyun-2014-072301

漏洞标题:用友软件协作办公平台通用DBA权限SQL注入漏洞

相关厂商:用友软件

漏洞作者: 路人甲

提交时间:2014-08-14 10:02

修复时间:2014-11-09 10:04

公开时间:2014-11-09 10:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

sys\sortListUI.jsp

String done=request.getParameter("done");
String nodeId=request.getParameter("nodeId");
String strWhere="";
String id=request.getParameter("id");
String srcName = BaseFunc.ISOToGBK(request.getParameter("srcName"));//注入点
String searchKey = StringUtil.NullToEmpty(BaseFunc.ISOToGBK(request.getParameter("searchKeyvalue")));//注入点
srcName = "".equals(srcName)|| "null".equals(srcName) || srcName==null?"":srcName;
String lx=request.getParameter("lx");//0为分类项;1提示项
lx = "".equals(lx)|| "null".equals(lx) || lx==null?"0":lx;
id = "".equals(id)|| "null".equals(id) || lx==null?"0":id;
Sort sort= (Sort)ResourceManage.getContext("sort");
FieldSet fs=new WebFieldSet();


if("delete".equals(done)){
id=StringUtil.NullToEmpty(id).equals("")?"0":id;

int row=sort.deleteSort(Integer.parseInt(id));
}
DataTable DT;
if(!searchKey.equals("")){
strWhere = "(SI03 like'"+srcName+"%' and SI10='"+lx+"') or SI01 like'%"+searchKey+"%' or SI02 like'%"+searchKey+"%'";//拼接
DT=sort.getSortByWhere(strWhere,1,100,lx);//带入查询
}else{
DT=sort.getSortByName(srcName+"/",lx);
}

漏洞证明:

#1.http://www.elkay.com.cn/sys/sortListUI.jsp?searchKeyvalue=*

y.jpg


#2.http://oa.danzi.com.cn:9090/sys/sortListUI.jsp?searchKeyvalue=*

y.jpg


#3.http://fsd2014.f3322.org:9090/sys/sortListUI.jsp?searchKeyvalue=*

y.jpg


#4.http://220.168.210.109:9090/sys/sortListUI.jsp?searchKeyvalue=*

y.jpg


#5.http://oa.shunhengli.com:9090/sys/sortListUI.jsp?searchKeyvalue=*

y.jpg

修复方案:

过滤吧
你们自带的过滤就可以
String opt = HtmlFormat.format(request.getParameter("opt"));

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

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

忽略时间:2014-11-09 10:04

厂商回复:

最新状态:

暂无