大同大學 Unrestricted File Upload & Stored XSS - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2018-01484
  •  發信 Vendor: TACERT台灣學術網路危機處理中心
  • Title: 大同大學 Unrestricted File Upload & Stored XSS
  • Introduction: Unrestricted File Upload

處理狀態

目前狀態

公開
Last Update : 2018/11/29
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2018/09/29 17:54:54 : 新提交 (由 Noth 更新此狀態)
  • 2018/09/29 18:26:41 : 新提交 (由 Noth 更新此狀態)
  • 2018/09/29 22:44:17 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/09/30 22:46:46 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/09/30 22:46:46 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/11/29 03:00:04 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2018-01484
  • 通報者: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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

b041.ttu.edu.tw/bin/cmhome.php?Mod=chgpass

敘述

重現:

google hacking 找到此網站

payload:

b041.ttu.edu.tw/bin/cmhome.php?Mod=chgpass
1. 創立會員
2. 大頭貼上傳夾帶<script>的html
3. 利用burpsuite 攔截,Content-Type 改成 image.jpg ,Filename改為text.html
4. 觀察Src,可以上傳html

個性簽名,可以插入javascript,執行<script>
</textarea><script>alert(/XSS/)</script>

擷圖

留言討論

聯絡組織

 發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。
;