Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2018-01450
- Vendor: 國立清華大學
- Title: 國立清華大學 光電研究中心 Unrestricted File Upload & Stored Cross-Site Scripting
- Introduction: Unrestricted File Upload
處理狀態
目前狀態
公開
Last Update : 2018/11/11
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2018/09/23 19:44:02 : 新提交 (由 Noth 更新此狀態)
- 2018/09/23 22:53:54 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/09/25 11:47:22 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/09/25 11:47:23 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/10/25 23:35:48 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/10/27 14:53:50 : 未修補完成 (由 Noth 更新此狀態)
- 2018/10/31 19:36:55 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2018/11/03 10:59:14 : 未修補完成 (由 Noth 更新此狀態)
- 2018/11/07 23:34:10 : 確認已修補 (由 Noth 更新此狀態)
- 2018/11/11 03:00:17 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2018-01450
- 通報者: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://thoric.web.nthu.edu.tw/bin/cmhome.php
敘述
重現:
利用google hacking 找到此網站
http://thoric.web.nthu.edu.tw/bin/cmhome.php
payload:
Unrestricted File Upload
- http://thoric.web.nthu.edu.tw/bin/cmhome.php , 建立一個會員
- 點選[個性設定]上傳夾帶<script>標籤的html
- 利用burpsuite 攔截,Content-Type 改成 image/jpg
- 查看img元素裡的src,成功上傳
Stored Cross-Site Scripting
</textarea><script>alert("XSS")</script>/
修補建議
光是過濾html tag 是不夠的,還需要過濾<script></script>
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。