裕融企業 股份有限公司網頁任意檔案下載 - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2018-00724
  •  發信 Vendor: 裕融企業股份有限公司
  • Title: 裕融企業 股份有限公司網頁任意檔案下載
  • Introduction: 任意檔案下載

處理狀態

目前狀態

公開
Last Update : 2018/07/22
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 未複測
  • 公開

處理歷程

  • 2018/05/19 23:03:31 : 新提交 (由 The0 更新此狀態)
  • 2018/05/20 13:06:09 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/05/20 14:36:51 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/05/20 14:36:51 : 通報未回應 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/05/22 20:26:56 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/07/19 03:00:10 : 公開 (由 HITCON ZeroDay 平台自動更新)
  • 2018/07/19 17:25:34 : 複測申請中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2018/07/22 00:05:38 : 未修補完成 (由 The0 更新此狀態)
  • 2018/07/22 03:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2018-00724
  • 通報者:theoklein (The0)
  • 風險:中
  • 類型:任意檔案下載 (Arbitrary File Download)

參考資料

攻擊者可經由該漏洞取得後端系統中的任意資料(包含主機之敏感檔案)。

OWASP Top 10 - 2017 A5 - Broken Access Control
https://www.owasp.org/index.php/Top_10-2017_A5-Broken_Access_Control

OWASP Top 10 - 2013 A4 - Insecure Direct Object References
https://www.owasp.org/index.php/Top_10_2013-A4-Insecure_Direct_Object_References

CWE-284: Improper Access Control
https://cwe.mitre.org/data/definitions/284.html

OWASP - Path Traversal 及防禦方式
https://www.owasp.org/index.php/Path_Traversal

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
https://cwe.mitre.org/data/definitions/22.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

https://www.tac.com.tw/adm/m_leader/file/down.php?file_name=report120180122090657.pdf

敘述

下載頁面的 down.php 存在任意下載的漏洞,file_name 可任意更改,絕對路徑以及相對路徑都無過濾,閱讀程式碼以後可以找到存有資料庫帳號密碼以及其他設定值的 set_config.php 如附圖:

圖片

修補建議

- 過濾下載檔案的參數僅允許訪問特定目錄甚至特定檔案
- 過濾可能的相對路徑

擷圖

留言討論

聯絡組織

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