Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2018-01449
- Vendor: 國立中山大學
- Title: 國立中山大學 Unrestricted File Upload & Stored Cross-Site Scripting
- Introduction: Unrestricted File Upload
處理狀態
目前狀態
公開
Last Update : 2018/11/24
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2018/09/23 17:12:49 : 新提交 (由 Noth 更新此狀態)
- 2018/09/23 22:54:04 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/09/25 11:50:37 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/09/25 11:50:38 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/11/23 03:00:19 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2018/11/23 16:55:46 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/11/23 17:03:01 : 確認已修補 (由 Noth 更新此狀態)
- 2018/11/24 03:00:04 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2018-01449
- 通報者: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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
c64.nsysu.edu.tw/bin/cmhome.php
敘述
重現:
利用google hacking 發現此網站
payload:
Unrestricted File Upload
- c64.nsysu.edu.tw/bin/cmhome.php (建立會員)
- 在個人資料設定,上傳html
- 利用burpsuite攔截,Content-Type 改成 image/jpg
- 查看img元素裡面的src可上傳html
- http://c64.nsysu.edu.tw/ezfiles/210/1210/mem/cm_28697_6853316_93070.html
Stored Cross-Site Scripting
個簽可以查看元素,</textarea><script>alert(document.cookie)</script>/
修補建議
光是過濾html tag 是不夠的,必須也要過濾<script></script>
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。