Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2018-01458
- Vendor: 真理大學
- Title: 真理大學統計與精算學系 Unrestricted File Upload & Stored Cross-Site Scripting
- Introduction: 上傳夾帶<script>的html
處理狀態
目前狀態
公開
Last Update : 2018/11/24
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2018/09/24 19:29:40 : 新提交 (由 Noth 更新此狀態)
- 2018/09/24 19:56:58 : 新提交 (由 Noth 更新此狀態)
- 2018/09/24 22:22:30 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/09/25 11:21:21 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/09/25 11:21:21 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/09/25 11:21:21 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/11/24 03:00:13 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2018-01458
- 通報者:Cake7528064 (Noth)
- 風險:中
- 類型:任意檔案上傳 (Arbitrary File Upload)
參考資料
攻擊者可上傳任意檔案至該主機,有機會經由上傳之文件取得該主機系統權限。
漏洞說明: OWASP - Unrestricted File Upload
https://www.owasp.org/index.php/Unrestricted_File_Upload
漏洞說明: CWE-434: Unrestricted Upload of File with Dangerous Type
https://cwe.mitre.org/data/definitions/434.html
漏洞說明: OWASP - Unrestricted File Upload
https://www.owasp.org/index.php/Unrestricted_File_Upload
漏洞說明: CWE-434: Unrestricted Upload of File with Dangerous Type
https://cwe.mitre.org/data/definitions/434.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
http://ssrc.epage.au.edu.tw/bin/home.php
敘述
重現:
利用google hacking 發現此網站
payload:
- ssrc.epage.au.edu.tw/bin/login.php?Url=..%2Fbin%2Fcmhome.php%3F&Lang=en , 建立一個會員
- 到---Special setting---- 大頭貼嘗試上傳php (看來是不行... 那我們改上傳text.php.jpg
- 利用burpsuite攔截,將Content-Type 改成 image/jpg 和 Filename 改為 text.html
- 查看img 元素中的scr ,發現上傳成功
----------------------------我是分隔線-------------------------------------------------
接下來就是儲存型XSS,查看元素可以進行閉合,因為只過濾html tag
所以可以嘗試輸入<script>標籤,結果...success!
</textarea><script>alert(document.cookie)</script>
-----------------------------我又是分隔線-------------------------------------------------
Please Fix The Website !!
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。